Short URL: http://html5.org/r/2142
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 2142 | WF2: <form> element summary. | 2008-09-03 01:58 |
Index: source
===================================================================
--- source (revision 2141)
+++ source (revision 2142)
@@ -23882,20 +23882,51 @@
<h3 id="forms">Forms</h3>
- <!-- XXX everything in WF2 -->
- <p class="big-issue">This section will contain definitions of the
- <code>form</code> element and so forth.</p>
+ <h4>The <dfn><code>form</code></dfn> element</h4>
- <p class="big-issue">This section will be a rewrite of the HTML4
- Forms and Web Forms 2.0 specifications, with hopefully no normative
- changes.</p>
+ <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>, but with no <code>form</code> element descendants.</dd>
+ <dt>Element-specific attributes:</dt>
+ <dd><code title="attr-form-accept-charset">accept-charset</code></dd>
+ <dd><code title="attr-form-action">action</code></dd>
+ <dd><code title="attr-form-enctype">enctype</code></dd>
+ <dd><code title="attr-form-method">method</code></dd>
+ <dd><code title="attr-form-name">name</code></dd>
+ <dd><code title="attr-form-target">target</code></dd>
+ <dt>DOM interface:</dt>
+ <dd>
+<pre class="idl">interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
+ attribute DOMString <span title="dom-form-accept-charset">accept-charset</span>;
+ attribute DOMString <span title="dom-form-action">action</span>;
+ attribute DOMString <span title="dom-form-enctype">enctype</span>;
+ attribute DOMString <span title="dom-form-method">method</span>;
+ attribute DOMString <span title="dom-form-name">name</span>;
+ attribute DOMString <span title="dom-form-target">target</span>;
- <!-- From HTML4: BUTTON FIELDSET FORM INPUT LABEL OPTGROUP OPTION
- SELECT TEXTAREA -->
+ readonly attribute <span>HTMLFormControlsCollection</span> <span title="dom-form-elements">elements</span>;
+ readonly attribute long <span title="dom-form-length">length</span>;
+ [IndexGetter] <span>HTMLElement</span> <span title="dom-form-XXX7">XXX7</span>(in unsigned long index);
+ [NameGetter] Object <span title="dom-form-XXX8">XXX8</span>(in DOMString name);
- <h4>The <code>form</code> element</h4>
+ void <span title="dom-form-submit">submit</span>();
+ void <span title="dom-form-reset">reset</span>();
+ boolean <span title="dom-form-checkValidity">checkValidity</span>();
+ void <span title="dom-form-dispatchFormInput">dispatchFormInput</span>();
+ void <span title="dom-form-dispatchFormChange">dispatchFormChange</span>();
+};</pre>
+ </dd>
+ </dl>
+
+ <p class="big-issue">...</p>
+
+
<h4>The <code>fieldset</code> element</h4>
<h4>The <code>input</code> element</h4>
@@ -29067,7 +29098,7 @@
<dl class="element">
<dt>Categories</dt>
- <dd>None.</dd>
+ <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>