<?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>25254</bug_id>
          
          <creation_ts>2014-04-04 09:48:10 +0000</creation_ts>
          <short_desc>forms: logic for canceled activation steps for radio buttons</short_desc>
          <delta_ts>2014-08-04 22:25:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://github.com/w3c/web-platform-tests/issues/994</see_also>
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#radio-button-state-(type=radio)</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>103401</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-04-04 09:48:10 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html
Multipage: http://www.whatwg.org/C#radio-button-state-(type=radio)
Complete: http://www.whatwg.org/c#radio-button-state-(type=radio)
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html

Comment:
&quot;The canceled activation steps consist of setting the element&apos;s checkedness to
false.&quot; needs to also revert the checkedness state of other radio buttons that
were affected.
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2917

Posted from: 90.230.218.37 by simonp@opera.com
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.76 Safari/537.36 OPR/21.0.1432.31 (Edition Next)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103409</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2014-04-04 11:05:04 +0000</bug_when>
    <thetext>Also see https://www.w3.org/Bugs/Public/show_bug.cgi?id=25258

and consider if the element or the other affected radio button changes type or changes name or changes form owner or home subtree...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105346</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-05-07 20:55:32 +0000</bug_when>
    <thetext>What Firefox is doing is just setting the checkedness of the previously-checked radio button, if any, or else just unsetting the target.

What Chrome is doing involves checking the types.

Firefox seems simplest.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105418</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2014-05-08 08:53:53 +0000</bug_when>
    <thetext>(In reply to Ian &apos;Hixie&apos; Hickson from comment #2)
&gt; What Firefox is doing is just setting the checkedness of the
&gt; previously-checked radio button, if any, or else just unsetting the target.

I guess that works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106303</commentid>
    <comment_count>4</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2014-05-19 03:01:12 +0000</bug_when>
    <thetext>https://github.com/w3c/web-platform-tests/issues/994</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109895</commentid>
    <comment_count>5</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-08-04 22:25:37 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8704.
Check-in comment: Change how we define what happens when radio buttons are clicked but the event is canceled
http://html5.org/tools/web-apps-tracker?from=8703&amp;to=8704</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>