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

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

From: David Håsäther <hasather@gmail.com>
Date: Sun, 10 Sep 2006 12:35:25 +0200
Message-ID: <4503EA6D.6020408@gmail.com>
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
Received on Sunday, 10 September 2006 03:35:25 UTC

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