Skip to content

Commit 6df77c2

Browse files
authored
Convert more "queue a task" to "queue an element task"
This accounts for <marquee> and one that was missed for <frame>. Part of #4980.
1 parent 5d7cd69 commit 6df77c2

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

source

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -113957,9 +113957,6 @@ if (s = prompt('What is your name?')) {
113957113957
<p>The <code>marquee</code> element is a presentational element that animates content. CSS
113958113958
transitions and animations are a more appropriate mechanism. <ref spec=CSSANIMATIONS> <ref spec=CSSTRANSITIONS></p>
113959113959

113960-
<p>The <span>task source</span> for tasks mentioned in this section is the <span>DOM manipulation
113961-
task source</span>.</p>
113962-
113963113960
<p>The <code>marquee</code> element must implement the <code>HTMLMarqueeElement</code>
113964113961
interface.</p>
113965113962

@@ -113997,8 +113994,9 @@ interface <dfn>HTMLMarqueeElement</dfn> : <span>HTMLElement</span> {
113997113994
<p>When the <dfn><code data-x="dom-marquee-stop">stop()</code></dfn> method is called, the
113998113995
<code>marquee</code> element must be <span data-x="concept-marquee-off">turned off</span>.</p>
113999113996

114000-
<p>When a <code>marquee</code> element is created, the user agent must <span>queue a task</span>
114001-
to <span data-x="concept-event-fire">fire an event</span> named <code undefined
113997+
<p>When a <code>marquee</code> element is created, the user agent must <span>queue an element
113998+
task</span> on the <span>DOM manipulation task source</span> given the <code>marquee</code>
113999+
element to <span data-x="concept-event-fire">fire an event</span> named <code undefined
114002114000
data-x="event-marquee-start">start</code> at the element.</p>
114003114001

114004114002
<hr>
@@ -114118,17 +114116,20 @@ interface <dfn>HTMLMarqueeElement</dfn> : <span>HTMLElement</span> {
114118114116
<li>
114119114117
<p>If the <span>marquee current loop index</span> is now equal to or greater than the element's
114120114118
<span>marquee loop count</span>, <span data-x="concept-marquee-off">turn off</span> the
114121-
<code>marquee</code> element and <span>queue a task</span> to <span
114119+
<code>marquee</code> element and <span>queue an element task</span> on the <span>DOM
114120+
manipulation task source</span> given the <code>marquee</code> element to <span
114122114121
data-x="concept-event-fire">fire an event</span> named <code undefined
114123114122
data-x="event-marquee-finish">finish</code> at the <code>marquee</code> element.</p>
114124114123

114125114124
<p>Otherwise, if the <code data-x="attr-marquee-behavior">behavior</code> attribute is in the
114126-
<span data-x="attr-marquee-behavior-alternate">alternate</span> state, then <span>queue a
114127-
task</span> to <span data-x="concept-event-fire">fire an event</span> named <code undefined
114128-
data-x="event-marquee-bounce">bounce</code> at the <code>marquee</code> element.</p>
114129-
114130-
<p>Otherwise, <span>queue a task</span> to <span data-x="concept-event-fire">fire an
114131-
event</span> named <code undefined data-x="event-marquee-start">start</code> at the
114125+
<span data-x="attr-marquee-behavior-alternate">alternate</span> state, then <span>queue an
114126+
element task</span> on the <span>DOM manipulation task source</span> given the
114127+
<code>marquee</code> element to <span data-x="concept-event-fire">fire an event</span> named
114128+
<code undefined data-x="event-marquee-bounce">bounce</code> at the <code>marquee</code> element.</p>
114129+
114130+
<p>Otherwise, <span>queue an element task</span> on the <span>DOM manipulation task
114131+
source</span> given the <code>marquee</code> element to <span data-x="concept-event-fire">fire
114132+
an event</span> named <code undefined data-x="event-marquee-start">start</code> at the
114132114133
<code>marquee</code> element.</p>
114133114134
</li>
114134114135
</ol>

0 commit comments

Comments
 (0)