HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
3133<marquee>, DOM side2009-05-26 08:56
@@ -82277,21 +82277,213 @@ S SPACER STRIKE TT U -->
 };</pre>
 
   <p>The <dfn title="dom-document-applets"><code>applets</code></dfn>
   attribute must return an <code>HTMLCollection</code> rooted at the
   <code>Document</code> node, whose filter matches only
   <code>applet</code> elements.</p>
 
 
   <h4>The <dfn><code>marquee</code></dfn> element</h4>
 
-  <p class="XXX">...</p>
+  <p>The <code>marquee</code> element is a presentational element that
+  animates content. CSS transitions and animations are a more
+  appropriate mechanism.</p>
+
+  <pre class="idl">interface <dfn>HTMLMarqueeElement</dfn> : <span>HTMLElement</span> {
+           attribute DOMString <span title="dom-marquee-behavior">behavior</span>;
+           attribute DOMString <span title="dom-marquee-bgColor">bgColor</span>;
+           attribute DOMString <span title="dom-marquee-direction">direction</span>;
+           attribute DOMString <span title="dom-marquee-height">height</span>;
+           attribute DOMString <span title="dom-marquee-hspace">hspace</span>;
+           attribute DOMString <span title="dom-marquee-loop">loop</span>;
+           attribute DOMString <span title="dom-marquee-scrollamount">scrollamount</span>;
+           attribute DOMString <span title="dom-marquee-scrolldelay">scrolldelay</span>;
+           attribute DOMString <span title="dom-marquee-trueSpeed">trueSpeed</span>;
+           attribute DOMString <span title="dom-marquee-vspace">vspace</span>;
+           attribute DOMString <span title="dom-marquee-width">width</span>;
+
+           attribute <span>Function</span> <span title="handler-marquee-onbounce">onbounce</span>;
+           attribute <span>Function</span> <span title="handler-marquee-onfinish">onfinish</span>;
+           attribute <span>Function</span> <span title="handler-marquee-onstart">onstart</span>;
+
+  void <span title="dom-marquee-start">start</span>()
+  void <span title="dom-marquee-stop">stop</span>()
+};</pre>
+
+  <p>The <dfn
+  title="attr-marquee-behavior"><code>behavior</code></dfn> content
+  attribute on <code>marquee</code> elements is an <span>enumerated
+  attribute</span> with the following keywords (all
+  non-conforming):</p>
+
+  <table>
+   <thead>
+    <tr>
+     <th>Keyword
+     <th>State
+   <tbody>
+    <tr>
+     <td><code title="">scroll</code>
+     <td><dfn title="attr-marquee-behavior-scroll">scroll</dfn>
+    <tr>
+     <td><code title="">slide</code>
+     <td><dfn title="attr-marquee-behavior-slide">slide</dfn>
+    <tr>
+     <td><code title="">alternate</code>
+     <td><dfn title="attr-marquee-behavior-alternate">scroll</dfn>
+  </table>
+
+  <p>The <i>missing value default</i> is the <span
+  title="attr-marquee-behavior-scroll">scroll</span> state.</p>
+
+  <hr>
+
+  <p>The <dfn
+  title="attr-marquee-direction"><code>direction</code></dfn> content
+  attribute on <code>marquee</code> elements is an <span>enumerated
+  attribute</span> with the following keywords (all
+  non-conforming):</p>
+
+  <table>
+   <thead>
+    <tr>
+     <th>Keyword
+     <th>State
+   <tbody>
+    <tr>
+     <td><code title="">left</code>
+     <td><dfn title="attr-marquee-direction-left">left</dfn>
+    <tr>
+     <td><code title="">right</code>
+     <td><dfn title="attr-marquee-direction-right">right</dfn>
+    <tr>
+     <td><code title="">up</code>
+     <td><dfn title="attr-marquee-direction-up">up</dfn>
+    <tr>
+     <td><code title="">down</code>
+     <td><dfn title="attr-marquee-direction-down">down</dfn>
+  </table>
+
+  <p>The <i>missing value default</i> is the <span
+  title="attr-marquee-direction-left">left</span> state.</p>
+
+  <hr>
+
+  <p>The <dfn
+  title="attr-marquee-truespeed"><code>truespeed</code></dfn> content
+  attribute on <code>marquee</code> elements is an <span>enumerated
+  attribute</span> with the following keywords (all
+  non-conforming):</p>
+
+  <table>
+   <thead>
+    <tr>
+     <th>Keyword
+     <th>State
+   <tbody>
+    <tr>
+     <td><code title="">true</code>
+     <td><dfn title="attr-marquee-truespeed-true">true</dfn>
+    <tr>
+     <td><code title="">false</code>
+     <td><dfn title="attr-marquee-truespeed-false">false</dfn>
+  </table>
+
+  <p>The <i>missing value default</i> is the <span
+  title="attr-marquee-truespeed-false">false</span> state.</p>
+
+  <hr>
+
+  <p>A <code>marquee</code> element has a <dfn>marquee scroll
+  speed</dfn>, which is obtained as follows:</p>
+
+  <ol>
+
+   <li><p>If the element has a <code title="">scrolldelay</code>
+   attribute, and parsing its value using the <span>rules for parsing
+   non-negative integers</span> does not return an error, then let
+   <var title="">delay</var> be the parsed value. Otherwise, let <var
+   title="">delay</var> be 85.</p></li>
+
+   <li><p>If the element does not have a <code
+   title="">truespeed</code> attribute, or if it does but that
+   attribute is in the <span
+   title="attr-marquee-truespeed-false">false</span> state, and the
+   <var title="">delay</var> value is less than 60, then let <var
+   title="">delay</var> be 60 instead.</p></li>
+
+   <li><p>The <span>marquee scroll speed</span> is <var
+   title="">delay</var>, interpreted in milliseconds.</p></li>
+
+  </ol>
+
+  <hr>
+
+  <p>A <code>marquee</code> element can be <dfn
+  title="concept-marquee-on">turned on</dfn> or <dfn
+  title="concept-marquee-off">turned off</dfn>. When it is created, it
+  is <span title="concept-marquee-on">turned on</span>.</p>
+
+  <p>When the <dfn
+  title="dom-marquee-start"><code>start()</code></dfn> method is
+  called, the <code>marquee</code> element must be <span
+  title="concept-marquee-on">turned on</span>.</p>
+
+  <p>When the <dfn title="dom-marquee-stop"><code>stop()</code></dfn>
+  method is called, the <code>marquee</code> element must be <span
+  title="concept-marquee-off">turned off</span>.</p>
+
+  <hr>
+
+  <p>The following are the <span>event handler attributes</span> (and
+  their corresponding <span title="event handler event type">event
+  handler event types</span>) that must be supported, as content and
+  DOM attributes, by <code>marquee</code> elements:</p>
+
+  <table>
+   <thead>
+    <tr><th><span title="event handler attributes">event handler attribute</span> <th><span>Event handler event type</span>
+   <tbody>
+    <tr><td><dfn title="handler-marquee-onbounce"><code>onbounce</code></dfn> <td> <code title="event-bounce">bounce</code>
+    <tr><td><dfn title="handler-marquee-onfinish"><code>onfinish</code></dfn> <td> <code title="event-finish">finish</code>
+    <tr><td><dfn title="handler-marquee-onstart"><code>onstart</code></dfn> <td> <code title="event-start">start</code>
+  </table>
+
+  <hr>
+
+  <p>The <dfn
+  title="dom-marquee-behavior"><code>behavior</code></dfn>, <dfn
+  title="dom-marquee-direction"><code>direction</code></dfn>, <dfn
+  title="dom-marquee-height"><code>height</code></dfn>, <dfn
+  title="dom-marquee-hspace"><code>hspace</code></dfn>, <dfn
+  title="dom-marquee-loop"><code>loop</code></dfn>, <dfn
+  title="dom-marquee-scrollamount"><code>scrollamount</code></dfn>,
+  <dfn title="dom-marquee-scrolldelay"><code>scrolldelay</code></dfn>,
+  <dfn title="dom-marquee-vspace"><code>vspace</code></dfn>, and <dfn
+  title="dom-marquee-width"><code>width</code></dfn> DOM attributes
+  must <span>reflect</span> the respective content attributes of the
+  same name.</p>
+
+  <p>The <dfn title="dom-marquee-bgColor"><code>bgColor</code></dfn>
+  DOM attribute must <span>reflect</span> the <code
+  title="attr-marquee-bgcolor">bgcolor</code> content attribute.</p>
+
+  <p>The <dfn
+  title="dom-marquee-trueSpeed"><code>trueSpeed</code></dfn>, DOM
+  attribute must <span>reflect</span> the <code
+  title="attr-marquee-truespeed">truespeed</code> content
+  attribute.</p>
+
+
+  
+  
+
 
 
   <h3>Other elements and attributes</h3>
 
   <p>The following elements are obsolete and either have no meaning
   whatsoever or have no requirements beyond those described elsewhere
   in this specification:</p>
 
   <ul>
 

|