W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > February 2011

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 22 Feb 2011 00:08:18 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-12151-2486@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 February 2011 00:08:44 GMT