[Bug 12151] New: :in-range and :out-of-range should only apply to input elements with a type for which min or max apply

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12151

           Summary: :in-range and :out-of-range should only apply to input
                    elements with a type for which min or max apply
           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: mounir.lamouri@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


According to CSS3-UI [1], "The :in-range and :out-of-range pseudo-classes apply
only to elements that have range limitations." but according to HTML specs [2],
:in-range and :out-of-range apply to all elements that are candidates for
constraint validation (then one will apply or the other).

It seems better to have those pseudo-classes only apply to input elements with
a type for which min or max apply (number, range and all date/time types).

[1] http://www.w3.org/TR/css3-ui/#pseudo-range
[2]
http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#pseudo-classes

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 22 February 2011 00:08:19 UTC