[html5] r2259 - [] (0) WF2: <input type=radio>

whatwg at whatwg.org whatwg at whatwg.org
Thu Oct 2 00:31:31 PDT 2008


Author: ianh
Date: 2008-10-02 00:31:30 -0700 (Thu, 02 Oct 2008)
New Revision: 2259

Modified:
   index
   source
Log:
[] (0) WF2: <input type=radio>

/home/ianh/svn/webapps/hooks/commit-email.pl: `/usr/bin/svnlook diff /home/ianh/svn/webapps -r 2259' failed with this output:
Modified: index
===================================================================
--- index	2008-10-02 03:34:09 UTC (rev 2258)
+++ index	2008-10-02 07:31:30 UTC (rev 2259)
@@ -23341,8 +23341,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 -->
@@ -24843,14 +24843,13 @@
   false, a negative selection.</p>
 
   <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>
+  the user should allow the user to toggle the <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> state.</p>
 
   <p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
   follows:</strong> Do nothing.</p>
 
   <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>
@@ -24860,6 +24859,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>,
@@ -24889,10 +24889,91 @@
   <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>
 
-  <p class=big-issue>...</p>
+  <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>
 
+  <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:</p>
 
+  <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>
+
+  <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>
+
+  <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>
+
+  <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>
+
+  <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>
+
+  <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.</p>
+
+
+
+
   <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
@@ -45119,7 +45200,13 @@
   in another namespace that is not defined by that namespace's
   specification is <code>Element</code>.</p>
 
-  <p>When the steps below require the UA to <dfn id=insert-an-html-element>insert an HTML
+  <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

Modified: source
===================================================================



More information about the Commit-Watchers mailing list