W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2006

[whatwg] Select conformance

From: Henri Sivonen <hsivonen@iki.fi>
Date: Sat, 1 Apr 2006 14:09:59 +0300
Message-ID: <A6CD7A26-E2C9-42C9-93BA-5D57104D1F07@iki.fi>
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

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