Permalink
Browse files

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

git-svn-id: http://svn.whatwg.org/webapps@2526 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Dec 2, 2008
1 parent 9d2015e commit c73a3a3f960844ad1b2632c21347fd3133b7d0b9
Showing with 34 additions and 12 deletions.
  1. +17 −6 index
  2. +17 −6 source
23 index
@@ -23130,9 +23130,11 @@ function AddCloud(data, x, y) { ... }</pre>
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,21 +32201,30 @@ explain that only direct children of the <menu> matter
<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>
<dd>As a child of a <code><a href=#the-figure-element>figure</a></code> element, if there are no other <code><a href=#the-legend-element>legend</a></code> element children of that element.</dd>
<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>

23 source
@@ -25771,9 +25771,11 @@ function AddCloud(data, x, y) { ... }</pre>
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,23 +36621,32 @@ explain that only direct children of the <menu> matter

<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>
<dd>As a child of a <code>figure</code> element, if there are no other <code>legend</code> element children of that element.</dd>
<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>

0 comments on commit c73a3a3

Please sign in to comment.