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

Move DOMParser to HTML #60

Merged
merged 2 commits into from Jan 29, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -214,7 +214,7 @@ <h2>Extensibility</h2>
<span id="dom-supportedtype-application/xhtml+xml"></span>
<span id="dom-supportedtype-image/svg+xml"></span>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This mechanism for preserving the IDs is clever. We should do the same thing for any other cases where we’re moving something out of a spec, and maybe consider documenting it somewhere as a best practice (though I don’t know often this case comes up). Among other reasons, it ensures any existing links in the Specifications tables in MDN articles still bring readers to the point in the document where they need to be (in this, to the statement that the content’s been moved to the HTML spec).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've been doing it in HTML when moving things around, and Bikeshed has oldids="" (https://tabatkins.github.io/bikeshed/#id-gen). There might even be something similar in ReSpec, but I'm not as familiar...


<p>The definition of <code>DOMParser</code> has moved to <a href="https://multipage.html.spec.whatwg.org/dynamic-markup-insertion.html#domparser">the HTML Standard</a>.</p>
<p>The definition of <code>DOMParser</code> has moved to <a href="https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#domparser">the HTML Standard</a>.</p>

</section><!-- end DOMParser interface -->

Expand Down