[whatwg/dom] Clarify that new Document creates a document of type "html", not "xml" (#308)

The current [DOM spec says](https://dom.spec.whatwg.org/#dom-document-document) "The Document() constructor, when invoked, must return a new document whose origin is the origin of current global object’s associated Document." and there's an informal note saying "Unlike createDocument(), this constructor does not return an XMLDocument object, but a document (Document object)."

However, document's type is "xm" [by default](https://dom.spec.whatwg.org/#concept-document).  So I'm confused as to what kind of document we're creating here.

I think what we intend to say here is that we want to create a document whose type is "xml". 

-- 
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/308

Received on Friday, 19 August 2016 23:24:26 UTC