diff --git a/dom.bs b/dom.bs index c148777f..e5bea48b 100644 --- a/dom.bs +++ b/dom.bs @@ -1315,22 +1315,28 @@ for discussion). clearTargetsStruct's touch target list is a node and its root is a shadow root, and false otherwise. -
Set event's {{Event/eventPhase}} attribute to {{Event/CAPTURING_PHASE}}. -
If activationTarget is non-null and activationTarget has legacy-pre-activation behavior, then run activationTarget's legacy-pre-activation behavior.
For each struct in event's path, in reverse order: +
For each struct in event's path, in + reverse order:
If struct's target is null, then invoke with - struct, event, and legacyOutputDidListenersThrowFlag if given. +
If struct's target is non-null, then set + event's {{Event/eventPhase}} attribute to {{Event/AT_TARGET}}. + +
Otherwise, set event's {{Event/eventPhase}} attribute to + {{Event/CAPTURING_PHASE}}. + +
Invoke with struct, event, "capturing
", and
+ legacyOutputDidListenersThrowFlag if given.
For each struct in event's path, in order: +
If event's {{Event/bubbles}} attribute is true, then for each + struct in event's path:
If struct's target is non-null, then set @@ -1339,10 +1345,8 @@ for discussion).
Otherwise, set event's {{Event/eventPhase}} attribute to {{Event/BUBBLING_PHASE}}. -
If either event's {{Event/eventPhase}} attribute is {{Event/BUBBLING_PHASE}} - and event's {{Event/bubbles}} attribute is true or event's - {{Event/eventPhase}} attribute is {{Event/AT_TARGET}}, then invoke with - struct, event, and legacyOutputDidListenersThrowFlag if given. +
Invoke with struct, event, "bubbling
", and
+ legacyOutputDidListenersThrowFlag if given.
To invoke, given a struct, -event, and an optional legacyOutputDidListenersThrowFlag, run these steps: +event, phase, and an optional legacyOutputDidListenersThrowFlag, +run these steps:
Set event's target to the target of the @@ -1432,7 +1437,7 @@ for discussion). run. Note that removal still has an effect due to the removed field.
Let found be the result of running inner invoke with event, - listeners, and legacyOutputDidListenersThrowFlag if given. + listeners, phase, and legacyOutputDidListenersThrowFlag if given.
If found is false and event's {{Event/isTrusted}} attribute is true, @@ -1456,7 +1461,7 @@ for discussion).
transitionend
"webkitTransitionEnd
"
- Inner invoke with event, listeners, and +
Inner invoke with event, listeners, phase, and legacyOutputDidListenersThrowFlag if given.
Set event's {{Event/type}} attribute value to originalEventType. @@ -1464,7 +1469,7 @@ for discussion).
To inner invoke, given an -event, listeners, and an optional +event, listeners, phase, and an optional legacyOutputDidListenersThrowFlag, run these steps:
Set found to true. -
If event's {{Event/eventPhase}} attribute value is {{Event/CAPTURING_PHASE}} - and listener's capture is false, then - continue. +
If phase is "capturing
" listener's
+ capture is false, then continue.
-
If event's {{Event/eventPhase}} attribute value is {{Event/BUBBLING_PHASE}} and - listener's capture is true, then - continue. +
If phase is "bubbling
" and listener's
+ capture is true, then continue.
If listener's once is true, then remove listener from event's {{Event/currentTarget}} @@ -9983,6 +9986,7 @@ Mark Miller, Martijn van der Ven, Mats Palmgren, Mounir Lamouri, +Michael Stramel, Michaelâ„¢ Smith, Mike Champion, Mike Taylor,