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

[whatwg] The type mismatch validity flag

From: Olav Junker Kjr <olav@olav.dk>
Date: Wed, 08 Dec 2004 10:09:59 +0100
Message-ID: <41B6C4E7.8040208@olav.dk>
Brian Wilson wrote:
 > This would seem to indicate that a type mismatch validity flag
 > condition can only be triggered by *manual* widget input.
 > It does make several of my automated test cases unusable though. Drat.

You could set the value through script and validate() afterwards, you 
can do that automatically.

But that raises an interesting point: If an invalid value is sat through 
script, should the value be displayed or ignored? With some widgets, 
like a slider, there is no way to display invalid values, so it would 
have to be ignored (and the value reset).

Maybe this should be implementation dependent, since the range of 
invalid values which is displayable depends on the widget.

Olav Junker Kj?r
Received on Wednesday, 8 December 2004 01:09:59 UTC

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