diff --git a/dom.bs b/dom.bs index 8520d54a..af1a4018 100644 --- a/dom.bs +++ b/dom.bs @@ -148,7 +148,7 @@ first following sibling or null if it has no
  • Let tokens be a new ordered set. -

  • For each token in inputTokens, append +

  • For each token of inputTokens, append token to tokens.

  • Return tokens. @@ -896,7 +896,7 @@ correct defaults.

    relative high resolution coarse time given time and event's relevant global object. -
  • For each membervalue in dictionary, if +

  • For each membervalue of dictionary, if event has an attribute whose identifier is member, then initialize that attribute to value. @@ -1307,6 +1307,8 @@ property of the event being dispatched.

  • Let relatedTarget be the result of retargeting event's relatedTarget against target. +

  • Let clearTargets be false. +

  • If target is not relatedTarget or target is event's relatedTarget: @@ -1407,18 +1409,17 @@ property of the event being dispatched.

  • Let clearTargetsStruct be the last struct in event's path whose shadow-adjusted target is non-null. -

  • Let clearTargets be true if clearTargetsStruct's - shadow-adjusted target, clearTargetsStruct's - relatedTarget, or an {{EventTarget}} object in - clearTargetsStruct's touch target list is a node - and its root is a shadow root; otherwise false. +

  • If clearTargetsStruct's shadow-adjusted target, + clearTargetsStruct's relatedTarget, or an {{EventTarget}} object + in clearTargetsStruct's touch target list is a node + whose root is a shadow root: set clearTargets to true.

  • 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 +

    For each struct of event's path, in reverse order:

      @@ -1433,7 +1434,7 @@ property of the event being dispatched.
  • -

    For each struct in event's path: +

    For each struct of event's path:

    1. If struct's shadow-adjusted target is non-null, then @@ -1593,7 +1594,7 @@ and an optional legacyOutputDidListenersThrowFlag, run these steps:

    2. Let found be false.

    3. -

      For each listener in listeners, whose +

      For each listener of listeners, whose removed is false:

        @@ -4812,7 +4813,7 @@ steps are:
        1. -

          For each attr in node2's +

          For each attr of node2's attribute list:

            @@ -7381,7 +7382,7 @@ steps:
          1. If this {{NamedNodeMap}} object's element is in the HTML namespace and its node document is an HTML document, then - for each name in names: + for each name of names:

            1. Let lowercaseName be name, in ASCII lowercase. @@ -10080,7 +10081,7 @@ method steps are:

              1. -

                For each token in tokens: +

                For each token of tokens:

                1. If token is the empty string, then throw a "{{SyntaxError!!exception}}" @@ -10090,7 +10091,7 @@ method steps are: "{{InvalidCharacterError!!exception}}" {{DOMException}}.

                -
              2. For each token in tokens, append +

              3. For each token of tokens, append token to this's token set.

              4. Run the update steps. @@ -10102,7 +10103,7 @@ method steps are:

                1. -

                  For each token in tokens: +

                  For each token of tokens:

                  1. If token is the empty string, then throw a "{{SyntaxError!!exception}}" @@ -10580,6 +10581,7 @@ Sergey G. Grekhov, Shiki Okasaka, Shinya Kawanaka, Simon Pieters, +Simon Wülker, Stef Busking, Steve Byrne, Stig Halvorsen,