[Bug 21945] Does responseXML ever return an XMLDocument

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21945

--- Comment #4 from Elliott Sprehn <esprehn@gmail.com> ---
(In reply to comment #3)
> The "XML document" and "HTML document" flag thingie is distinct from the
> interface going around.

Right, so responseXML can be an XMLDocument or an HTMLDocument but
createElement will produces HTMLElement instances.

> 
> As for what document.createElement() does. I recommend reading bug 19431.

That thread isn't clear to me. How do I know if a random document created by
document.implementation.createDocument() will produce an HTMLElement or an
Element when I do createElement('div') ?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 6 May 2013 23:17:18 UTC