@@ -13921,8 +13921,9 @@ interface <dfn>HTMLLinkElement</dfn> : <span>HTMLElement</span> {
13921
13921
be fetched and processed, with the expectation that this will be done correctly.</p>
13922
13922
</li>
13923
13923
13924
- <li><span>Queue a task</span> on the <span>networking task source</span> to <span>process the
13925
- linked resource</span> given <var>el</var>, <var>success</var>, and <var>response</var>.</li>
13924
+ <li><span>Queue an element task</span> on the <span>networking task source</span> given
13925
+ <var>el</var> to <span>process the linked resource</span> given <var>el</var>,
13926
+ <var>success</var>, and <var>response</var>.</li>
13926
13927
</ol>
13927
13928
</li>
13928
13929
@@ -15374,7 +15375,8 @@ interface <dfn>HTMLStyleElement</dfn> : <span>HTMLElement</span> {
15374
15375
</li>
15375
15376
15376
15377
<li>
15377
- <p><span>Queue a task</span> on the <span>networking task source</span> to run these steps:</p>
15378
+ <p><span>Queue an element task</span> on the <span>networking task source</span> given
15379
+ <var>element</var> and the following steps:</p>
15378
15380
15379
15381
<ol>
15380
15382
<li><p>If <var>success</var> is true, <span data-x="concept-event-fire">fire an event</span>
@@ -28285,10 +28287,18 @@ was an English <a href="/wiki/Music_hall">music hall</a> singer, ...</code
28285
28287
28286
28288
<li><p>⌛ Set <span>pending request</span> to null.</p></li>
28287
28289
28288
- <li><p>⌛ <span>Queue a task</span> to change the <span>current request</span>'s <span
28289
- data-x="img-req-url">current URL</span> to <var>selected source</var>, <span
28290
- data-x="concept-event-fire">fire an event</span> named <code data-x="event-error">error</code>
28291
- at the <code>img</code> element.</p></li>
28290
+ <li>
28291
+ <p>⌛ <span>Queue an element task</span> on the <span>DOM manipulation task
28292
+ source</span> given the <code>img</code> element and the following steps:</p>
28293
+
28294
+ <ol>
28295
+ <li><p>Change the <span>current request</span>'s <span data-x="img-req-url">current
28296
+ URL</span> to <var>selected source</var>.</p></li>
28297
+
28298
+ <li><p><span data-x="concept-event-fire">Fire an event</span> named <code
28299
+ data-x="event-error">error</code> at the <code>img</code> element.</p></li>
28300
+ </ol>
28301
+ </li>
28292
28302
28293
28303
<li><p>⌛ Return.</p></li>
28294
28304
</ol>
@@ -29177,7 +29187,8 @@ was an English <a href="/wiki/Music_hall">music hall</a> singer, ...</code
29177
29187
29178
29188
<li>
29179
29189
29180
- <p><span>Queue a task</span> to run these steps:</p>
29190
+ <p><span>Queue an element task</span> on the <span>DOM manipulation task source</span> given
29191
+ the <code>img</code> element and the following steps:</p>
29181
29192
29182
29193
<ol>
29183
29194
@@ -30410,10 +30421,8 @@ interface <dfn>HTMLIFrameElement</dfn> : <span>HTMLElement</span> {
30410
30421
30411
30422
<dd>
30412
30423
30413
- <p><span>Queue a task</span> to run the <span>iframe load event steps</span>.</p>
30414
-
30415
- <p>The <span>task source</span> for this <span data-x="concept-task">task</span> is the
30416
- <span>DOM manipulation task source</span>.</p>
30424
+ <p><span>Queue an element task</span> on the <span>DOM manipulation task source</span> given
30425
+ the <code>iframe</code> element and the <span>iframe load event steps</span>.</p>
30417
30426
30418
30427
</dd>
30419
30428
@@ -33538,9 +33547,10 @@ interface <dfn>MediaError</dfn> {
33538
33547
33539
33548
<ol>
33540
33549
33541
- <li><p><span>Queue a task</span> to <span data-x="concept-event-fire">fire an event</span>
33542
- named <code data-x="event-media-emptied">emptied</code> at the <span>media
33543
- element</span>.</p></li>
33550
+ <li><p><span>Queue an element task</span> on the <span>media element event task source</span>
33551
+ given the <span>media element</span> to <span
33552
+ data-x="concept-event-fire">fire an event</span> named <code
33553
+ data-x="event-media-emptied">emptied</code> at the <span>media element</span>.</p></li>
33544
33554
33545
33555
<li><p>If a fetching process is in progress for the <span>media
33546
33556
element</span>, the user agent should stop it.</p></li>
@@ -33689,9 +33699,10 @@ interface <dfn>MediaError</dfn> {
33689
33699
data-x="dom-media-networkState">networkState</code> to <code
33690
33700
data-x="dom-media-NETWORK_LOADING">NETWORK_LOADING</code>.</p></li>
33691
33701
33692
- <li><p>⌛ <span>Queue a task</span> to <span data-x="concept-event-fire">fire an
33693
- event</span> named <code data-x="event-media-loadstart">loadstart</code> at the <span>media
33694
- element</span>.</p></li>
33702
+ <li><p>⌛ <span>Queue an element task</span> on the <span>media element event task
33703
+ source</span> given the <span>media element</span> to <span
33704
+ data-x="concept-event-fire">fire an event</span> named <code
33705
+ data-x="event-media-loadstart">loadstart</code> at the <span>media element</span>.</p></li>
33695
33706
33696
33707
<li>
33697
33708
@@ -33848,9 +33859,10 @@ interface <dfn>MediaError</dfn> {
33848
33859
with <var>urlRecord</var>. If that algorithm returns without aborting <em>this</em> one,
33849
33860
then the load failed.</p></li>
33850
33861
33851
- <li><p><i>Failed with elements</i>: <span>Queue a task</span> to <span
33862
+ <li><p><i>Failed with elements</i>: <span>Queue an element task</span> on the <span>media
33863
+ element event task source</span> given <var>candidate</var> to <span
33852
33864
data-x="concept-event-fire">fire an event</span> named <code
33853
- data-x="event-source-error">error</code> at the <var>candidate</var> element .</p></li>
33865
+ data-x="event-source-error">error</code> at <var>candidate</var>.</p></li>
33854
33866
33855
33867
<li><p><span>Await a stable state</span>. The <span>synchronous section</span>
33856
33868
consists of all the remaining steps of this algorithm until the algorithm says the
@@ -33881,7 +33893,8 @@ interface <dfn>MediaError</dfn> {
33881
33893
33882
33894
<li><p>⌛ Set the element's <span>show poster flag</span> to true.</p></li>
33883
33895
33884
- <li><p>⌛ <span>Queue a task</span> to set the element's <span>delaying-the-load-event
33896
+ <li><p>⌛ <span>Queue an element task</span> on the <span>media element event task
33897
+ source</span> given the element to set the element's <span>delaying-the-load-event
33885
33898
flag</span> to false. This stops <span data-x="delay the load event">delaying the load
33886
33899
event</span>.</p></li>
33887
33900
@@ -33988,11 +34001,13 @@ interface <dfn>MediaError</dfn> {
33988
34001
<li><p>Set the <code data-x="dom-media-networkState">networkState</code> to <code
33989
34002
data-x="dom-media-NETWORK_IDLE">NETWORK_IDLE</code>.</p></li>
33990
34003
33991
- <li><p><span>Queue a task</span> to <span data-x="concept-event-fire">fire an event</span>
34004
+ <li><p><span>Queue an element task</span> on the <span>media element event task
34005
+ source</span> given the element to <span data-x="concept-event-fire">fire an event</span>
33992
34006
named <code data-x="event-media-suspend">suspend</code> at the element.</p></li>
33993
34007
33994
- <li><p><span>Queue a task</span> to set the element's <span>delaying-the-load-event flag</span>
33995
- to false. This stops <span data-x="delay the load event">delaying the load
34008
+ <li><p><span>Queue an element task</span> on the <span>media element event task
34009
+ source</span> given the element to set the element's <span>delaying-the-load-event
34010
+ flag</span> to false. This stops <span data-x="delay the load event">delaying the load
33996
34011
event</span>.</p></li>
33997
34012
33998
34013
<li><p>Wait for the task to be run.</p></li>
@@ -35075,8 +35090,9 @@ interface <dfn>MediaError</dfn> {
35075
35090
35076
35091
<dd id="fire-loadedmetadata">
35077
35092
35078
- <p><span>Queue a task</span> to <span data-x="concept-event-fire">fire an event</span> named
35079
- <code data-x="event-media-loadedmetadata">loadedmetadata</code> at the element.</p>
35093
+ <p><span>Queue an element task</span> on the <span>media element event task source</span>
35094
+ given the element to <span data-x="concept-event-fire">fire an event</span> named <code
35095
+ data-x="event-media-loadedmetadata">loadedmetadata</code> at the element.</p>
35080
35096
35081
35097
<p class="note">Before this task is run, as part of the <span>event loop</span> mechanism, the
35082
35098
rendering will have been updated to resize the <code>video</code> element if appropriate.</p>
@@ -35171,8 +35187,9 @@ interface <dfn>MediaError</dfn> {
35171
35187
<li>If the element's <span>show poster flag</span> is true, set it to false and run the
35172
35188
<i data-x="time marches on">time marches on</i> steps.</li>
35173
35189
35174
- <li><span>Queue a task</span> to <span data-x="concept-event-fire">fire an event</span> named
35175
- <code data-x="event-media-play">play</code> at the element.</li>
35190
+ <li><span>Queue an element task</span> on the <span>media element event task source</span>
35191
+ given the element to <span data-x="concept-event-fire">fire an event</span> named <code
35192
+ data-x="event-media-play">play</code> at the element.</li>
35176
35193
35177
35194
<li><span>Notify about playing</span> for the element.</li>
35178
35195
@@ -35196,8 +35213,9 @@ interface <dfn>MediaError</dfn> {
35196
35213
<li>Run the <span>internal pause steps</span> and set the <span>can autoplay flag</span> to
35197
35214
true.</li>
35198
35215
35199
- <li><span>Queue a task</span> to <span data-x="concept-event-fire">fire an event</span> named
35200
- <code data-x="event-media-pause">pause</code> at the element.</li>
35216
+ <li><span>Queue an element task</span> on the <span>media element event task source</span>
35217
+ given the element to <span data-x="concept-event-fire">fire an event</span> named <code
35218
+ data-x="event-media-pause">pause</code> at the element.</li>
35201
35219
35202
35220
</ol>
35203
35221
@@ -35477,7 +35495,8 @@ interface <dfn>MediaError</dfn> {
35477
35495
35478
35496
<li>
35479
35497
35480
- <p><span>Queue a task</span> to run these steps:</p>
35498
+ <p><span>Queue an element task</span> on the <span>media element event task source</span> given
35499
+ the <span>media element</span> and the following steps:</p>
35481
35500
35482
35501
<ol>
35483
35502
@@ -35609,7 +35628,8 @@ interface <dfn>MediaError</dfn> {
35609
35628
35610
35629
<li>
35611
35630
35612
- <p><span>Queue a task</span> to run these steps:</p>
35631
+ <p><span>Queue an element task</span> on the <span>media element event task source</span>
35632
+ give the element and the following steps:</p>
35613
35633
35614
35634
<ol>
35615
35635
@@ -35687,8 +35707,9 @@ interface <dfn>MediaError</dfn> {
35687
35707
<li><p>If the <span>show poster flag</span> is true, set the element's <span>show poster
35688
35708
flag</span> to false and run the <i data-x="time marches on">time marches on</i> steps.</p></li>
35689
35709
35690
- <li><p><span>Queue a task</span> to <span data-x="concept-event-fire">fire an event</span>
35691
- named <code data-x="event-media-play">play</code> at the element.</p></li>
35710
+ <li><p><span>Queue an element task</span> on the <span>media element event task source</span>
35711
+ given the element to <span data-x="concept-event-fire">fire an event</span> named <code
35712
+ data-x="event-media-play">play</code> at the element.</p></li>
35692
35713
35693
35714
<li>
35694
35715
@@ -35765,7 +35786,8 @@ interface <dfn>MediaError</dfn> {
35765
35786
35766
35787
<li>
35767
35788
35768
- <p><span>Queue a task</span> to run these steps:</p>
35789
+ <p><span>Queue an element task</span> on the <span>media element event task source</span>
35790
+ given the element and the following steps:</p>
35769
35791
35770
35792
<ol>
35771
35793
@@ -36167,8 +36189,9 @@ interface <dfn>MediaError</dfn> {
36167
36189
36168
36190
</li>
36169
36191
36170
- <li><p><span>Queue a task</span> to <span data-x="concept-event-fire">fire an event</span> named
36171
- <code data-x="event-media-seeking">seeking</code> at the element.</p></li>
36192
+ <li><p><span>Queue an element task</span> on the <span>media element event task source</span>
36193
+ given the element to <span data-x="concept-event-fire">fire an event</span> named <code
36194
+ data-x="event-media-seeking">seeking</code> at the element.</p></li>
36172
36195
36173
36196
<li>
36174
36197
@@ -36207,12 +36230,13 @@ interface <dfn>MediaError</dfn> {
36207
36230
36208
36231
<li><p>⌛ Run the <span>time marches on</span> steps.</p></li>
36209
36232
36210
- <li id="seekUpdate"><p>⌛ <span>Queue a task</span> to <span
36211
- data-x="concept-event-fire">fire an event</span> named <code
36212
- data-x="event-media-timeupdate">timeupdate</code> at the element.</p></li>
36233
+ <li id="seekUpdate"><p>⌛ <span>Queue an element task</span> on the <span>media element
36234
+ event task source</span> given the element to <span data-x="concept-event-fire">fire an
36235
+ event</span> named <code data-x="event-media-timeupdate">timeupdate</code> at the element.</p></li>
36213
36236
36214
- <li><p>⌛ <span>Queue a task</span> to <span data-x="concept-event-fire">fire an
36215
- event</span> named <code data-x="event-media-seeked">seeked</code> at the element.</p></li>
36237
+ <li><p>⌛ <span>Queue an element task</span> on the <span>media element event task
36238
+ source</span> given the element to <span data-x="concept-event-fire">fire an event</span> named
36239
+ <code data-x="event-media-seeked">seeked</code> at the element.</p></li>
36216
36240
36217
36241
</ol>
36218
36242
@@ -36987,7 +37011,8 @@ interface <dfn>VideoTrack</dfn> {
36987
37011
36988
37012
<li>
36989
37013
36990
- <p><span>Queue a task</span> to run these steps:</p>
37014
+ <p><span>Queue an element task</span> on the <span>media element event task source</span>
37015
+ given the <span>media element</span> to run these steps:</p>
36991
37016
36992
37017
<ol>
36993
37018
@@ -37872,7 +37897,8 @@ interface <dfn>TextTrack</dfn> : <span>EventTarget</span> {
37872
37897
37873
37898
<li>
37874
37899
37875
- <p><span>Queue a task</span> to <span data-x="concept-event-fire">fire an event</span> named
37900
+ <p><span>Queue an element task</span> on the <span>media element event task source</span> given
37901
+ the <span>media element</span> to <span data-x="concept-event-fire">fire an event</span> named
37876
37902
<code data-x="event-media-addtrack">addtrack</code> at the <span>media element</span>'s <code
37877
37903
data-x="dom-media-textTracks">textTracks</code> attribute's <code>TextTrackList</code> object,
37878
37904
using <code>TrackEvent</code>, with the <code data-x="dom-TrackEvent-track">track</code>
@@ -46119,8 +46145,9 @@ interface <dfn>HTMLInputElement</dfn> : <span>HTMLElement</span> {
46119
46145
"<code data-x="attr-dir-rtl">rtl</code>" if the user selected a right-to-left writing
46120
46146
direction.</p></li>
46121
46147
46122
- <li><p><span>Queue a task</span> to <span data-x="concept-event-fire">fire an event</span> named
46123
- <code data-x="event-input">input</code> at the <code>input</code> element, with the <code
46148
+ <li><p><span>Queue an element task</span> on the <span>user interaction task source</span> given
46149
+ the element to <span data-x="concept-event-fire">fire an event</span> named <code
46150
+ data-x="event-input">input</code> at the element, with the <code
46124
46151
data-x="dom-Event-bubbles">bubbles</code> attribute initialized to true.</p></li>
46125
46152
46126
46153
</ol>
@@ -48416,14 +48443,22 @@ ldh-str = < as defined in <a href="https://tools.ietf.org/html/rfc1034#
48416
48443
48417
48444
<li><p>Wait for the user to have made their selection.</p></li>
48418
48445
48419
- <li><p><span>Queue a task</span> to first update the element's <span
48420
- data-x="concept-input-type-file-selected">selected files</span> so that it represents the
48421
- user's selection, then <span data-x="concept-event-fire">fire an event</span> named <code
48422
- data-x="event-input">input</code> at the <code>input</code> element, with the <code
48423
- data-x="dom-Event-bubbles">bubbles</code> attribute initialized to true, and finally <span
48424
- data-x="concept-event-fire">fire an event</span> named <code
48425
- data-x="event-change">change</code> at the <code>input</code> element, with the <code
48426
- data-x="dom-Event-bubbles">bubbles</code> attribute initialized to true.</p></li>
48446
+ <li>
48447
+ <p><span>Queue an element task</span> on the <span>user interaction task source</span> given
48448
+ the <code>input</code> element and the folllowing steps:</p>
48449
+
48450
+ <ol>
48451
+ <li><p>Update the element's <span data-x="concept-input-type-file-selected">selected
48452
+ files</span> so that it represents the user's selection.</p></li>
48453
+
48454
+ <li><p><span data-x="concept-event-fire">Fire an event</span> named <code
48455
+ data-x="event-input">input</code> at the <code>input</code> element, with the <code
48456
+ data-x="dom-Event-bubbles">bubbles</code> attribute initialized to true, and finally <span
48457
+ data-x="concept-event-fire">fire an event</span> named <code
48458
+ data-x="event-change">change</code> at the <code>input</code> element, with the <code
48459
+ data-x="dom-Event-bubbles">bubbles</code> attribute initialized to true.</p></li>
48460
+ </ol>
48461
+ </li>
48427
48462
</ol>
48428
48463
</li>
48429
48464
</ol>
@@ -51924,7 +51959,8 @@ interface <dfn>HTMLTextAreaElement</dfn> : <span>HTMLElement</span> {
51924
51959
"<code data-x="attr-dir-rtl">rtl</code>" if the user selected a right-to-left writing
51925
51960
direction.</p></li>
51926
51961
51927
- <li><p><span>Queue a task</span> to <span data-x="concept-event-fire">fire an event</span> named
51962
+ <li><p><span>Queue an element task</span> on the <span>user interaction task source</span> given
51963
+ the <code>textarea</code> element to <span data-x="concept-event-fire">fire an event</span> named
51928
51964
<code data-x="event-input">input</code> at the <code>textarea</code> element, with the <code
51929
51965
data-x="dom-Event-bubbles">bubbles</code> attribute initialized to true.</p></li>
51930
51966
@@ -57012,12 +57048,12 @@ fur
57012
57048
57013
57049
<li>
57014
57050
57015
- <p>Let the <code>form</code>'s < span>planned navigation</ span> be a new < span
57016
- data-x="concept-task">task</span> that consists of running the following steps:</p>
57051
+ <p><span>Queue an element task</ span> on the < span>DOM manipulation task source</ span> given
57052
+ the <code>form</code> element and the following steps:</p>
57017
57053
57018
57054
<ol>
57019
57055
57020
- <li><p>Let the <code>form</code>'s <span>planned navigation</span> be null.</p></li>
57056
+ <li><p>Set the <code>form</code>'s <span>planned navigation</span> to null.</p></li>
57021
57057
57022
57058
<li><p><span>Navigate</span><!--DONAV form--> <var>target browsing context</var> to
57023
57059
<var>destination</var>. If <var>replace</var> is true, then <var>target browsing
@@ -57027,20 +57063,12 @@ fur
57027
57063
57028
57064
<p>For the purposes of this task, <var>target browsing context</var> and <var>replace</var> are the variables that were set up when the overall form submission
57029
57065
algorithm was run, with their values as they stood when this <span>planned navigation</span>
57030
- was <span data-x="queue a task">queued</span>.</p>
57031
-
57032
- </li>
57033
-
57034
- <li>
57035
-
57036
- <p><span data-x="queue a task">Queue the task</span> that is the <code>form</code>'s new
57037
- <span>planned navigation</span>.</p>
57038
-
57039
- <p>The <span>task source</span> for this task is the <span>DOM manipulation task
57040
- source</span>.</p>
57066
+ was <span data-x="queue an element task">queued</span>.</p>
57041
57067
57042
57068
</li>
57043
57069
57070
+ <li><p>Set the <code>form</code>'s <span>planned navigation</span> to the just-queued <span
57071
+ data-x="concept-task">task</span>.</p>
57044
57072
</ol>
57045
57073
57046
57074
<p>The behaviors are as follows:</p>
0 commit comments