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:

    1. If struct's target is non-null, then set event's {{Event/eventPhase}} attribute to {{Event/AT_TARGET}}. -

    2. Otherwise, set event's {{Event/eventPhase}} attribute to - {{Event/BUBBLING_PHASE}}. +

    3. +

      Otherwise: + +

        +
      1. If event's {{Event/bubbles}} attribute is false, then + continue. + +

      2. Set event's {{Event/eventPhase}} attribute to {{Event/BUBBLING_PHASE}}. +

    4. Invoke with struct, event, "bubbling", and legacyOutputDidListenersThrowFlag if given.