HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2259WF2: <input type=radio>2008-10-02 07:31
@@ -25911,22 +25911,22 @@ function AddCloud(data, x, y) { ... }</pre>
      <td class="yes"> Yes <!-- Text -->
      <td class="yes"> Yes <!-- E-mail -->
      <td class="yes"> Yes <!-- URL -->
      <td class="yes"> Yes <!-- Password -->
      <td class="yes"> Yes <!-- Date and Time -->
      <td class="yes"> Yes <!-- Date -->
      <td class="yes"> Yes <!-- Month -->
      <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"> &middot; <!-- Range -->
      <td class="no"> &middot; <!-- Checkbox -->
      <td class="no"> &middot; <!-- Radio Button -->
      <td class="no"> &middot; <!-- File -->
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Submit Button -->
      <td class="no"> &middot; <!-- Image Button -->
      <td class="no"> &middot; <!-- Reset Button -->
      <td class="no"> &middot; <!-- Button -->
 
     <tr>
@@ -27647,37 +27647,37 @@ function AddCloud(data, x, y) { ... }</pre>
 
   <p>The <code>input</code> element represents a two-state control
   that represents the element's <span
   title="concept-fe-checked">checkedness</span> state. If the
   element's <span title="concept-fe-checked">checkedness</span> state
   is true, the control represents a positive selection, and if it is
   false, a negative selection.</p>
 
   <p>If the element is <i title="concept-input-mutable">mutable</i>,
   the user should allow the user to toggle the <span
-  title="concept-input-checked">checkedness</span> state.</p>
+  title="concept-fe-checked">checkedness</span> state.</p>
 
   <p><strong>The <span>value sanitization algorithm</span> is as
   follows:</strong> Do nothing.</p>
 
   <p>The following common <code>input</code> element content
   attributes and DOM attributes apply to the element:
-  <code title="attr-input-autocomplete">autocomplete</code>,
   <code title="attr-input-checked">checked</code>, and
   <code title="attr-input-required">required</code> content attributes;
   <code class="no-backref" title="dom-input-checked">checked</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">accept</code>,
   <code class="no-backref" title="attr-fs-action">action</code>,
   <code class="no-backref" title="attr-input-alt">alt</code>,
+  <code class="no-backref" title="attr-input-autocomplete">autocomplete</code>,
   <code class="no-backref" title="attr-fs-enctype">enctype</code>,
   <code class="no-backref" title="attr-input-list">list</code>,
   <code class="no-backref" title="attr-input-max">max</code>,
   <code class="no-backref" title="attr-input-maxlength">maxlength</code>,
   <code class="no-backref" title="attr-fs-method">method</code>,
   <code class="no-backref" title="attr-input-min">min</code>,
   <code class="no-backref" title="attr-input-pattern">pattern</code>,
   <code class="no-backref" title="attr-input-readonly">readonly</code>,
   <code class="no-backref" title="attr-input-size">size</code>,
   <code class="no-backref" title="attr-input-src">src</code>,
@@ -27695,21 +27695,119 @@ function AddCloud(data, x, y) { ... }</pre>
 
 
 
   <h6><dfn title="attr-input-type-radio">Radio Button</dfn> state</h6>
 
   <p>When an <code>input</code> element's <code
   title="attr-input-type">type</code> attribute is in the <span
   title="attr-input-type-radio">Radio Button</span> state, the rules
   in this section apply.</p>
 
-  <p class="big-issue">...</p>
+  <p>The <code>input</code> element represents a control that, when
+  used in conjunction with other <code>input</code> elements, forms a
+  <i>radio button group</i> in which only one control can have its
+  <span title="concept-fe-checked">checkedness</span> state set to
+  true. If the element's <span
+  title="concept-fe-checked">checkedness</span> 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><i>radio button group</i></dfn> that contains an
+  <code>input</code> element <var title="">a</var> also contains all
+  the other <code>input</code> elements <var title="">b</var> that
+  fulfill all of the following conditions:</p>
+
+  <ul>
+
+   <li>The <code>input</code> element <var title="">b</var>'s <code
+   title="attr-input-type">type</code> attribute is in the <span
+   title="attr-input-type-radio">Radio Button</span> state.</li>
+
+   <li>Either neither <var title="">a</var> nor <var title="">b</var>
+   have a <span>form owner</span>, 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
+   <span>compatibility caseless</span> 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>input</code> element whose
+  <i>radio button group</i> contains only that element.</p>
+
+  <p>If the element is <i title="concept-input-mutable">mutable</i>,
+  the user should allow the user to set the <span
+  title="concept-fe-checked">checkedness</span> state of the
+  element to true.</p>
+
+  <p>When any of the following events occur, if the element's <span
+  title="concept-fe-checked">checkedness</span> state is true after
+  the event, the <span
+  title="concept-fe-checked">checkedness</span> state of all the
+  other elements in the same <i>radio button group</i> must be set to
+  false:</p> <!-- XXX event firing order and timing -->
+
+  <ul>
+
+   <li>The element's <span
+   title="concept-fe-checked">checkedness</span> 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 <span>form owner</span> changes.</li>
+
+  </ul>
+
+  <p><strong>The <span>value sanitization algorithm</span> is as
+  follows:</strong> Do nothing.</p>
+
+  <p>The following common <code>input</code> element content
+  attributes and DOM attributes apply to the element:
+  <code title="attr-input-checked">checked</code> and
+  <code title="attr-input-required">required</code> content attributes;
+  <code class="no-backref" title="dom-input-checked">checked</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">accept</code>,
+  <code class="no-backref" title="attr-fs-action">action</code>,
+  <code class="no-backref" title="attr-input-alt">alt</code>,
+  <code class="no-backref" title="attr-input-autocomplete">autocomplete</code>,
+  <code class="no-backref" title="attr-fs-enctype">enctype</code>,
+  <code class="no-backref" title="attr-input-list">list</code>,
+  <code class="no-backref" title="attr-input-max">max</code>,
+  <code class="no-backref" title="attr-input-maxlength">maxlength</code>,
+  <code class="no-backref" title="attr-fs-method">method</code>,
+  <code class="no-backref" title="attr-input-min">min</code>,
+  <code class="no-backref" title="attr-input-pattern">pattern</code>,
+  <code class="no-backref" title="attr-input-readonly">readonly</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">step</code>, and
+  <code class="no-backref" title="attr-fs-target">target</code>.</p>
+
+  <p>The following DOM attributes and methods do not apply to the element:
+  <code class="no-backref" title="dom-input-list">list</code>,
+  <code class="no-backref" title="dom-input-selectedOption">selectedOption</code>,
+  <code class="no-backref" title="dom-input-value">value</code>,
+  <code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code> and
+  <code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code> DOM attributes;
+  <code class="no-backref" title="dom-input-stepDown">stepDown()</code> and
+  <code class="no-backref" title="dom-input-stepUp">stepUp()</code> methods.</p>
+
 
 
 
   <h6><dfn title="attr-input-type-file">File</dfn> state</h6>
 
   <p>When an <code>input</code> element's <code
   title="attr-input-type">type</code> attribute is in the <span
   title="attr-input-type-file">File</span> state, the rules in this
   section apply.</p>
 
@@ -51276,20 +51374,30 @@ interface <dfn>MessageChannel</dfn> {
   the tag name being the name of that element, with the node being in
   the given namespace, and with the attributes on the node being those
   given in the given token.</p>
 
   <p>The interface appropriate for an element in the <span>HTML
   namespace</span> that is not defined in this specification is
   <code>HTMLElement</code>. The interface appropriate for an element
   in another namespace that is not defined by that namespace's
   specification is <code>Element</code>.</p>
 
+  <p>When a <span title="category-reset">resettable</span> element is
+  created in this manner, its <span
+  title="concept-form-reset-control">reset algorithm</span> must be
+  invoked once the attributes are set. (This initializes the element's
+  <span title="concept-fe-value">value</span> and <span
+  title="concept-fe-checked">checkedness</span> based on the element's
+  attributes.)</p>
+
+  <hr>
+
   <p>When the steps below require the UA to <dfn>insert an HTML
   element</dfn> for a token, the UA must first <span>create an element
   for the token</span> in the <span>HTML namespace</span>, and then
   append this node to the <span>current node</span>, and push it onto
   the <span>stack of open elements</span> so that it is the new
   <span>current node</span>.</p>
 
   <p>The steps below may also require that the UA insert an HTML
   element in a particular place, in which case the UA must follow the
   same steps except that it must insert or append the new node in the

|