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

[whatwg] default select item that does not satisfy required attr.

From: dolphinling <lists@dolphinling.net>
Date: Fri, 24 Feb 2006 10:26:14 -0500
Message-ID: <43FF2596.9040001@dolphinling.net>
dolphinling wrote:
> What do current UAs do with known non-option elements and 
> unknown elements in <select>?

Replying to myself, it seems that Firefox trunk ignores all three of 
text not in any element, text in a known non-option element, and text in 
an unknown element, when served as text/html, even not including them in 
the DOM. When served as application/xhtml+xml, they are displayed as 
would be expected (inside the dropdown, <p> with margins, etc.), but <p 
selected="selected" does not make the <p> the first thing shown.

So it appears my first idea is infeasable backwards-compatibly.

-- 
dolphinling
<http://dolphinling.net/>
Received on Friday, 24 February 2006 07:26:14 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:26 UTC