HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2287WF2: select.type2008-10-06 10:31
@@ -29450,37 +29450,43 @@ function AddCloud(data, x, y) { ... }</pre>
 
   <p>The <code title="attr-fae-form">form</code> attribute is used to
   explicitly associate the <code>select</code> element with its
   <span>form owner</span>. The <code title="attr-fe-name">name</code>
   attribute represents the element's name. The <code
   title="attr-fe-disabled">disabled</code> attribute is used to make
   the control non-interactive and to prevent its value from being
   submitted. The <code title="attr-fe-autofocus">autofocus</code>
   attribute controls focus.</p>
 
-  <p class="XXX">...</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>
 
   <!-- XXX
-  readonly attribute DOMString <span title="dom-select-type">type</span>;
-
   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);
   -->
 
+  <p class="XXX">...</p>
+
   <p>The <dfn title="dom-select-multiple"><code>multiple</code></dfn>
   and <dfn title="dom-select-size"><code>size</code></dfn> DOM
   attributes must <span>reflect</span> the respective content
   attributes of the same name. The <code
   title="dom-select-size">size</code> DOM attribute <span>limited to
   only positive non-zero numbers</span>.</p>
 
   <p>The <code title="dom-cva-willValidate">willValidate</code>, <code
   title="dom-cva-validity">validity</code>, and <code
   title="dom-cva-validationMessage">validationMessage</code>

|