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

[whatwg] more comments to Webforms 2.0 Call For Comments

From: Olav Junker Kjr <olav@olav.dk>
Date: Thu, 29 Jul 2004 15:43:15 +0200
Message-ID: <4108FEF3.6050009@olav.dk>
A few comments:

2.3 "User agents implementing this specification must select the initial 
option element of a single-select select element with no 
otherwise-selected items."

But often you would want the user to explicitly select an option. (The 
same reason you might want a radio group with no default selection: you 
want to make sure the use have made a conscious descicion to choose the 
selected option). Often the first option then is something like "Select 
country" or something like that which in itself is not a valid selection.

I propose that the first option could be marked as "notanoption" or 
something like that, and if this option is selected, the control is not 
successful. If the "required" attribute is sat, the select will not be 
valid. (Right now, "required" does not apply to select-elements).

With radiobuttons it is possible that not all buttons in a group has the 
same value for the required attribute. I assume that a selection is 
reguired if just one control in the group has the required attribute.

1.6 document must use the following doctype...
Does that mean that a UA must NOT apply the semantics and functionality 
of the WF2 spec, if the document doesnt have that doctype?

Olav Junker Kj?r
Received on Thursday, 29 July 2004 06:43:15 UTC

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