- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 02 Oct 2008 07:31:38 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv819
Modified Files:
Overview.html
Log Message:
WF2: <input type=radio> (whatwg r2259)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1431
retrieving revision 1.1432
diff -u -d -r1.1431 -r1.1432
--- Overview.html 2 Oct 2008 03:34:13 -0000 1.1431
+++ Overview.html 2 Oct 2008 07:31:35 -0000 1.1432
@@ -18987,8 +18987,8 @@
<td class=yes> Yes <!-- Week -->
<td class=yes> Yes <!-- Time -->
<td class=yes> Yes <!-- Local Date and Time -->
- <td class=Yes> Yes <!-- Number -->
- <td class=Yes> Yes <!-- Range -->
+ <td class=yes> Yes <!-- Number -->
+ <td class=no> · <!-- Range -->
<td class=no> · <!-- Checkbox -->
<td class=no> · <!-- Radio Button -->
<td class=no> · <!-- File -->
@@ -20120,10 +20120,9 @@
element's <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> state
is true, the control represents a positive selection, and if it is
false, a negative selection.<p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>,
- the user should allow the user to toggle the <span title=concept-input-checked>checkedness</span> state.<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
+ the user should allow the user to toggle the <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> state.<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
follows:</strong> Do nothing.<p>The following common <code><a href=#the-input-element>input</a></code> element content
attributes and DOM attributes apply to the element:
- <code title=attr-input-autocomplete><a href=#attr-input-autocomplete>autocomplete</a></code>,
<code title=attr-input-checked><a href=#attr-input-checked>checked</a></code>, and
<code title=attr-input-required>required</code> content attributes;
<code class=no-backref title=dom-input-checked><a href=#dom-input-checked>checked</a></code> DOM attribute.<p>The following content attributes must not be specified and do not
@@ -20131,6 +20130,7 @@
<code class=no-backref title=attr-input-accept><a href=#attr-input-accept>accept</a></code>,
<code class=no-backref title=attr-fs-action><a href=#attr-fs-action>action</a></code>,
<code class=no-backref title=attr-input-alt>alt</code>,
+ <code class=no-backref title=attr-input-autocomplete><a href=#attr-input-autocomplete>autocomplete</a></code>,
<code class=no-backref title=attr-fs-enctype><a href=#attr-fs-enctype>enctype</a></code>,
<code class=no-backref title=attr-input-list>list</code>,
<code class=no-backref title=attr-input-max><a href=#attr-input-max>max</a></code>,
@@ -20150,7 +20150,71 @@
<code class=no-backref title=dom-input-valueAsNumber><a href=#dom-input-valueasnumber>valueAsNumber</a></code> DOM attributes;
<code class=no-backref title=dom-input-stepDown><a href=#dom-input-stepdown>stepDown()</a></code> and
<code class=no-backref title=dom-input-stepUp><a href=#dom-input-stepup>stepUp()</a></code> methods.<h6 id=radio-button-state><span class=secno>4.10.4.1.14 </span><dfn title=attr-input-type-radio>Radio Button</dfn> state</h6><p>When an <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#radio-button-state title=attr-input-type-radio>Radio Button</a> state, the rules
- in this section apply.<p class=big-issue>...<h6 id=file-state><span class=secno>4.10.4.1.15 </span><dfn title=attr-input-type-file>File</dfn> state</h6><p>When an <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#file-state title=attr-input-type-file>File</a> state, the rules in this
+ in this section apply.<p>The <code><a href=#the-input-element>input</a></code> element represents a control that, when
+ used in conjunction with other <code><a href=#the-input-element>input</a></code> elements, forms a
+ <i><a href=#radio-button-group>radio button group</a></i> in which only one control can have its
+ <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> state set to
+ true. If the element's <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> state is true, the
+ control represents the selected control in the group, and if it is
+ false, it indicates a control in the group that is not selected.<p>The <dfn id=radio-button-group><i>radio button group</i></dfn> that contains an
+ <code><a href=#the-input-element>input</a></code> element <var title="">a</var> also contains all
+ the other <code><a href=#the-input-element>input</a></code> elements <var title="">b</var> that
+ fulfill all of the following conditions:<ul><li>The <code><a href=#the-input-element>input</a></code> element <var title="">b</var>'s <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#radio-button-state title=attr-input-type-radio>Radio Button</a> state.</li>
+
+ <li>Either neither <var title="">a</var> nor <var title="">b</var>
+ have a <a href=#form-owner>form owner</a>, or they both have one and it is the
+ same for both.</li>
+
+ <li>They both have a <code title=attr-input-name>name</code>
+ attribute, and the value of <var title="">a</var>'s <code title=attr-input-name>name</code> attribute is a
+ <a href=#compatibility-caseless>compatibility caseless</a> match for the value of <var title="">b</var>'s <code title=attr-input-name>name</code>
+ attribute.</li>
+
+ </ul><p>A document must not contain an <code><a href=#the-input-element>input</a></code> element whose
+ <i><a href=#radio-button-group>radio button group</a></i> contains only that element.<p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>,
+ the user should allow the user to set the <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> state of the
+ element to true.<p>When any of the following events occur, if the element's <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> state is true after
+ the event, the <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> state of all the
+ other elements in the same <i><a href=#radio-button-group>radio button group</a></i> must be set to
+ false:</p><!-- XXX event firing order and timing --><ul><li>The element's <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> state is set to
+ true (for whatever reason).</li>
+
+ <li>The element's <code title=attr-input-name>name</code>
+ attribute is added, removed, or changes value<!-- XXX setting to
+ the same value? -->.</li>
+
+ <li>The element's <a href=#form-owner>form owner</a> changes.</li>
+
+ </ul><p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
+ follows:</strong> Do nothing.<p>The following common <code><a href=#the-input-element>input</a></code> element content
+ attributes and DOM attributes apply to the element:
+ <code title=attr-input-checked><a href=#attr-input-checked>checked</a></code> and
+ <code title=attr-input-required>required</code> content attributes;
+ <code class=no-backref title=dom-input-checked><a href=#dom-input-checked>checked</a></code> DOM attribute.<p>The following content attributes must not be specified and do not
+ apply to the element:
+ <code class=no-backref title=attr-input-accept><a href=#attr-input-accept>accept</a></code>,
+ <code class=no-backref title=attr-fs-action><a href=#attr-fs-action>action</a></code>,
+ <code class=no-backref title=attr-input-alt>alt</code>,
+ <code class=no-backref title=attr-input-autocomplete><a href=#attr-input-autocomplete>autocomplete</a></code>,
+ <code class=no-backref title=attr-fs-enctype><a href=#attr-fs-enctype>enctype</a></code>,
+ <code class=no-backref title=attr-input-list>list</code>,
+ <code class=no-backref title=attr-input-max><a href=#attr-input-max>max</a></code>,
+ <code class=no-backref title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>,
+ <code class=no-backref title=attr-fs-method><a href=#attr-fs-method>method</a></code>,
+ <code class=no-backref title=attr-input-min><a href=#attr-input-min>min</a></code>,
+ <code class=no-backref title=attr-input-pattern>pattern</code>,
+ <code class=no-backref title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code>,
+ <code class=no-backref title=attr-input-size>size</code>,
+ <code class=no-backref title=attr-input-src>src</code>,
+ <code class=no-backref title=attr-input-step><a href=#attr-input-step>step</a></code>, and
+ <code class=no-backref title=attr-fs-target><a href=#attr-fs-target>target</a></code>.<p>The following DOM attributes and methods do not apply to the element:
+ <code class=no-backref title=dom-input-list><a href=#dom-input-list>list</a></code>,
+ <code class=no-backref title=dom-input-selectedOption><a href=#dom-input-selectedoption>selectedOption</a></code>,
+ <code class=no-backref title=dom-input-value><a href=#dom-input-value>value</a></code>,
+ <code class=no-backref title=dom-input-valueAsDate><a href=#dom-input-valueasdate>valueAsDate</a></code> and
+ <code class=no-backref title=dom-input-valueAsNumber><a href=#dom-input-valueasnumber>valueAsNumber</a></code> DOM attributes;
+ <code class=no-backref title=dom-input-stepDown><a href=#dom-input-stepdown>stepDown()</a></code> and
+ <code class=no-backref title=dom-input-stepUp><a href=#dom-input-stepup>stepUp()</a></code> methods.<h6 id=file-state><span class=secno>4.10.4.1.15 </span><dfn title=attr-input-type-file>File</dfn> state</h6><p>When an <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#file-state title=attr-input-type-file>File</a> state, the rules in this
section apply.<p class=big-issue>...<p>The <dfn id=attr-input-accept title=attr-input-accept><code>accept</code></dfn>
attribute may be specified to provide user agents with a hint of
what file types the server will be able to accept.<p>If specified, the attribute must consist of a <a href=#set-of-comma-separated-tokens>set of
@@ -35996,7 +36060,11 @@
namespace</a> that is not defined in this specification is
<code><a href=#htmlelement>HTMLElement</a></code>. The interface appropriate for an element
in another namespace that is not defined by that namespace's
- specification is <code>Element</code>.<p>When the steps below require the UA to <dfn id=insert-an-html-element>insert an HTML
+ specification is <code>Element</code>.<p>When a <a href=#category-reset title=category-reset>resettable</a> element is
+ created in this manner, its <a href=#concept-form-reset-control title=concept-form-reset-control>reset algorithm</a> must be
+ invoked once the attributes are set. (This initializes the element's
+ <a href=#concept-fe-value title=concept-fe-value>value</a> and <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> based on the element's
+ attributes.)</p><hr><p>When the steps below require the UA to <dfn id=insert-an-html-element>insert an HTML
element</dfn> for a token, the UA must first <a href=#create-an-element-for-the-token>create an element
for the token</a> in the <a href=#html-namespace-0>HTML namespace</a>, and then
append this node to the <a href=#current-node>current node</a>, and push it onto
Received on Thursday, 2 October 2008 07:32:16 UTC