Short URL: http://html5.org/r/2144
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 2144 | WF2: <input> element summary. | 2008-09-03 10:32 |
Index: source
===================================================================
--- source (revision 2143)
+++ source (revision 2144)
@@ -23937,8 +23937,8 @@
<dt>Content model:</dt>
<dd><span>Flow content</span>.</dd>
<dt>Element-specific attributes:</dt>
- <dd><code title="attr-form-disabled">disabled</code></dd>
- <dd><code title="attr-form-form">form</code></dd>
+ <dd><code title="attr-fieldset-disabled">disabled</code></dd>
+ <dd><code title="attr-fieldset-form">form</code></dd>
<dt>DOM interface:</dt>
<dd>
<pre class="idl">interface <dfn>HTMLFieldSetElement</dfn> : <span>HTMLElement</span> {
@@ -23959,8 +23959,105 @@
<p class="big-issue">...</p>
- <h4>The <code>input</code> element</h4>
+ <h4>The <dfn><code>input</code></dfn> element</h4>
+ <dl class="element">
+ <dt>Categories</dt>
+ <dd><span>Flow content</span>.</dd>
+ <dt>Contexts in which this element may be used:</dt>
+ <dd>Where <span>flow content</span> is expected.</dd>
+ <dt>Content model:</dt>
+ <dd><span>Flow content</span>.</dd>
+ <dt>Element-specific attributes:</dt>
+ <dd><code title="attr-input-accept">accept</code></dd>
+ <dd><code title="attr-input-accesskey">accesskey</code></dd>
+ <dd><code title="attr-input-action">action</code></dd>
+ <dd><code title="attr-input-alt">alt</code></dd>
+ <dd><code title="attr-input-autocomplete">autocomplete</code></dd>
+ <dd><code title="attr-input-autofocus">autofocus</code></dd>
+ <dd><code title="attr-input-checked">checked</code></dd>
+ <dd><code title="attr-input-disabled">disabled</code></dd>
+ <dd><code title="attr-input-enctype">enctype</code></dd>
+ <dd><code title="attr-input-form">form</code></dd>
+ <dd><code title="attr-input-inputmode">inputmode</code></dd>
+ <dd><code title="attr-input-list">list</code></dd>
+ <dd><code title="attr-input-max">max</code></dd>
+ <dd><code title="attr-input-maxlength">maxlength</code></dd>
+ <dd><code title="attr-input-method">method</code></dd>
+ <dd><code title="attr-input-min">min</code></dd>
+ <dd><code title="attr-input-name">name</code></dd>
+ <dd><code title="attr-input-pattern">pattern</code></dd>
+ <dd><code title="attr-input-readonly">readonly</code></dd>
+ <dd><code title="attr-input-required">required</code></dd>
+ <dd><code title="attr-input-size">size</code></dd>
+ <dd><code title="attr-input-src">src</code></dd>
+ <dd><code title="attr-input-step">step</code></dd>
+ <dd><code title="attr-input-target">target</code></dd>
+ <dd><code title="attr-input-type">type</code></dd>
+ <dd><code title="attr-input-value">value</code></dd>
+ <dt>DOM interface:</dt>
+ <dd>
+<pre class="idl">interface <dfn>HTMLInputElement</dfn> : <span>HTMLElement</span> {
+
+ attribute DOMString <span title="dom-input-accept">accept</span>;
+ attribute DOMString <span title="dom-input-accessKey">accessKey</span>;
+ attribute DOMString <span title="dom-input-action">action</span>;
+ attribute DOMString <span title="dom-input-align">align</span>;
+ attribute DOMString <span title="dom-input-alt">alt</span>;
+ attribute boolean <span title="dom-input-autocomplete">autocomplete</span>;
+ attribute boolean <span title="dom-input-autofocus">autofocus</span>;
+ attribute boolean <span title="dom-input-defaultChecked">defaultChecked</span>;
+ attribute boolean <span title="dom-input-checked">checked</span>;
+ attribute boolean <span title="dom-input-disabled">disabled</span>;
+ attribute DOMString <span title="dom-input-enctype">enctype</span>;
+ readonly attribute HTMLFormElement <span title="dom-input-form">form</span>;
+ attribute DOMString <span title="dom-input-inputmode">inputmode</span>;
+ readonly attribute HTMLElement <span title="dom-input-list">list</span>;
+ attribute DOMString <span title="dom-input-max">max</span>;
+ attribute long <span title="dom-input-maxLength">maxLength</span>;
+ attribute DOMString <span title="dom-input-method">method</span>;
+ attribute DOMString <span title="dom-input-min">min</span>;
+ attribute DOMString <span title="dom-input-name">name</span>;
+ 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>;
+ readonly attribute <span>HTMLOptionElement</span> <span title="dom-input-selectedOption">selectedOption</span>;
+
+ readonly attribute HTMLCollection <span title="dom-input-labels">labels</span>;
+
+ void <span title="dom-input-blur">blur</span>();
+ void <span title="dom-input-focus">focus</span>();
+ void <span title="dom-input-select">select</span>();
+ void <span title="dom-input-click">click</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>;
+ readonly attribute DOMString <span title="dom-input-validationMessage">validationMessage</span>;
+ boolean <span title="dom-input-checkValidatity">checkValidity</span>();
+ void <span title="dom-input-setCustomValidity">setCustomValidity</span>(in DOMString error);
+
+ void <span title="dom-input-dispatchChange">dispatchChange</span>();
+ void <span title="dom-input-dispatchFormChange">dispatchFormChange</span>();
+};</pre>
+ </dd>
+ </dl>
+
+ <!-- XXX add selectionStart and company -->
+
+ <p class="big-issue">...</p>
+
+
<h4>The <code>button</code> element</h4>
<h4>The <code>label</code> element</h4>