From 20ee86093850ecd6fb2f57d44789d19e65e39cfd 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. @@ -1305,6 +1305,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: @@ -1405,18 +1407,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 @@ -1591,7 +1592,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. @@ -10050,7 +10051,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}}" @@ -10060,7 +10061,7 @@ method steps are: "{{InvalidCharacterError!!exception}}" {{DOMException}}.
Run the update steps. @@ -10072,7 +10073,7 @@ method steps are: