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

Align with DOM DocumentFragment adoption changes #5413

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -61311,8 +61311,8 @@ interface <dfn interface>HTMLTemplateElement</dfn> : <span>HTMLElement</span> {
contents</span>:</p>

<ol>
<li><p>Let <var>doc</var> be the <code>template</code> element's <span>node document</span>'s <span>appropriate template contents owner
document</span>.</p></li>
<li><p>Let <var>doc</var> be the <code>template</code> element's <span>node document</span>'s
<span>appropriate template contents owner document</span>.</p></li>

<li><p>Create a <code>DocumentFragment</code> object whose <span>node document</span> is
<var>doc</var> and <span data-x="concept-DocumentFragment-host">host</span> is the
Expand Down Expand Up @@ -61368,15 +61368,15 @@ interface <dfn interface>HTMLTemplateElement</dfn> : <span>HTMLElement</span> {

<ol>
<li>
<p>Let <var>doc</var> be <var>node</var>'s <span>node document</span>'s
<span>appropriate template contents owner document</span>.</p>
<p>Let <var>doc</var> be <var>node</var>'s <span>node document</span>'s <span>appropriate
template contents owner document</span>.</p>

<p class="note"><var>node</var>'s <span>node document</span> is the <code>Document</code> object
that <var>node</var> was just adopted <em>into</em>.</p>
</li>

<li><p><span data-x="concept-node-adopt">Adopt</span> <var>node</var>'s
<span>template contents</span> (a <code>DocumentFragment</code> object) into <var>doc</var>.</p></li>
<li><p><span data-x="concept-node-adopt">Adopt</span> <var>node</var>'s <span>template
contents</span> into <var>doc</var>, with true.</p></li>
Copy link
Contributor

Choose a reason for hiding this comment

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

This change (adding , with true) is ok by me. But there seems to be a compat issue with the more general change.

</ol>

<p>The <dfn attribute for="HTMLTemplateElement"><code
Expand Down