This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17832 - 'radio button group' rule issue
Summary: 'radio button group' rule issue
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 06:58 UTC by contributor
Modified: 2012-09-26 22:33 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2012-07-18 06:58:19 UTC
This was was cloned from bug 16400 as part of operation convergence.
Originally filed: 2012-03-16 07:30:00 +0000
Original reporter: Kent Tamura <tkent@chromium.org>

================================================================================
 #0   Kent Tamura                                     2012-03-16 07:30:34 +0000 
--------------------------------------------------------------------------------
http://dev.w3.org/html5/spec/Overview.html#radio-button-group

If we follow the rules of 'radio button group', an orphan radio button and non-orphan radio button are in a same group.  It makes some problems.  For example,

<body>
<input type=radio name=group1 id=r1 checked>
<script>
var clone = document.getElementById('r1').cloneNode();
</script>
</body>

The r1 button is unchecked because the 'clone' is added to the same group.

Proposal:
Update the following sentence:

 * Either a and b have the same form owner, or they both have no form owner.

==>

 * Either a and b have the same form owner, or they both are in a Document subtree and have no form owner.
================================================================================
 #1   Simon Pieters                                   2012-03-16 13:27:24 +0000 
--------------------------------------------------------------------------------
or maybe:

 * Either a and b have the same form owner, or they both are in the same Document subtree and have no form owner.
================================================================================
Comment 1 contributor 2012-09-26 22:33:45 UTC
Checked in as WHATWG revision r7412.
Check-in comment: radio buttons in different DOM trees can't possibly be related to each other
http://html5.org/tools/web-apps-tracker?from=7411&to=7412