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

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