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


--- 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 UTC