Skip to content

Commit 9caff77

Browse files
committed
Fixup
1 parent 68bc1ec commit 9caff77

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

source

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108203,18 +108203,18 @@ document.body.appendChild(text);
108203108203
<li><p>If the start tag for the <span data-x="concept-declarative-template-element">declarative template element</span> had an attribute with the name "shadowroot" whose value was an ASCII case-insensitive match for the strings "open" or "closed", then mark the template element as a
108204108204
<dfn><var data-x="concept-declarative-shadow-root">"declarative shadow root"</var></dfn>. Let the <dfn><var data-x="concept-declarative-shadow-mode">declarative shadow mode</var></dfn> be the value of the "shadowroot" attribute.</p></li>
108205108205

108206-
<li><p>If this is not a <span data-x="concept-declarative-shadow-root">declarative shadow root</span>, then stop this algorithm.</p></li>
108206+
<li><p>If the template element is not a <span data-x="concept-declarative-shadow-root">declarative shadow root</span>, then stop this algorithm.</p></li>
108207108207

108208108208
<li><p>If the <span data-x="concept-declarative-shadow-host-element">declarative shadow host element</span> is not a valid element for shadow root attachment, as specified in <a href="https://dom.spec.whatwg.org/#dom-element-attachshadow">dom element attachShadow()</a>, then stop this algorithm.</p></li>
108209108209

108210108210
<li><p>If the start tag for the <span data-x="concept-declarative-template-element">declarative template element</span> had an attribute with the name "shadowrootdelegatesfocus", then let <dfn><var data-x="concept-declarative-shadow-delegates-focus">declarative shadow delegates focus</var></dfn> be true. Otherwise let it be false.</p></li>
108211108211

108212-
<li><p>Follow the steps in <a href="https://dom.spec.whatwg.org/#dom-element-attachshadow">dom element attachShadow()</a> to attach a shadow root to <span data-x="concept-declarative-shadow-host-element">declarative shadow host element</span>, using <a href="https://dom.spec.whatwg.org/#dom-is-declarative-shadow-root">is declarative shadow root</a> equal to true, a
108213-
<a href=https://dom.spec.whatwg.org/#shadowroot-mode>mode</a> equal to <span data-x="concept-declarative-shadow-mode>declarative shadow mode</span>, and <span>delegates focus</span> equal to <span data-x="concept-declarative-shadow-delegates-focus">declarative shadow delegates focus</span>.</p></li>
108212+
<li><p>Follow the steps in <a href="https://dom.spec.whatwg.org/#dom-element-attachshadow">dom element attachShadow()</a> to attach a shadow root to <span data-x="concept-declarative-shadow-host-element">declarative shadow host element</span>, using <a href="https://dom.spec.whatwg.org/#dom-is-declarative-shadow-root">is declarative shadow root</a> equal to true,
108213+
<a href="https://dom.spec.whatwg.org/#shadowroot-mode">mode</a> equal to <span data-x="concept-declarative-shadow-mode">declarative shadow mode</span>, and <span>delegates focus</span> equal to <span data-x="concept-declarative-shadow-delegates-focus">declarative shadow delegates focus</span>.</p></li>
108214108214

108215-
<li><p>Move the contents of the <span data-x="concept-declarative-template-element">declarative template element</span> into the newly-created shadow root.</p></li>
108215+
<li><p><a href="https://dom.spec.whatwg.org/#concept-node-append">Append</a> the <span data-x="concept-declarative-template-element">declarative template element</span> contents DocumentFragment to the newly-created shadow root.</p></li>
108216108216

108217-
<li><p>Remove the <span data-x="concept-declarative-template-element">declarative template element</span> from the document.</p></li>
108217+
<li><p><a href="https://dom.spec.whatwg.org/#concept-node-remove">Remove</a> the <span data-x="concept-declarative-template-element">declarative template element</span> from the document.</p></li>
108218108218

108219108219
</ol>
108220108220
</dd>

0 commit comments

Comments
 (0)