[whatwg] Comments on Web Forms 2.0 Working Draft

Ian Hickson ian at hixie.ch
Wed Jun 30 06:05:51 PDT 2004


On Tue, 29 Jun 2004, Christian Schmidt wrote:
>
> My idea was to add an onvalidate event that a "stupid" UA would just
> trigger whenever the value changes (i.e. oninput + scripted changes). A
> "smart" UA could be optimized so that the onvalidate event is only
> triggered under the above mentioned circumstances, and perhaps it could
> even skip some calls e.g. if the user is typing quickly in a text field.

It's not a bad idea, it's just that onchange is already implemented in
every scriptable UA, so it seems better to recommend using that,
especially if the author is using libraries that fake the WF2 interface
where it is not available.


> Well, I suggest that the spec at least explicitly states that the
> validity state should be constantly maintained.

Done.

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