[whatwg] more comments to Webforms 2.0 Call For Comments

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