[whatwg] Hacking away on forms ... (fwd)

David Håsäther hasather at gmail.com
Sun Sep 10 03:35:25 PDT 2006


On 2006-09-10 12:17, Dave Raggett wrote:
> On Sat, 9 Sep 2006, Anne van Kesteren wrote:
>> You sure IE only does this for <foo/> and not also for <foo>? It's my
>> understand they are treated as being identical in every single
>> browser. Whether or not such an element is treated as empty varies
>> from browser to browser.
> 
> For traditional HTML elements, IE uses its built-in knowledge of
> their content model, along with rules for dealing with malformed
> HTML markup.
> 
> For other elements the behavior depends upon whether the tag
> has a namespace prefix or not.
> 
> If the tag doesn't have an XML namespace prefix, then it is
> inserted into the DOM as an empty upper case element.
> 
>   <foo>     nodeName = "FOO"
>   </foo>    nodeName = "/FOO"
>   <foo/>    nodeName = "FOO"

What does tags have to do with the DOM?

-- 
David Håsäther



More information about the whatwg mailing list