[whatwg] WebForms2 validity
ian at hixie.ch
Tue Oct 28 13:09:22 PDT 2008
On Fri, 9 Feb 2007, Sean Hogan wrote:
> I might be missing something obvious, but...
> When are ValidityState properties updated? And when are CSS pseudo-classes
> (:valid, :invalid, :in-range, :out-of-range) updated?
Continually (in particular whenever the constraints or the values change
-- the validity states are defined in terms of those values).
> Many textual input form-controls would begin in one or another invalid
> state (valueMissing, patternMismatch) however authors would typically
> want CSS validity styles to apply only after checkValidity() - either a
> manual one or the automatic one performed by form-submission.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg