- From: <bugzilla@jessica.w3.org>
- Date: Tue, 07 May 2013 09:36:40 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21945 Simon Pieters <simonp@opera.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simonp@opera.com --- Comment #6 from Simon Pieters <simonp@opera.com> --- (In reply to comment #4) > Right, so responseXML can be an XMLDocument or an HTMLDocument but > createElement will produces HTMLElement instances. No. responseXML can only be Document. HTMLDocument no longer exists (it has been merged with Document). XMLDocument is only returned by the document.createDocument() API. As Anne said, "HTML document" and "XML document" are different concepts. > 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') ? Currently createElement('div') always produces an HTMLDivElement, regardless of the document. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Tuesday, 7 May 2013 09:36:42 UTC