[whatwg] [WF2] The :in-range and :out-of-range pseudo classes

Arve Bersvendsen arveb at opera.com
Mon Oct 2 02:26:28 PDT 2006


In chapter 8.2 of the WF2 draft,
<URL:http://whatwg.org/specs/web-forms/current-work/#relation> additional
CSS pseudo-classes are specified. Are file upload controls left out of the
definition of :in-range and :out-of-range on purpose, or is it an
oversight in the specification?

:in-range
Matches numeric, date-related, or time-related form control elements which
have a min or max attribute set and whose validity objects have none of
the typeMismatch, rangeUnderflow, and rangeOverflow flags set.

:out-of-range
Matches numeric, date-related, or time-related form control elements which
have a min or max attribute set and whose validity objects have one or
both of the rangeUnderflow and rangeOverflow flags set.

-- 
Arve Bersvendsen, Opera Software ASA, http://www.opera.com/



More information about the whatwg mailing list