[Bug 15703] New: ":required" pseudo selector for a radio button group

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15703

           Summary: ":required" pseudo selector for a radio button group
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: tkent@chromium.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


http://dev.w3.org/html5/spec/Overview.html#selector-required
> :required
>   The :required pseudo-class must match any element falling into one of the following categories:
>    - input elements that are required

According to this definition, radio1 in the following example is not matched to
":required" though radio1 is invalid.  I think it's inconsistent and we had
better add an exceptional rule for radio button groups.

<form>
<input type=radio name=group1 id=radio1>
<input type=radio name=group1 required>
</form>

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Wednesday, 25 January 2012 04:13:32 UTC