[html5] r2526 - [giow] (2) WF2: Sigh. <legend> can now be associated with forms.

whatwg at whatwg.org whatwg at whatwg.org
Tue Dec 2 03:33:32 PST 2008


Author: ianh
Date: 2008-12-02 03:33:32 -0800 (Tue, 02 Dec 2008)
New Revision: 2526

Modified:
   index
   source
Log:
[giow] (2) WF2: Sigh. <legend> can now be associated with forms.

Modified: index
===================================================================
--- index	2008-12-02 11:26:58 UTC (rev 2525)
+++ index	2008-12-02 11:33:32 UTC (rev 2526)
@@ -23130,9 +23130,11 @@
   elements</a> can be, depending on their attributes, <dfn id=concept-button title=concept-button>buttons</dfn>. The prose below defines when
   an element is a button. Some buttons are specifically <dfn id=concept-submit-button title=concept-submit-button>submit buttons</dfn>.</p>
 
-  <p class=note>The <code><a href=#the-object-element>object</a></code> element is also a
-  <a href=#form-associated-element>form-associated element</a> and can, with the use of a
-  suitable <a href=#plugin>plugin</a>, partake in form submission.</p>
+  <p class=note>The <code><a href=#the-object-element>object</a></code> amd <code><a href=#the-legend-element>legend</a></code>
+  elements are also <a href=#form-associated-element title="form-associated
+  element">form-associated elements</a>. With the use of a suitable
+  <a href=#plugin>plugin</a>, the <code><a href=#the-object-element>object</a></code> element can even
+  partake in form submission.</p>
 
 
   <h4 id=the-form-element><span class=secno>4.10.1 </span>The <dfn><code>form</code></dfn> element</h4>
@@ -32199,7 +32201,7 @@
   <h4 id=the-legend-element><span class=secno>4.12.1 </span>The <dfn><code>legend</code></dfn> element</h4>
 
   <dl class=element><dt>Categories</dt>
-   <dd>None.</dd>
+   <dd><a href=#form-associated-element>Form-associated element</a>.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>As the first child of a <code><a href=#the-fieldset-element>fieldset</a></code> element.</dd>
    <dd>As the first child of a <code><a href=#the-details-element>details</a></code> element.</dd>
@@ -32207,14 +32209,23 @@
    <dt>Content model:</dt>
    <dd><a href=#phrasing-content-0>Phrasing content</a>.</dd>
    <dt>Element-specific attributes:</dt>
-   <dd>None.</dd>
+   <dd><code title=attr-fae-form><a href=#attr-fae-form>form</a></code></dd>
    <dt>DOM interface:</dt>
-   <dd>Uses <code><a href=#htmlelement>HTMLElement</a></code>.</dd>
+   <dd>
+<pre class=idl>interface <dfn id=htmllegendelement>HTMLLegendElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
+  readonly attribute <a href=#htmlformelement>HTMLFormElement</a> <a href=#dom-fae-form title=dom-fae-form>form</a>;
+};</pre>
+   </dd> 
   </dl><p>The <code><a href=#the-legend-element>legend</a></code> element represents a title or explanatory
   caption for the rest of the contents of the <code><a href=#the-legend-element>legend</a></code>
   element's parent element.</p>
 
+  <p>The <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute is used to
+  explicitly associate the <code><a href=#the-label-element>label</a></code> element with its
+  <a href=#form-owner>form owner</a>.</p>
 
+
+
   <h4 id=the-div-element><span class=secno>4.12.2 </span>The <dfn><code>div</code></dfn> element</h4>
 
   <dl class=element><dt>Categories</dt>

Modified: source
===================================================================
--- source	2008-12-02 11:26:58 UTC (rev 2525)
+++ source	2008-12-02 11:33:32 UTC (rev 2526)
@@ -25771,9 +25771,11 @@
   an element is a button. Some buttons are specifically <dfn
   title="concept-submit-button">submit buttons</dfn>.</p>
 
-  <p class="note">The <code>object</code> element is also a
-  <span>form-associated element</span> and can, with the use of a
-  suitable <span>plugin</span>, partake in form submission.</p>
+  <p class="note">The <code>object</code> amd <code>legend</code>
+  elements are also <span title="form-associated
+  element">form-associated elements</span>. With the use of a suitable
+  <span>plugin</span>, the <code>object</code> element can even
+  partake in form submission.</p>
 
 
   <h4>The <dfn><code>form</code></dfn> element</h4>
@@ -36619,7 +36621,7 @@
 
   <dl class="element">
    <dt>Categories</dt>
-   <dd>None.</dd>
+   <dd><span>Form-associated element</span>.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>As the first child of a <code>fieldset</code> element.</dd>
    <dd>As the first child of a <code>details</code> element.</dd>
@@ -36627,16 +36629,25 @@
    <dt>Content model:</dt>
    <dd><span>Phrasing content</span>.</dd>
    <dt>Element-specific attributes:</dt>
-   <dd>None.</dd>
+   <dd><code title="attr-fae-form">form</code></dd>
    <dt>DOM interface:</dt>
-   <dd>Uses <code>HTMLElement</code>.</dd>
+   <dd>
+<pre class="idl">interface <dfn>HTMLLegendElement</dfn> : <span>HTMLElement</span> {
+  readonly attribute <span>HTMLFormElement</span> <span title="dom-fae-form">form</span>;
+};</pre>
+   </dd> 
   </dl>
 
   <p>The <code>legend</code> element represents a title or explanatory
   caption for the rest of the contents of the <code>legend</code>
   element's parent element.</p>
 
+  <p>The <code title="attr-fae-form">form</code> attribute is used to
+  explicitly associate the <code>label</code> element with its
+  <span>form owner</span>.</p>
 
+
+
   <h4>The <dfn><code>div</code></dfn> element</h4>
 
   <dl class="element">




More information about the Commit-Watchers mailing list