Re: [DOMCore] Comments on tagName case

On 7/7/11 11:45 AM, João Eiras wrote:
> This needs an extra condition.
> a) If the document was parsed as html, then the rule should be used as written.
> b) If the document was parsed as xml, then case sensitivity is
> mandatory, as parsed from the original document.

The definition of "HTML Document" used here is found at

The place where "is an HTML document" flag is set is on of the following:

1) createHTMLDocument() method
2) The steps in 
(which happen only for text/html).

So I think the spec is correct as written...


Received on Thursday, 7 July 2011 16:03:25 UTC