W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2007

[whatwg] (no subject)

From: Rikkert Koppes <rikkert@finalist.com>
Date: Tue, 28 Aug 2007 10:39:25 +0200
Message-ID: <CA1185AF60E1C448B4F815F26585EAC50104A1DB@EXCHANGE.finalist.nl>

I am currently implementing a js library to make wf2 functionality available to legacy browsers (I know google is doing this too). Some things that came to mind are:

- when validity flags are not set, should they equal null or false?

- this might have been proposed before: consider a reset() method for form controls and fieldsets

- in this light: consider a clearable or resettable boolean attribute for inputs, which might display a "clear" button in the field, as seen in for example the mail filter in thunderbird. This should reset the control to the default value, ie calling the above reset() method, example formatting:
+--- legend [x] -------------------+
|                                  |
|    +----------------------+      |
|    |                   [x]|      |
|    +----------------------+      |
which shows a clear button on a fieldset and input field. Note that Opera's date related fields also have an "none" button, which might be equivalent of the above

- are negative years allowed (B.C.)? the datetime description tells me "four or more digits (0 to 9) representing the year" which implies "no". use case: hystory questionary

Rikkert Koppes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20070828/2b651f91/attachment.htm>
Received on Tuesday, 28 August 2007 01:39:25 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:36 UTC