Re: [whatwg/dom] Change .createElement() namespace to match UAs (#213)

It occurs to me that one peculiarity of using content type is that if you use createDocument() to create an (X)HTML document, it will have a content type of application/xml per spec, which maybe is not what we want?  Is there a better way to say "HTML or XHTML document"?  Chrome's createDocument() actually seems to set contentType based on the namespace, so it will behave as expected here.  Perhaps it would make sense to change createDocument() to match Chrome, and then this issue goes away.

---
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/pull/213#issuecomment-208916374

Received on Tuesday, 12 April 2016 13:51:29 UTC