[whatwg] Select conformance

On Mar 31, 2006, at 01:10, Matthew Paul Thomas wrote:

>> Is it conforming to have no option that is marked selected? (I  
>> think allowing this is safe.)
>
> I'm pretty sure we've been through this before -- I think it  
> shouldn't be, ratemy*.com thinks it should be, and there are more  
> of those sites than there are of me. :-) (Why they don't just use a  
> set of numbered <input type="submit">s, which would work even with  
> JavaScript off, I have no idea.)

Those are radio buttons. The spec says the UA should select the first  
non-disabled <option> in the <select> case.

On Mar 31, 2006, at 03:31, fantasai wrote:
> Hixie would have said something about it being nonconforming to  
> have no
> selected options at that point, and wouldn't have had multiple  
> examples
> of <select>s with no selected options, if that was what he meant.

Good point. I only read the spec prose that dealt with UA behavior  
and was silent on conformance.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/

Received on Saturday, 1 April 2006 03:09:59 UTC