[whatwg] What happens with unknown elements in WA1?

dolphinling lists at dolphinling.net
Wed Mar 8 13:32:52 PST 2006

Ian Hickson wrote:
> On Wed, 8 Mar 2006, dolphinling wrote:
>>Where in the WA1 spec is it described what happens with unknown 
>>elements? Thanks.
> "what happens" in what sense?

Are they ignored completely, as if they hadn't been typed in the first 
place? Are they put in the DOM and nothing is done with them? How do 
they affect things like CSS child selectors?

I'm also looking for special cases, like in a <select>. I don't know 
about other browsers, but Gecko trunk seems to treat <foo1> as an inline 
in a <div> but ignore it entirely in a <select> and move it outside the 
table between <table> and <tr> or <tr> and <td> (is that its normal 
behavior for inlines?).

<!DOCTYPE html>
   <style type='text/css'></style>



(whitespace removed)


More information about the whatwg mailing list