Re: [whatwg/dom] createDocument() should use namespace to set content type (#217)

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4057

It seems WebKit also supports it; uses `application/xml`. However, that type is less useful than `application/xhtml+xml` given that `createElement` uses `null` as namespace. My thought is then if `new Document()` could be changed to `application/xhtml+xml`.

But maybe that conflicts with `HTMLDocument` vs. `Document` -- if we have to change how that works in the specs as well... http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4058 logs `false` in WebKit/Chromium/Gecko.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/217#issuecomment-209654189

Received on Wednesday, 13 April 2016 21:30:23 UTC