HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2152WF2: <option> element summary.2008-09-04 11:23
@@ -24018,22 +24018,22 @@ function AddCloud(data, x, y) { ... }</pre>
            attribute DOMString <span title="dom-input-pattern">pattern</span>;
            attribute boolean <span title="dom-input-readOnly">readOnly</span>;
            attribute boolean <span title="dom-input-required">required</span>;
            attribute unsigned long <span title="dom-input-size">size</span>;
            attribute DOMString <span title="dom-input-src">src</span>;
            attribute DOMString <span title="dom-input-step">step</span>;
            attribute DOMString <span title="dom-input-target">target</span>;
            attribute DOMString <span title="dom-input-type">type</span>;
            attribute DOMString <span title="dom-input-defaultValue">defaultValue</span>;
            attribute DOMString <span title="dom-input-value">value</span>;
-           attribute DOMTimeStamp <span>valueAsDate</span>;
-           attribute float <span>valueAsNumber</span>;
+           attribute DOMTimeStamp <span title="dom-input-valueAsDate">valueAsDate</span>;
+           attribute float <span title="dom-input-valueAsNumber">valueAsNumber</span>;
   readonly attribute <span>HTMLOptionElement</span> <span title="dom-input-selectedOption">selectedOption</span>;
 
   readonly attribute <span>HTMLCollection</span> <span title="dom-input-labels">labels</span>;
 
   void <span title="dom-input-select">select</span>();
   void <span title="dom-input-stepUp">stepUp</span>(in int n);
   void <span title="dom-input-stepDown">stepDown</span>(in int n);
 
   readonly attribute boolean <span title="dom-input-willValidate">willValidate</span>;
   readonly attribute <span>ValidityState</span> <span title="dom-input-validity">validity</span>;
@@ -24185,21 +24185,22 @@ function AddCloud(data, x, y) { ... }</pre>
 
 
   <h4>The <dfn><code>datalist</code></dfn> element</h4>
 
   <dl class="element">
    <dt>Categories</dt>
    <dd><span>Phrasing content</span>.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>Where <span>phrasing content</span> is expected.</dd>
    <dt>Content model:</dt>
-   <dd><span>Phrasing content</span>.</dd>
+   <dd>Either: <span>phrasing content</span>.</dd>
+   <dd>Or: Zero or more <code>option</code> elements.</dd>
    <dt>Element-specific attributes:</dt>
    <dd>None.</dd>
    <dt>DOM interface:</dt>
    <dd>
 <pre class="idl">interface <dfn>HTMLDataListElement</dfn> : <span>HTMLElement</span> {
   readonly attribute <span>HTMLOptionsCollection</span> <span title="dom-select-options">options</span>;
 };</pre>
    </dd> 
   </dl>
 
@@ -24214,48 +24215,73 @@ function AddCloud(data, x, y) { ... }</pre>
    <dt>Contexts in which this element may be used:</dt>
    <dd>As a child of a <code>select</code> element.</dd>
    <dt>Content model:</dt>
    <dd>Zero or more <code>option</code> elements.</dd>
    <dt>Element-specific attributes:</dt>
    <dd><code title="attr-optgroup-disabled">disabled</code></dd>
    <dd><code title="attr-optgroup-label">label</code></dd>
    <dt>DOM interface:</dt>
    <dd>
 <pre class="idl">interface <dfn>HTMLOptGroupElement</dfn> : <span>HTMLElement</span> {
-           attribute boolean <span title="dom-select-disabled">disabled</span>;
-           attribute DOMString <span title="dom-select-label">label</span>;
+           attribute boolean <span title="dom-optgroup-disabled">disabled</span>;
+           attribute DOMString <span title="dom-optgroup-label">label</span>;
 };</pre>
    </dd> 
   </dl>
 
   <p class="big-issue">...</p>
 
 
-  <h4>The <code>option</code> element</h4>
-
-  <h4>Constructors</h4>
+  <h4>The <dfn><code>option</code></dfn> element</h4>
 
-  <p>All <code>Window</code> objects must provide the following
-  constructors:</p>
-
-  <dl>
+  <dl class="element">
+   <dt>Categories</dt>
+   <dd>None.</dd>
+   <dt>Contexts in which this element may be used:</dt>
+   <dd>As a child of a <code>select</code> element.</dd>
+   <dd>As a child of a <code>datalist</code> element.</dd>
+   <dd>As a child of an <code>optgroup</code> element.</dd>
+   <dt>Content model:</dt>
+   <dd>Text.</dd>
+   <dt>Element-specific attributes:</dt>
+   <dd><code title="attr-option-disabled">disabled</code></dd>
+   <dd><code title="attr-option-label">label</code></dd>
+   <dd><code title="attr-option-selected">selected</code></dd>
+   <dd><code title="attr-option-value">value</code></dd>
+   <dt>DOM interface:</dt>
+   <dd>
+<pre class="idl">[<span title="dom-option">Constructor</span>(),
+ <span title="dom-option-n">Constructor</span>(in DOMString name),
+ <span title="dom-option-nv">Constructor</span>(in DOMString name, in DOMString value)]
+interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
+           attribute boolean <span title="dom-option-disabled">disabled</span>;
+  readonly attribute <span>HTMLFormElement</span> <span title="dom-option-form">form</span>;
+           attribute DOMString <span title="dom-option-label">label</span>;
+           attribute boolean <span title="dom-option-defaultSelected">defaultSelected</span>;
+           attribute boolean <span title="dom-option-selected">selected</span>;
+           attribute DOMString <span title="dom-input-value">value</span>;
 
-   <dt><dfn title="dom-option"><code>Option()</code></dfn></dt>
-   <dt><dfn title="dom-option-n"><code>Option(in DOMString <var title="">name</var>)</code></dfn></dt>
-   <dt><dfn title="dom-option-nv"><code>Option(in DOMString <var title="">name</var>, in DOMString <var title="">value</var>)</code></dfn></dt>
+  readonly attribute DOMString <span title="dom-option-text">text</span>;
+  readonly attribute long <span title="dom-option-index">index</span>;
+};</pre>
+   </dd> 
+  </dl>
 
-   <dd><p>When invoked as constructors, these must return a new
-   <code>HTMLOptionElement</code> object (a new <code>option</code>
-   element). <span class="big-issue">need to define argument
-   processing</span></p></dd>
+  <p class="big-issue">...</p>
 
-  </dl>
+  <p class="big-issue">
+   <dfn title="dom-option"><code>Option()</code></dfn>
+   <dfn title="dom-option-n"><code>Option(<var title="">name</var>)</code></dfn>
+   <dfn title="dom-option-nv"><code>Option(<var title="">name</var>, <var title="">value</var>)</code></dfn>
+   ... must return a new <code>HTMLOptionElement</code> object (a new
+   <code>option</code> element). ... argument processing ...
+  </p>
 
 
   <h4>The <code>textarea</code> element</h4>
 
   <h4>The <code>output</code> element</h4>
 
 
   <h4>Association of controls and forms</h4>
 
   <p class="big-issue">When an element is <dfn

|