- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 03 Dec 2008 01:27:44 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv18872
Modified Files:
Overview.html
Log Message:
WF2: Change <legend> to be treated more like <option> than like a fully-fledged form-associatd element. Simpler to implement. (whatwg r2528)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1698
retrieving revision 1.1699
diff -u -d -r1.1698 -r1.1699
--- Overview.html 2 Dec 2008 11:35:11 -0000 1.1698
+++ Overview.html 3 Dec 2008 01:27:42 -0000 1.1699
@@ -8,7 +8,7 @@
<p><a href=http://www.w3.org/><img alt=W3C height=48 src=http://www.w3.org/Icons/w3c_home width=72></a></p>
<h1>HTML 5</h1>
<h2 class="no-num no-toc" id=a-vocabulary-and-associated-apis-for-html-and-xhtml>A vocabulary and associated APIs for HTML and XHTML</h2>
- <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->2 December 2008</h2>
+ <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->3 December 2008</h2>
<dl><!-- ZZZ: update the month/day
<dt>This Version:</dt>
<dd><a href="http://www.w3.org/TR/2008/WD-html5-20080610/">http://www.w3.org/TR/2008/WD-html5-20080610/</a></dd>
@@ -97,7 +97,7 @@
specification's progress along the W3C Recommendation
track.
<!--ZZZ:-->
- This specification is the 2 December 2008 <!--ZZZ "Working Draft"-->Editor's Draft.
+ This specification is the 3 December 2008 <!--ZZZ "Working Draft"-->Editor's Draft.
<!--:ZZZ-->
</p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href=http://www.whatwg.org/>WHATWG</a>. The two specifications are
identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of)
@@ -18800,11 +18800,9 @@
</dl><p>In addition, some <a href=#category-submit title=category-submit>submittable
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 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.<h4 id=the-form-element><span class=secno>4.10.1 </span>The <dfn><code>form</code></dfn> element</h4><dl class=element><dt>Categories</dt>
+ an element is a button. Some buttons are specifically <dfn id=concept-submit-button title=concept-submit-button>submit buttons</dfn>.<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.<h4 id=the-form-element><span class=secno>4.10.1 </span>The <dfn><code>form</code></dfn> element</h4><dl class=element><dt>Categories</dt>
<dd><a href=#flow-content-0>Flow content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
<dd>Where <a href=#flow-content-0>flow content</a> is expected.</dd>
@@ -22522,7 +22520,7 @@
or has a <code><a href=#the-colgroup-element>colgroup</a></code> element as its parent and that
<code><a href=#the-colgroup-element>colgroup</a></code> element has a <code><a href=#the-select-element>select</a></code> element as
its parent, then the <code title=dom-option-form><a href=#dom-option-form>form</a></code> DOM
- attribute must return the same value as the <code title=dom-select-form>form</code> DOM attribute on that
+ attribute must return the same value as the <code title=dom-fae-form><a href=#dom-fae-form>form</a></code> DOM attribute on that
<code><a href=#the-select-element>select</a></code> element. Otherwise, it must return null.<p>Several constructors are provided for creating
<code><a href=#htmloptionelement>HTMLOptionElement</a></code> objects (in addition to the factory
methods from DOM Core such as <code title="">createElement()</code>): <dfn id=dom-option title=dom-option><code>Option()</code></dfn>, <dfn id=dom-option-t title=dom-option-t><code>Option(<var title="">text</var>)</code></dfn>, <dfn id=dom-option-tv title=dom-option-tv><code>Option(<var title="">text</var>, <var title="">value</var>)</code></dfn>, <dfn id=dom-option-tvd title=dom-option-tvd><code>Option(<var title="">text</var>, <var title="">value</var>, <var title="">defaultSelected</var>)</code></dfn>, and <dfn id=dom-option-tvds title=dom-option-tvds><code>Option(<var title="">text</var>, <var title="">value</var>, <var title="">defaultSelected</var>, <var title="">selected</var>)</code></dfn>. When invoked as constructors,
@@ -26073,7 +26071,7 @@
command is to perform the <i>action</i> of the <code><a href=#the-bb-element>bb</a></code>
element's <code title=attr-bb-type><a href=#attr-bb-type>type</a></code> attribute's
state.<h3 id=miscellaneous-elements><span class=secno>4.12 </span>Miscellaneous elements</h3><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><a href=#form-associated-element>Form-associated element</a>.</dd>
+ <dd>None.</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>
@@ -26081,18 +26079,22 @@
<dt>Content model:</dt>
<dd><a href=#phrasing-content-0>Phrasing content</a>.</dd>
<dt>Element-specific attributes:</dt>
- <dd><code title=attr-fae-form><a href=#attr-fae-form>form</a></code></dd>
+ <dd>None.</dd>
<dt>DOM interface:</dt>
<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 class=idl>interface <dfn id=htmllegendelement>HTMLLegendElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
+ readonly attribute <a href=#htmlformelement>HTMLFormElement</a> <a href=#dom-legend-form title=dom-legend-form>form</a>;
};</pre>
- </dd>
+ </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>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>.<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>
+ element's parent element.<p>The <dfn id=dom-legend-form title=dom-legend-form><code>form</code></dfn> DOM
+ attribute's behavior depends on whether the <code><a href=#the-legend-element>legend</a></code>
+ element is in a <code><a href=#the-fieldset-element>fieldset</a></code> element or not. If the
+ <code><a href=#the-legend-element>legend</a></code> has a <code><a href=#the-fieldset-element>fieldset</a></code> element as its
+ parent, then the <code title=dom-legend-form><a href=#dom-legend-form>form</a></code> DOM
+ attribute must return the same value as the <code title=dom-fae-form><a href=#dom-fae-form>form</a></code> DOM attribute on that
+ <code><a href=#the-fieldset-element>fieldset</a></code> element. Otherwise, it must return null.<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>
<dd><a href=#flow-content-0>Flow content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
<dd>Where <a href=#flow-content-0>flow content</a> is expected.</dd>
Received on Wednesday, 3 December 2008 01:27:53 UTC