W3C home > Mailing lists > Public > public-html-diffs@w3.org > December 2008

spec/Overview.html 1.1699 2528 WF2: Change <legend> to be treated more

From: poot <cvsmail@w3.org>
Date: Wed, 3 Dec 2008 10:30:49 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20081203013050.139B02BC8C@toro.w3.mag.keio.ac.jp>

WF2: Change <legend> to be treated more like <option> than like a fully-
fledged form-associatd element. Simpler to implement. (whatwg r2528)

HTMLLegendElement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1699.html#htmllegendelement
Status of this document
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1699.html#status-of-this-document
buttons
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1699.html#concept-button
4.12 Miscellaneous elements
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1699.html#miscellaneous-elements
form
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1699.html#dom-legend-form
A vocabulary and associated APIs for HTML and XHTML
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1699.html#a-vocabulary-and-associated-apis-for-html-and-xhtml
Option()
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1699.html#dom-option
Labelable
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1699.html#category-label
submit buttons
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1699.html#concept-submit-button
4.11.6.6 Using the bb element to define a command
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1699.html#using-the-bb-element-to-define-a-command
Editor's Draft 3 December 2008
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1699.html#editor-s-draft-date-zzz-9-june-2008
4.12.2 The div element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1699.html#the-div-element
form
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1699.html#dom-option-form
4.10.1 The form element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1699.html#the-form-element

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1698&r2=1.1699&f=h
http://html5.org/tools/web-apps-tracker?from=2527&to=2528

===================================================================
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:31:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:13:57 GMT