HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2288WF2: select.options2008-10-06 10:37
@@ -29407,29 +29407,29 @@ function AddCloud(data, x, y) { ... }</pre>
    </dd> 
   </dl>
 
   <p>The <code>select</code> element represents a control for
   selecting amongst a set of options.</p>
 
   <p>The <dfn title="attr-select-multiple"><code>multiple</code></dfn>
   attribute is a <span>boolean attribute</span>. If the attribute is
   present, then the <code>select</code> element represents a control
   for selecting zero or more options from the <span
-  title="select-option-list">list of options</span>. If the attribute
-  is absent, then the <code>select</code> element represents a control
-  for selecting a single option from the <span
-  title="select-option-list">list of options</span>.</p>
-
-  <p>The <dfn title="select-option-list">list of options</dfn> for a
-  <code>select</code> element consists of all the <code>option</code>
-  element children of the <code>select</code> element, and all the
-  <code>option</code> element children of all the
+  title="concept-select-option-list">list of options</span>. If the
+  attribute is absent, then the <code>select</code> element represents
+  a control for selecting a single option from the <span
+  title="concept-select-option-list">list of options</span>.</p>
+
+  <p>The <dfn title="concept-select-option-list">list of options</dfn>
+  for a <code>select</code> element consists of all the
+  <code>option</code> element children of the <code>select</code>
+  element, and all the <code>option</code> element children of all the
   <code>optgroup</code> element children of the <code>select</code>
   element, in <span>tree order</span>.</p>
 
   <p>The <dfn title="attr-select-size"><code>size</code></dfn>
   attribute gives the number of options to show to the user. The <code
   title="attr-input-size">size</code> attribute, if specified, must
   have a value that is a <span>valid non-negative integer</span>
   greater than zero. If the <code
   title="attr-select-multiple">multiple</code> attribute is present,
   then the <code title="attr-input-size">size</code> attribute's
@@ -29458,22 +29458,27 @@ function AddCloud(data, x, y) { ... }</pre>
   attribute controls focus.</p>
 
   <p>The <dfn title="dom-select-type"><code>type</code></dfn>
   attribute, on getting, must return the string "<code
   title="">select-one</code>" if the <code
   title="attr-select-multiple">multiple</code> attribute is absent,
   and the string "<code title="">select-multiple</code>" if the <code
   title="attr-select-multiple">multiple</code> attribute is
   present.</p>
 
+  <p>The <dfn title="dom-select-options"><code>options</code></dfn>
+  attribute must return an <code>HTMLOptionsCollection</code> rooted
+  at the <code>select</code> node, whose filter matches the elements
+  in the <span title="concept-select-option-list">list of
+  options</span>.</p>
+
   <!-- XXX
-  readonly attribute <span>HTMLOptionsCollection</span> <span title="dom-select-options">options</span>;
            attribute unsigned long <span title="dom-select-length">length</span>;
   [IndexGetter] <span>HTMLElement</span> <span title="dom-select-XXX9">XXX9</span>(in unsigned long index);
 
   readonly attribute <span>HTMLOptionsCollection</span> <span title="dom-select-selectedOptions">selectedOptions</span>;
            attribute long <span title="dom-select-selectedIndex">selectedIndex</span>;
            attribute DOMString <span title="dom-select-value">value</span>;
 
   void <span title="dom-select-add">add</span>(in <span>HTMLElement</span> element, in <span>HTMLElement</span> before);
   void <span title="dom-select-remove">remove</span>(in long index);
   -->

|