- From: <bugzilla@jessica.w3.org>
- Date: Mon, 15 Oct 2012 10:12:27 +0000
- To: public-webapps-bugzilla@w3.org
- Message-ID: <bug-19431-2532-kQKpCf5QjM@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19431 --- Comment #12 from Aryeh Gregor <ayg@aryeh.name> --- I wrote a comment, but either I didn't submit it or it vanished. I wrote tests, which test for the HTML namespace if .contentType is "text/html" or "application/xhtml+xml" and null otherwise: http://w3c-test.org/webapps/DOMCore/tests/submissions/AryehGregor/Document-createElement-namespace.html IE10 Developer Preview: 45/46 in both IE10 and IE9 mode; also returns HTML namespace if you do .createDocument(htmlNamespace, "html", null).createElement("x"), although the .contentType is still "application/xml" Firefox 19.0a1: 46/46 Chrome 23 dev: 42/46; also returns the HTML namespace for application/xml if the original root element had the HTML namespace Opera 12.50 internal: 24/46; uses a totally different algorithm, as discussed I think this is not substantially more complicated and much more closely matches what browsers do. Are there any objections to changing the spec to match this approach, or do we want browsers to change here? -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Monday, 15 October 2012 10:12:28 UTC