diff --git a/dom.bs b/dom.bs index 1702bb9f..3728bfbd 100644 --- a/dom.bs +++ b/dom.bs @@ -4336,9 +4336,19 @@ dom-Range-extractContents, dom-Range-cloneContents -->
Set copy's encoding, content type, - URL, origin, type, and - mode to those of node. +
Set copy's: +
Set copy's name, public ID, and @@ -4880,8 +4890,8 @@ known as documents.
Unless stated otherwise, a document's encoding is the utf-8
encoding, content type is
"application/xml
", URL is "about:blank
",
-origin is an opaque origin,
-type is "xml
", and its
+origin is the document's policy container's
+origin, type is "xml
", and its
mode is "no-quirks
".
A document is said to be an XML document if its type
@@ -4940,7 +4950,8 @@ null if event's {{Event/type}} attribute value is "load
"
The new Document()
constructor
-steps are to set this's origin to the origin of
+steps are to set this's policy container's
+origin to the origin of
current global object's associated Document
. [[!HTML]]
Unlike {{DOMImplementation/createDocument()}}, this constructor does not