W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2004

[whatwg] Some questions to WF2

From: Maniac <Maniac@SoftwareManiacs.Org>
Date: Fri, 10 Dec 2004 12:41:17 +0300
Message-ID: <41B96F3D.4080806@SoftwareManiacs.Org>
Olav Junker Kj?r wrote:

> Okay, but then the output element should also support the validation 
> interface. I think it is confusing that elements which dont support 
> validation exposes e.g. the setCustomValidity() method. I would prefer 
> a flag isValidateable or something like that, which could be checked 
> before accessing the validation interface.

May be then just specify new collection like 'form.validatedElements'? 
It may be walked through without additional checking and allows not to 
introduce confusing methods to other elements.

And for the DOM, I beleive, some pre-defined TreeWalker may do the job...
Received on Friday, 10 December 2004 01:41:17 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:38 UTC