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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>76365</bug_id>
          
          <creation_ts>2012-01-15 22:17:44 -0800</creation_ts>
          <short_desc>A radio button should be &quot;required&quot; if one of a member of the same group has the &quot;required&quot; attribute.</short_desc>
          <delta_ts>2012-01-24 18:08:17 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Forms</component>
          <version>528+ (Nightly build)</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>
          <dependson>74909</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kent Tamura">tkent</reporter>
          <assigned_to name="Kent Tamura">tkent</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>536365</commentid>
    <comment_count>0</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2012-01-15 22:17:44 -0800</bug_when>
    <thetext>&lt;form&gt;
 &lt;input type=radio name=group1 required id=radio1&gt;
 &lt;input type=radio name=group1 id=radio2&gt;
&lt;/form&gt;

radio2 is always valid in WebKit because it has no &quot;required&quot;. This is a behavior described in old HTML5 draft.

The current HTML specification says radio2 should be invalid because radio1 has required and there is no checked radio button in the group.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>541930</commentid>
    <comment_count>1</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2012-01-24 18:08:17 -0800</bug_when>
    <thetext>The behavior was fixed by http://trac.webkit.org/changeset/105710</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>