@@ -1376,14 +1376,14 @@ for discussion).
1376
1376
<li><p> Set <var> slot-in-closed-tree</var> to false.
1377
1377
</ol>
1378
1378
1379
- <li><p> Let <var> clearTargetsTuple </var> be the last tuple in <var> event</var> 's
1379
+ <li><p> Let <var> clearTargetsStruct </var> be the last struct in <var> event</var> 's
1380
1380
<a for=Event>path</a> whose <a for=Event/path>target</a> is non-null.
1381
1381
1382
- <li><p> Let <var> clearTargets</var> be true if <var> clearTargetsTuple </var> 's
1383
- <a for=Event/path>target</a> , <var> clearTargetsTuple </var> 's <a for=Event/path>relatedTarget</a> ,
1384
- or an {{EventTarget}} object in <var> clearTargetsTuple </var> 's
1385
- <a for=Event/path>touch target list</a> is a <a for=/>node</a> and its <a for=tree>root</a> is a
1386
- <a for=/>shadow root</a> , and false otherwise.
1382
+ <li><p> Let <var> clearTargets</var> be true if <var> clearTargetsStruct </var> 's
1383
+ <a for=Event/path>target</a> , <var> clearTargetsStruct </var> 's
1384
+ <a for=Event/path>relatedTarget</a> , or an {{EventTarget}} object in
1385
+ <var> clearTargetsStruct </var> 's < a for=Event/path>touch target list</a> is a <a for=/>node</a>
1386
+ and its <a for=tree>root</a> is a <a for=/>shadow root</a> , and false otherwise.
1387
1387
1388
1388
<li><p> Set <var> event</var> 's {{Event/eventPhase}} attribute to {{Event/CAPTURING_PHASE}} .
1389
1389
@@ -1392,18 +1392,18 @@ for discussion).
1392
1392
<a for=EventTarget>legacy-pre-activation behavior</a> .
1393
1393
1394
1394
<li>
1395
- <p> For each <var> tuple </var> in <var> event</var> 's <a for=Event>path</a> , in reverse order:
1395
+ <p> For each <var> struct </var> in <var> event</var> 's <a for=Event>path</a> , in reverse order:
1396
1396
1397
1397
<ol>
1398
- <li><p> If <var> tuple </var> 's <a for=Event/path>target</a> is null, then <a>invoke</a> with
1399
- <var> tuple </var> , <var> event</var> , and <var> legacyOutputDidListenersThrowFlag</var> if given.
1398
+ <li><p> If <var> struct </var> 's <a for=Event/path>target</a> is null, then <a>invoke</a> with
1399
+ <var> struct </var> , <var> event</var> , and <var> legacyOutputDidListenersThrowFlag</var> if given.
1400
1400
</ol>
1401
1401
1402
1402
<li>
1403
- <p> For each <var> tuple </var> in <var> event</var> 's <a for=Event>path</a> , in order:
1403
+ <p> For each <var> struct </var> in <var> event</var> 's <a for=Event>path</a> , in order:
1404
1404
1405
1405
<ol>
1406
- <li><p> If <var> tuple </var> 's <a for=Event/path>target</a> is non-null, then set
1406
+ <li><p> If <var> struct </var> 's <a for=Event/path>target</a> is non-null, then set
1407
1407
<var> event</var> 's {{Event/eventPhase}} attribute to {{Event/AT_TARGET}} .
1408
1408
1409
1409
<li><p> Otherwise, set <var> event</var> 's {{Event/eventPhase}} attribute to
@@ -1412,7 +1412,7 @@ for discussion).
1412
1412
<li><p> If either <var> event</var> 's {{Event/eventPhase}} attribute is {{Event/BUBBLING_PHASE}}
1413
1413
and <var> event</var> 's {{Event/bubbles}} attribute is true or <var>event</var>' s
1414
1414
{{Event/eventPhase}} attribute is {{Event/AT_TARGET}} , then <a>invoke</a> with
1415
- <var> tuple </var> , <var> event</var> , and <var> legacyOutputDidListenersThrowFlag</var> if given.
1415
+ <var> struct </var> , <var> event</var> , and <var> legacyOutputDidListenersThrowFlag</var> if given.
1416
1416
</ol>
1417
1417
</ol>
1418
1418
@@ -1475,23 +1475,23 @@ for discussion).
1475
1475
<a for=Event/path>slot-in-closed-tree</a> is <var> slot-in-closed-tree</var> .
1476
1476
</ol>
1477
1477
1478
- <p> To <dfn noexport id=concept-event-listener-invoke>invoke</dfn> , given a <var> tuple </var> ,
1478
+ <p> To <dfn noexport id=concept-event-listener-invoke>invoke</dfn> , given a <var> struct </var> ,
1479
1479
<var> event</var> , and an optional <var> legacyOutputDidListenersThrowFlag</var> , run these steps:
1480
1480
1481
1481
<ol>
1482
1482
<li><p> Set <var> event</var> 's <a for=Event>target</a> to the <a for=Event/path>target</a> of the
1483
- last tuple in <var> event</var> 's <a for=Event>path</a> , that is either <var> tuple </var> or
1484
- preceding <var> tuple </var> , whose <a for=Event/path>target</a> is non-null.
1483
+ last struct in <var> event</var> 's <a for=Event>path</a> , that is either <var> struct </var> or
1484
+ preceding <var> struct </var> , whose <a for=Event/path>target</a> is non-null.
1485
1485
1486
- <li><p> Set <var> event</var> 's <a for=Event>relatedTarget</a> to <var>tuple </var>' s
1486
+ <li><p> Set <var> event</var> 's <a for=Event>relatedTarget</a> to <var>struct </var>' s
1487
1487
<a for=Event/path>relatedTarget</a> .
1488
1488
1489
- <li><p> Set <var> event</var> 's <a for=Event>touch target list</a> to <var>tuple </var>' s
1489
+ <li><p> Set <var> event</var> 's <a for=Event>touch target list</a> to <var>struct </var>' s
1490
1490
<a for=Event/path>touch target list</a> .
1491
1491
1492
1492
<li><p> If <var> event</var> 's <a>stop propagation flag</a> is set, then return.
1493
1493
1494
- <li><p> Initialize <var> event</var> 's {{Event/currentTarget}} attribute to <var>tuple </var>' s
1494
+ <li><p> Initialize <var> event</var> 's {{Event/currentTarget}} attribute to <var>struct </var>' s
1495
1495
<a for=Event/path>item</a> .
1496
1496
1497
1497
<li>
@@ -1575,7 +1575,7 @@ for discussion).
1575
1575
<ol>
1576
1576
<li><p> Set <var> currentEvent</var> to <var> global</var> 's <a for=Window>current event</a> .
1577
1577
1578
- <li><p> If <var> tuple </var> 's <a for=Event/path>item-in-shadow-tree</a> is false, then set
1578
+ <li><p> If <var> struct </var> 's <a for=Event/path>item-in-shadow-tree</a> is false, then set
1579
1579
<var> global</var> 's <a for=Window>current event</a> to <var> event</var> .
1580
1580
</ol>
1581
1581
@@ -5751,8 +5751,9 @@ or "<code>closed</code>").</p>
5751
5751
5752
5752
<p> A <a for=/>shadow root</a> 's <a>get the parent</a> algorithm, given an <var> event</var> , returns
5753
5753
null if <var> event</var> 's <a>composed flag</a> is unset and <a for=/>shadow root</a> is the
5754
- <a for=tree>root</a> of <var> event</var> 's <a for=Event>path</a>' s first tuple's <b> item</b> , and
5755
- <a for=/>shadow root</a> 's <a for=DocumentFragment>host</a> otherwise.
5754
+ <a for=tree>root</a> of <var> event</var> 's <a for=Event>path</a>' s first struct's
5755
+ <a for=Event/path>item</a> , and <a for=/>shadow root</a> 's <a for=DocumentFragment>host</a>
5756
+ otherwise.
5756
5757
5757
5758
<p> The <dfn attribute for=ShadowRoot><code>mode</code></dfn> attribute's getter must return the
5758
5759
<a>context object</a> 's <a for=ShadowRoot>mode</a> .</p>
0 commit comments