HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/2148

File a bug

SVNBugCommentTime (UTC)
2148WF2: <select> element summary.2008-09-04 10:51
Index: source
===================================================================
--- source	(revision 2147)
+++ source	(revision 2148)
@@ -24083,7 +24083,6 @@
   readonly attribute HTMLFormElement <span title="dom-button-form">form</span>;
            attribute DOMString <span title="dom-button-method">method</span>;
            attribute DOMString <span title="dom-button-name">name</span>;
-           attribute boolean <span title="dom-button-required">required</span>;
            attribute DOMString <span title="dom-button-target">target</span>;
            attribute DOMString <span title="dom-button-type">type</span>;
            attribute DOMString <span title="dom-button-value">value</span>;
@@ -24128,8 +24127,63 @@
   <p class="big-issue">...</p>
 
 
-  <h4>The <code>select</code> element</h4>
+  <h4>The <dfn><code>select</code></dfn> element</h4>
 
+  <dl class="element">
+   <dt>Categories</dt>
+   <dd><span>Phrasing content</span>.</dd>
+   <dd><span>Interactive 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>Zero or more <code>option</code> or <code>optgroup</code> elements.</dd>
+   <dt>Element-specific attributes:</dt>
+   <dd><code title="attr-select-autofocus">autofocus</code></dd>
+   <dd><code title="attr-select-disabled">disabled</code></dd>
+   <dd><code title="attr-select-form">form</code></dd>
+   <dd><code title="attr-select-multiple">multiple</code></dd>
+   <dd><code title="attr-select-name">name</code></dd>
+   <dd><code title="attr-select-size">size</code></dd>
+   <dt>DOM interface:</dt>
+   <dd>
+<pre class="idl">interface <dfn>HTMLSelectElement</dfn> : <span>HTMLElement</span> {
+           attribute boolean <span title="dom-select-autofocus">autofocus</span>;
+           attribute boolean <span title="dom-select-disabled">disabled</span>;
+  readonly attribute HTMLFormElement <span title="dom-select-form">form</span>;
+           attribute boolean <span title="dom-select-multiple">multiple</span>;
+           attribute DOMString <span title="dom-select-name">name</span>;
+           attribute boolean <span title="dom-select-size">size</span>;
+
+  readonly attribute DOMString <span title="dom-select-type">type</span>;
+
+  readonly attribute HTMLOptionsCollection <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 HTMLCollection <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>;
+
+  readonly attribute HTMLCollection <span title="dom-select-labels">labels</span>;
+
+  void <span title="dom-select-add">add</span>(in HTMLElement element, in HTMLElement before);
+  void <span title="dom-select-remove">remove</span>(in long index);
+
+  readonly attribute boolean <span title="dom-select-willValidate">willValidate</span>;
+  readonly attribute <span>ValidityState</span> <span title="dom-select-validity">validity</span>;
+  readonly attribute DOMString <span title="dom-select-validationMessage">validationMessage</span>;
+  boolean <span title="dom-select-checkValidatity">checkValidity</span>();
+  void <span title="dom-select-setCustomValidity">setCustomValidity</span>(in DOMString error);
+
+  void <span title="dom-select-dispatchChange">dispatchChange</span>();
+  void <span title="dom-select-dispatchFormChange">dispatchFormChange</span>();
+};</pre>
+   </dd> 
+  </dl>
+
+  <p class="big-issue">...</p>
+
+
   <h4>The <code>datalist</code> element</h4>
 
   <h4>The <code>optgroup</code> element</h4>

|