[whatwg] [wf2] 2.3. Changes to existing controls

Quoting Ian Hickson <ian at hixie.ch>:
>>>> # A control is said to have no value selected if its value is the
>>>> # empty string.
>>>>
>>>> "empty string" was the bit I was falling over.
>>>
>>> But that doesn't have any effect on radio buttons or check boxes.
>>> (Especially now that I've removed that odd example I mentioned.)
>>
>> If you say so. It is not particularly clear to me though, as should be
>> clear by now.
>
> Apparently... but I don't see how it could have any effect. Nothing in the
> spec says anything about "no value selected" having any effect on radio
> buttons or check boxes, does it?

It says "A control". Perhaps it should say, "A form control, with the 
exception
of radio buttons, checkboxes and file controls, is said to have no value
selected if its value is the empty string."


> It's a problem in HTML too (depends on the UA, typically, some are more
> compliant than others).

Right... You mean the one that is based on SGML?


-- 
Anne van Kesteren
<http://annevankesteren.nl/>

Received on Saturday, 29 October 2005 03:20:59 UTC