- From: Ian Hickson <ian@hixie.ch>
- Date: Tue, 28 Oct 2008 20:09:22 +0000 (UTC)
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. Why? -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 28 October 2008 13:09:22 UTC