From 554b3ebf728ae80029036907405a9d07074b30f4 Mon Sep 17 00:00:00 2001 From: Jeffrey Yasskin Date: Sat, 28 Nov 2015 14:00:25 -0800 Subject: [PATCH] Clarify which registry is used for the result of create*Document() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Documents don't have associated documents, so "the associated document to the new instance" didn't pick out any particular document. `DOMImplementation`s are associated with documents, and I believe that's the document that was meant here. (Another option would be the global object’s associated document.) The DOM spec tends to use "the associated document of the context object" in methods of `DOMImplementation`, but I think the more direct form I'm using here is easier to read. --- spec/custom/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/custom/index.html b/spec/custom/index.html index d30bd80d..e8572130 100644 --- a/spec/custom/index.html +++ b/spec/custom/index.html @@ -376,7 +376,7 @@

Creating and Passing Registries

A new document instance must be associated with an existing registry in these cases: