[whatwg] The type mismatch validity flag

Ian Hickson ian at hixie.ch
Wed Dec 8 20:07:43 PST 2004

On Wed, 8 Dec 2004, [ISO-8859-1] Olav Junker Kjær wrote:
> So the AC actually works like a custom widget hooked into the input 
> element? I think the AC should call changed() on the input element when 
> the value has been changed, to trigger validation and the formchanged 
> events. Just changing the value through script aren't supposed to 
> trigger validation or other events, since this could cause loops.

Nothing in WF2 "triggers validation" -- the pseudo-classes are 
continuously kept up to date, the DOM attributes are evaluated on-demand, 
and the events are only fired on submission.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list