Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify which registry is used for the result of create*Document() #353

Merged
merged 1 commit into from
Jan 5, 2016

Conversation

jyasskin
Copy link
Member

Documents don't have associated documents, so "the associated document to the new instance" didn't pick out any particular document. DOMImplementations 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.

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.
hayatoito added a commit that referenced this pull request Jan 5, 2016
Clarify which registry is used for the result of create*Document()
@hayatoito hayatoito merged commit 64d931b into WICG:gh-pages Jan 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants