diff --git a/dom.bs b/dom.bs index c550d604..8a731428 100644 --- a/dom.bs +++ b/dom.bs @@ -1405,15 +1405,21 @@ for discussion).
If event's {{Event/bubbles}} attribute is true, then for each - struct in event's path: +
For each struct in event's path:
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/BUBBLING_PHASE}}. +
Otherwise: + +
If event's {{Event/bubbles}} attribute is false, then + continue. + +
Set event's {{Event/eventPhase}} attribute to {{Event/BUBBLING_PHASE}}. +
Invoke with struct, event, "bubbling
", and
legacyOutputDidListenersThrowFlag if given.