<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>11212</bug_id>
          
          <creation_ts>2010-11-04 00:21:36 +0000</creation_ts>
          <short_desc>Make all the radio button group suffering from being missing (instead of only radio&apos;s with the required attribute)</short_desc>
          <delta_ts>2011-08-04 05:16:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mounir Lamouri">mounir</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>ayg</cc>
    
    <cc>douglas.wright</cc>
    
    <cc>ian</cc>
    
    <cc>jonas</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>42095</commentid>
    <comment_count>0</comment_count>
    <who name="Mounir Lamouri">mounir</who>
    <bug_when>2010-11-04 00:21:36 +0000</bug_when>
    <thetext>Currently, when a radio button is required, it will suffer from being missing if no radio elements in the radio button group is checked. However, radio elements in the group will not suffer from being missing if they do not have the required attribute. In other words, if you try to style invalid elements with :invalid, and do:
&lt;input type=&apos;radio&apos; name=&apos;s&apos; value=&apos;M&apos; required&gt;
&lt;input type=&apos;radio&apos; name=&apos;s&apos; value=&apos;F&apos;&gt;
only the first element will be styled.

I think we should move the requirement to the radio button group that way: &quot;The radio button group suffers from being missing if one of the input elements in the radio button group is required and all of them have a checkedness that is false.&quot; and radio elements would have this constraint: &quot;If the radio button group is suffering from being missing, the element is suffering from being missing.&quot;.

That way, all radio elements in the same radio button group will have the same validity state. That would be less annoying for authors and error proof while making things clearer (IMO).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42112</commentid>
    <comment_count>1</comment_count>
    <who name="Doug Wright">douglas.wright</who>
    <bug_when>2010-11-04 10:08:25 +0000</bug_when>
    <thetext>See related bug 10833.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42114</commentid>
    <comment_count>2</comment_count>
    <who name="Doug Wright">douglas.wright</who>
    <bug_when>2010-11-04 10:18:52 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; See related bug 10833.

Ignore me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45335</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-02-10 02:19:30 +0000</bug_when>
    <thetext>I replied to this last month, here:
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-January/029733.html

I will reply to its only reply so far in due course, and then update this bug accordingly:
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-January/029808.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45341</commentid>
    <comment_count>4</comment_count>
    <who name="Mounir Lamouri">mounir</who>
    <bug_when>2011-02-10 09:20:06 +0000</bug_when>
    <thetext>FWIW, it&apos;s implemented in current Firefox betas.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46378</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-03-04 23:42:34 +0000</bug_when>
    <thetext>Opera does what the spec says; Firefox does what this proposal says.
Are there any other implementations of required=&quot;&quot; on radio buttons?
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/864</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46431</commentid>
    <comment_count>6</comment_count>
    <who name="Mounir Lamouri">mounir</who>
    <bug_when>2011-03-06 13:09:46 +0000</bug_when>
    <thetext>Anne, I think you agreed with this change when I sent an email to the mailing list. Do Opera has plan to update its implementation?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46432</commentid>
    <comment_count>7</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-03-06 14:00:40 +0000</bug_when>
    <thetext>No immediate plans, but we are definitely cool with changing our behavior for the better in due course. That&apos;s even easier if the specification requires it to be different and there&apos;s testcases effectively &quot;blaming&quot; us for being too fast with implementing this stuff :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48148</commentid>
    <comment_count>8</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-05-06 00:38:19 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: see discussion above.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48149</commentid>
    <comment_count>9</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-05-06 00:38:34 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r6094.
Check-in comment: Make it so that if you make one &lt;input type=radio&gt; required, they all end up required.
http://html5.org/tools/web-apps-tracker?from=6093&amp;to=6094</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53693</commentid>
    <comment_count>10</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:16:24 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>