Skip to content

Commit

Permalink
Remove <marquee> events
Browse files Browse the repository at this point in the history
They were only supported by one engine (Gecko).

Closes #2957.
  • Loading branch information
domenic committed Jan 29, 2021
1 parent 48f6b28 commit 115645f
Showing 1 changed file with 3 additions and 40 deletions.
43 changes: 3 additions & 40 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -116110,11 +116110,6 @@ interface <dfn>HTMLMarqueeElement</dfn> : <span>HTMLElement</span> {
data-x="dom-marquee-stop">stop()</code></dfn> method is called, the <code>marquee</code> element
must be <span data-x="concept-marquee-off">turned off</span>.</p>

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

<hr>

<p>The <dfn element-attr for="marquee"><code data-x="attr-marquee-behavior">behavior</code></dfn>
Expand Down Expand Up @@ -116231,45 +116226,13 @@ interface <dfn>HTMLMarqueeElement</dfn> : <span>HTMLElement</span> {

<li><p>Increment the <span>marquee current loop index</span> by one.</p></li>

<li>
<p>If the <span>marquee current loop index</span> is now equal to or greater than the element's
<span>marquee loop count</span>, <span data-x="concept-marquee-off">turn off</span> the
<code>marquee</code> element and <span>queue an element task</span> on the <span>DOM
manipulation task source</span> given the <code>marquee</code> element to <span
data-x="concept-event-fire">fire an event</span> named <code undefined
data-x="event-marquee-finish">finish</code> at the <code>marquee</code> element.</p>

<p>Otherwise, if the <code data-x="attr-marquee-behavior">behavior</code> attribute is in the
<span data-x="attr-marquee-behavior-alternate">alternate</span> state, then <span>queue an
element task</span> on the <span>DOM manipulation task source</span> given the
<code>marquee</code> element to <span data-x="concept-event-fire">fire an event</span> named
<code undefined data-x="event-marquee-bounce">bounce</code> at the <code>marquee</code> element.</p>

<p>Otherwise, <span>queue an element task</span> on the <span>DOM manipulation task
source</span> given the <code>marquee</code> element to <span data-x="concept-event-fire">fire
an event</span> named <code undefined data-x="event-marquee-start">start</code> at the
<code>marquee</code> element.</p>
</li>
<li><p>If the <span>marquee current loop index</span> is now equal to or greater than the
element's <span>marquee loop count</span>, <span data-x="concept-marquee-off">turn off</span> the
<code>marquee</code> element.</p></li>
</ol>

<hr>

<p>The following are the <span>event handlers</span> (and their corresponding <span data-x="event
handler event type">event handler event types</span>) <span w-nodev>that must be</span> supported,
as <span>event handler content attributes</span> and <span>event handler IDL attributes</span>, by
<code>marquee</code> elements:</p>

<table>
<thead>
<tr><th><span data-x="event handlers">Event handler</span> <th><span>Event handler event type</span>
<tbody>
<tr><td><dfn attribute for="HTMLMarqueeElement"><code data-x="handler-marquee-onbounce">onbounce</code></dfn> <td> <code undefined data-x="event-marquee-bounce">bounce</code>
<tr><td><dfn attribute for="HTMLMarqueeElement"><code data-x="handler-marquee-onfinish">onfinish</code></dfn> <td> <code undefined data-x="event-marquee-finish">finish</code>
<tr><td><dfn attribute for="HTMLMarqueeElement"><code data-x="handler-marquee-onstart">onstart</code></dfn> <td> <code undefined data-x="event-marquee-start">start</code>
</table>

<hr>

<p>The <dfn attribute for="HTMLMarqueeElement"><code
data-x="dom-marquee-behavior">behavior</code></dfn>, <dfn attribute for="HTMLMarqueeElement"><code
data-x="dom-marquee-direction">direction</code></dfn>, <dfn attribute
Expand Down

0 comments on commit 115645f

Please sign in to comment.