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

[Bug 12151] :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: Fri, 25 Feb 2011 00:28:14 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PslXa-0005Zj-9q@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12151

--- Comment #8 from Mounir Lamouri <mounir.lamouri@gmail.com> 2011-02-25 00:28:13 UTC ---
Both actually.
That would be the first pseudo-class I see that applies or not depending on so
much conditions (has to be <input>, with type={number,range,...}, with max or
min defined and set to a valid value, then depending on the element's value,
one of the two classes will apply). But I'm far from being experienced on that
field so I trust your judgment.
For implementation, the real issue is the min/max validity which can't be
checked too often so depending on the UA, it might be more or less a pain. For
Gecko, we will have to keep a flag telling us if those attributes have valid
values for the current type.

-- 
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 Friday, 25 February 2011 00:28:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 25 February 2011 00:28:28 GMT