summaryrefslogtreecommitdiff
path: root/dom/base/nsDocument.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-14 21:24:51 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-14 21:25:54 -0400
commitf2e872884b4a014bacc5a6be744dd7dec16afb24 (patch)
tree07b5c3969b8be3992d9442b58cf925869576e34e /dom/base/nsDocument.h
parent368c9a433edafbebef9797a8c7c1cbe281e29d95 (diff)
downloadaura-central-f2e872884b4a014bacc5a6be744dd7dec16afb24.tar.gz
Bug 1305458 - Changing -moz-appearence on hover breaks change event
* Rename nsIDOMEventTarget::PreHandleEvent to nsIDOMEventTarget::GetEventTargetParent * Add nsIDOMEventTarget::PreHandleEvent * Add EventTargetChainItem::GetFirstEventTarget * Call EventTargetChainItem::PreHandleEvent even it sets mCanHandle=false * Move form control frame focus/blur from nsGenericHTMLFormElement::GetEventTargetParent to PreHandleEvent * Move fire change event from HTMLTextAreaElement::GetEventTargetParent to PreHandleEvent * Refine nsXULElement::GetEventTargetParent * Move dispatch XUL command from nsXULElement::GetEventTargetParent to PreHandleEvent * Move fire events and set value from HTMLInputElement::GetEventTargetParent to PreHandleEvent * Add test case * Let HTMLInputElement delegate event handling to it's parent class * Refine EventTargetChain flags to reduce overheads * Refine event target chain creation * Refine assertion in EventTargetChainItem::Create Tag mcp-graveyard/UXP%1375
Diffstat (limited to 'dom/base/nsDocument.h')
-rw-r--r--dom/base/nsDocument.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/base/nsDocument.h b/dom/base/nsDocument.h
index 90e511dcb..79b7f18f4 100644
--- a/dom/base/nsDocument.h
+++ b/dom/base/nsDocument.h
@@ -810,7 +810,7 @@ public:
NS_DECL_NSIDOMDOCUMENTXBL
// nsIDOMEventTarget
- virtual nsresult PreHandleEvent(
+ virtual nsresult GetEventTargetParent(
mozilla::EventChainPreVisitor& aVisitor) override;
virtual mozilla::EventListenerManager*
GetOrCreateListenerManager() override;