Skip to content

Commit 54ea288

Browse files
shvaikaleshannevk
authored andcommitted
Editorial: pass invocationTargetInShadowTree to "inner invoke"
1 parent ad06a4c commit 54ea288

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

dom.bs

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1518,8 +1518,12 @@ run these steps:
15181518
<p class="note no-backref">This avoids <a>event listeners</a> added after this point from being
15191519
run. Note that removal still has an effect due to the <a for="event listener">removed</a> field.
15201520

1521+
<li><p>Let <var>invocationTargetInShadowTree</var> be <var>struct</var>'s
1522+
<a for=Event/path>invocation-target-in-shadow-tree</a>.
1523+
15211524
<li><p>Let <var>found</var> be the result of running <a>inner invoke</a> with <var>event</var>,
1522-
<var>listeners</var>, <var>phase</var>, and <var>legacyOutputDidListenersThrowFlag</var> if given.
1525+
<var>listeners</var>, <var>phase</var>, <var>invocationTargetInShadowTree</var>, and
1526+
<var>legacyOutputDidListenersThrowFlag</var> if given.
15231527

15241528
<li>
15251529
<p>If <var>found</var> is false and <var>event</var>'s {{Event/isTrusted}} attribute is true,
@@ -1543,16 +1547,17 @@ run these steps:
15431547
<tr><td>"<code>transitionend</code>"<td>"<code>webkitTransitionEnd</code>"
15441548
</table>
15451549

1546-
<li><p><a>Inner invoke</a> with <var>event</var>, <var>listeners</var>, <var>phase</var>, and
1547-
<var>legacyOutputDidListenersThrowFlag</var> if given.
1550+
<li><p><a>Inner invoke</a> with <var>event</var>, <var>listeners</var>, <var>phase</var>,
1551+
<var>invocationTargetInShadowTree</var>, and <var>legacyOutputDidListenersThrowFlag</var>
1552+
if given.
15481553

15491554
<li><p>Set <var>event</var>'s {{Event/type}} attribute value to <var>originalEventType</var>.
15501555
</ol>
15511556
</ol>
15521557

15531558
<p>To <dfn noexport id=concept-event-listener-inner-invoke>inner invoke</dfn>, given an
1554-
<var>event</var>, <var>listeners</var>, <var>phase</var>, and an optional
1555-
<var>legacyOutputDidListenersThrowFlag</var>, run these steps:
1559+
<var>event</var>, <var>listeners</var>, <var>phase</var>, <var>invocationTargetInShadowTree</var>,
1560+
and an optional <var>legacyOutputDidListenersThrowFlag</var>, run these steps:
15561561

15571562
<ol>
15581563
<li><p>Let <var>found</var> be false.
@@ -1590,8 +1595,8 @@ run these steps:
15901595
<ol>
15911596
<li><p>Set <var>currentEvent</var> to <var>global</var>'s <a for=Window>current event</a>.
15921597

1593-
<li><p>If <var>struct</var>'s <a for=Event/path>invocation-target-in-shadow-tree</a> is false,
1594-
then set <var>global</var>'s <a for=Window>current event</a> to <var>event</var>.
1598+
<li><p>If <var>invocationTargetInShadowTree</var> is false, then set <var>global</var>'s
1599+
<a for=Window>current event</a> to <var>event</var>.
15951600
</ol>
15961601

15971602
<li><p>If <var>listener</var>'s <a for="event listener">passive</a> is true, then set

0 commit comments

Comments
 (0)