@@ -2015,13 +2015,13 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
2015
2015
2016
2016
<p>When an algorithm B says to return to another algorithm A, it implies that A called B. Upon
2017
2017
returning to A, the implementation must continue from where it left off in calling B. Some
2018
- algorithms run <dfn>in parallel</dfn>; this means that the algorithm's subsequent steps are to be
2019
- run, one after another, at the same time as other logic in the specification (e.g. at the same
2020
- time as the <span>event loop</span>). This specification does not define the precise mechanism by
2021
- which this is achieved, be it time-sharing cooperative multitasking, fibers, threads, processes ,
2022
- using different hyperthreads, cores, CPUs, machines, etc. By contrast, an operation that is to run
2023
- <dfn>immediately</dfn> must interrupt the currently running task, run itself, and then resume the
2024
- previously running task.</p>
2018
+ algorithms run <dfn data-export="" >in parallel</dfn>; this means that the algorithm's subsequent
2019
+ steps are to be run, one after another, at the same time as other logic in the specification (e.g.
2020
+ at the same time as the <span>event loop</span>). This specification does not define the precise
2021
+ mechanism by which this is achieved, be it time-sharing cooperative multitasking, fibers, threads,
2022
+ processes, using different hyperthreads, cores, CPUs, machines, etc. By contrast, an operation
2023
+ that is to run <dfn>immediately</dfn> must interrupt the currently running task, run itself, and
2024
+ then resume the previously running task.</p>
2025
2025
2026
2026
</div>
2027
2027
@@ -28618,8 +28618,8 @@ interface <dfn>HTMLIFrameElement</dfn> : <span>HTMLElement</span> {
28618
28618
28619
28619
<div w-nodev>
28620
28620
<p id="fullscreen-logic">To determine whether a <code>Document</code> object <var>document</var>
28621
- is <dfn>allowed to use</dfn> the feature indicated by attribute name <var>allowattribute</var>,
28622
- run these steps:</p>
28621
+ is <dfn data-export="" >allowed to use</dfn> the feature indicated by attribute name
28622
+ <var>allowattribute</var>, run these steps:</p>
28623
28623
28624
28624
<ol>
28625
28625
<li><p>If <var>document</var> has no <span data-x="concept-document-bc">browsing context</span>,
@@ -72266,8 +72266,8 @@ END:VCARD</pre>
72266
72266
refer to the <code data-x="event-click">click</code> event that was fired by the steps above
72267
72267
leading up to this point.</p>
72268
72268
72269
- <p id="allowed-to-show-a-popup">An algorithm is <dfn>triggered by user activation</dfn> if any of
72270
- the following conditions is true:</p>
72269
+ <p id="allowed-to-show-a-popup">An algorithm is <dfn data-export="" >triggered by user
72270
+ activation</dfn> if any of the following conditions is true:</p>
72271
72271
72272
72272
<ul>
72273
72273
<li><p>The <span data-x="concept-task">task</span> in which the algorithm is running is currently
@@ -81711,9 +81711,9 @@ State: <OUTPUT NAME=I>1</OUTPUT> <INPUT VALUE="Increment" TYPE=BUTTON O
81711
81711
<!-- NAVIGATE <dfn>navigate</dfn> -->
81712
81712
<!-- For places that _call_ this, as opposed to just referring to
81713
81713
it, search for "DONAV" -->
81714
- <p>To <dfn>navigate</dfn> a browsing context <var>browsingContext</var> to a resource
81715
- <var>resource</var>, optionally with an <dfn id="exceptions-enabled"><var>exceptions enabled
81716
- flag</var></dfn>, the user agent must run these steps:</p>
81714
+ <p>To <dfn data-export="" >navigate</dfn> a browsing context <var>browsingContext</var> to a
81715
+ resource <var>resource</var>, optionally with an <dfn id="exceptions-enabled"><var>exceptions
81716
+ enabled flag</var></dfn>, the user agent must run these steps:</p>
81717
81717
81718
81718
<ol>
81719
81719
<li><p>If <var>resource</var> is a <span>URL</span>, then set <var>resource</var> to a new <span
@@ -88178,8 +88178,9 @@ dictionary <dfn>PromiseRejectionEventInit</dfn> : <span>EventInit</span> {
88178
88178
<span data-x="concept-task">task</span>'s associated <code>Document</code> or <a
88179
88179
href="#workers">worker</a>.</p>
88180
88180
88181
- <p>When a user agent is to <dfn>queue a task</dfn>, it must add the given task to one of the <span
88182
- data-x="task queue">task queues</span> of the relevant <span>event loop</span>.</p>
88181
+ <p>When a user agent is to <dfn data-export="">queue a task</dfn>, it must add the given task to
88182
+ one of the <span data-x="task queue">task queues</span> of the relevant <span>event
88183
+ loop</span>.</p>
88183
88184
88184
88185
<p>Each <span data-x="concept-task">task</span> is defined as coming from a specific <dfn>task
88185
88186
source</dfn>. All the tasks from one particular <span>task source</span> and destined to a
@@ -88393,8 +88394,9 @@ dictionary <dfn>PromiseRejectionEventInit</dfn> : <span>EventInit</span> {
88393
88394
source</span> used. Normally, the <span>task source</span> of a <span>microtask</span> is
88394
88395
irrelevant.</p>
88395
88396
88396
- <p>When a user agent is to <dfn>perform a microtask checkpoint</dfn>, if the <span>performing a
88397
- microtask checkpoint</span> flag is false, then the user agent must run the following steps:</p>
88397
+ <p>When a user agent is to <dfn data-export="">perform a microtask checkpoint</dfn>, if the
88398
+ <span>performing a microtask checkpoint</span> flag is false, then the user agent must run the
88399
+ following steps:</p>
88398
88400
88399
88401
<ol>
88400
88402
@@ -88627,8 +88629,8 @@ dictionary <dfn>PromiseRejectionEventInit</dfn> : <span>EventInit</span> {
88627
88629
88628
88630
<!--test: <a href="http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A...%3Cscript%3E%0Aw(a%3Ddocument.implementation.createDocument(null%2C%20null%2C%20null))%3B%0Aw(a.appendChild(a.createElementNS('http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml'%2C%20'html')))%3B%0Aw(b%3Da.firstChild.appendChild(a.createElementNS('http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml'%2C%20'body')))%3B%0Aw(b.test%20%3D%20w)%3B%0Aw(b.setAttribute('onclick'%2C%20'test(%22fire%3A%20%22%20%2B%20event)'))%3B%0Aw(b.onclick)%3B%0Aw(e%3Da.createEvent('Event'))%3B%0Aw(e.initEvent('click'%2C%20false%2C%20false))%3B%0Aw(b.dispatchEvent(e))%3B%0A%3C%2Fscript%3E">test</a>-->
88629
88631
88630
- <p>Many objects can have <dfn>event handlers</dfn> specified. These act as non-capture event
88631
- listeners for the object on which they are specified. <ref spec=DOM></p>
88632
+ <p>Many objects can have <dfn data-export="" >event handlers</dfn> specified. These act as
88633
+ non-capture event listeners for the object on which they are specified. <ref spec=DOM></p>
88632
88634
88633
88635
<p>An <span data-x="event handlers">event handler</span> has a name, which always starts with
88634
88636
"<code data-x="">on</code>" and is followed by the name of the event for which it is intended.</p>
@@ -88717,9 +88719,9 @@ dictionary <dfn>PromiseRejectionEventInit</dfn> : <span>EventInit</span> {
88717
88719
or object <var>T</var> implementing the <code>EventTarget</code> interface is first set
88718
88720
to a non-null value, the user agent must append an <span data-x="concept-event-listener">event
88719
88721
listener</span> to the list of <span data-x="concept-event-listener">event listeners</span>
88720
- associated with <var>T</var> with <b>type</b> set to the <dfn>event handler event type</dfn>
88721
- corresponding to <var>H</var> and <b>callback</b> set to <span>the event handler processing
88722
- algorithm</span> defined below. <ref spec=DOM></p>
88722
+ associated with <var>T</var> with <b>type</b> set to the <dfn data-export="" >event handler event
88723
+ type</dfn> corresponding to <var>H</var> and <b>callback</b> set to <span>the event handler
88724
+ processing algorithm</span> defined below. <ref spec=DOM></p>
88723
88725
88724
88726
<p class="note">The <b>callback</b> is emphatically <em>not</em> the <span data-x="event
88725
88727
handlers">event handler</span> itself. Every event handler ends up registering the same
0 commit comments