[html5] r6094 - [giow] (1) Make it so that if you make one <input type=radio> required, they all [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu May 5 17:38:23 PDT 2011
Author: ianh
Date: 2011-05-05 17:38:22 -0700 (Thu, 05 May 2011)
New Revision: 6094
Modified:
complete.html
index
source
Log:
[giow] (1) Make it so that if you make one <input type=radio> required, they all end up required.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11212
Modified: complete.html
===================================================================
--- complete.html 2011-05-06 00:29:15 UTC (rev 6093)
+++ complete.html 2011-05-06 00:38:22 UTC (rev 6094)
@@ -45346,11 +45346,11 @@
cancelable. Once this fires, the control is checked, end of story.
-->.</p>
- <p><strong>Constraint validation</strong>: If the element is <i title=concept-input-required><a href=#concept-input-required>required</a></i> and all of the
+ <p><strong>Constraint validation</strong>: If an element in the
+ <i><a href=#radio-button-group>radio button group</a></i> is <i title=concept-input-required><a href=#concept-input-required>required</a></i>, and all of the
<code><a href=#the-input-element>input</a></code> elements in the <i><a href=#radio-button-group>radio button group</a></i> have a
- <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> that is
- false, then the element is <a href=#suffering-from-being-missing>suffering from being
- missing</a>.</p>
+ <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> that is false,
+ then the element is <a href=#suffering-from-being-missing>suffering from being missing</a>.</p>
</div>
@@ -50370,7 +50370,9 @@
<dd> <p>When a control has no <a href=#concept-fe-value title=concept-fe-value>value</a> but has a <code title="">required</code> attribute (<code><a href=#the-input-element>input</a></code> <code title=attr-input-required><a href=#attr-input-required>required</a></code>, <code><a href=#the-select-element>select</a></code>
<code title=attr-select-required><a href=#attr-select-required>required</a></code>,
- <code><a href=#the-textarea-element>textarea</a></code> <code title=attr-textarea-required><a href=#attr-textarea-required>required</a></code>). </dd>
+ <code><a href=#the-textarea-element>textarea</a></code> <code title=attr-textarea-required><a href=#attr-textarea-required>required</a></code>), or, in the case of
+ an element in a <i><a href=#radio-button-group>radio button group</a></i>, any of the other
+ elements in the group has a <code title=attr-input-required><a href=#attr-input-required>required</a></code> attribute. </dd>
<dt> <dfn id=suffering-from-a-type-mismatch>Suffering from a type mismatch</dfn> </dt>
Modified: index
===================================================================
--- index 2011-05-06 00:29:15 UTC (rev 6093)
+++ index 2011-05-06 00:38:22 UTC (rev 6094)
@@ -45374,11 +45374,11 @@
cancelable. Once this fires, the control is checked, end of story.
-->.</p>
- <p><strong>Constraint validation</strong>: If the element is <i title=concept-input-required><a href=#concept-input-required>required</a></i> and all of the
+ <p><strong>Constraint validation</strong>: If an element in the
+ <i><a href=#radio-button-group>radio button group</a></i> is <i title=concept-input-required><a href=#concept-input-required>required</a></i>, and all of the
<code><a href=#the-input-element>input</a></code> elements in the <i><a href=#radio-button-group>radio button group</a></i> have a
- <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> that is
- false, then the element is <a href=#suffering-from-being-missing>suffering from being
- missing</a>.</p>
+ <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> that is false,
+ then the element is <a href=#suffering-from-being-missing>suffering from being missing</a>.</p>
</div>
@@ -50398,7 +50398,9 @@
<dd> <p>When a control has no <a href=#concept-fe-value title=concept-fe-value>value</a> but has a <code title="">required</code> attribute (<code><a href=#the-input-element>input</a></code> <code title=attr-input-required><a href=#attr-input-required>required</a></code>, <code><a href=#the-select-element>select</a></code>
<code title=attr-select-required><a href=#attr-select-required>required</a></code>,
- <code><a href=#the-textarea-element>textarea</a></code> <code title=attr-textarea-required><a href=#attr-textarea-required>required</a></code>). </dd>
+ <code><a href=#the-textarea-element>textarea</a></code> <code title=attr-textarea-required><a href=#attr-textarea-required>required</a></code>), or, in the case of
+ an element in a <i><a href=#radio-button-group>radio button group</a></i>, any of the other
+ elements in the group has a <code title=attr-input-required><a href=#attr-input-required>required</a></code> attribute. </dd>
<dt> <dfn id=suffering-from-a-type-mismatch>Suffering from a type mismatch</dfn> </dt>
Modified: source
===================================================================
--- source 2011-05-06 00:29:15 UTC (rev 6093)
+++ source 2011-05-06 00:38:22 UTC (rev 6094)
@@ -50778,12 +50778,12 @@
cancelable. Once this fires, the control is checked, end of story.
-->.</p>
- <p><strong>Constraint validation</strong>: If the element is <i
- title="concept-input-required">required</i> and all of the
+ <p><strong>Constraint validation</strong>: If an element in the
+ <i>radio button group</i> is <i
+ title="concept-input-required">required</i>, and all of the
<code>input</code> elements in the <i>radio button group</i> have a
- <span title="concept-fe-checked">checkedness</span> that is
- false, then the element is <span>suffering from being
- missing</span>.</p>
+ <span title="concept-fe-checked">checkedness</span> that is false,
+ then the element is <span>suffering from being missing</span>.</p>
</div>
@@ -56713,7 +56713,10 @@
title="attr-input-required">required</code>, <code>select</code>
<code title="attr-select-required">required</code>,
<code>textarea</code> <code
- title="attr-textarea-required">required</code>). </p></dd>
+ title="attr-textarea-required">required</code>), or, in the case of
+ an element in a <i>radio button group</i>, any of the other
+ elements in the group has a <code
+ title="attr-input-required">required</code> attribute. </p></dd>
<dt> <dfn>Suffering from a type mismatch</dfn> </dt>
More information about the Commit-Watchers
mailing list