From 0b1ca076fb780ce3b87cef1ae2699ed606237e55 Mon Sep 17 00:00:00 2001
From: Anne van Kesteren Let tokens be a new ordered set.
-
For each member → value in dictionary, if +
For each member → value 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:
For each struct in event's path: +
For each struct of event's path:
If struct's shadow-adjusted target is non-null, then @@ -1593,7 +1594,7 @@ and an optional legacyOutputDidListenersThrowFlag, run these steps:
Let found be false.
For each listener in listeners, whose +
For each listener of listeners, whose removed is false:
For each attr in node2's +
For each attr of node2's attribute list:
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:
Let lowercaseName be name, in ASCII lowercase. @@ -10080,7 +10081,7 @@ method steps are:
For each token in tokens: +
For each token of tokens:
If token is the empty string, then throw a "{{SyntaxError!!exception}}" @@ -10090,7 +10091,7 @@ method steps are: "{{InvalidCharacterError!!exception}}" {{DOMException}}.
Run the update steps. @@ -10102,7 +10103,7 @@ method steps are: