Skip to content

Commit 8739f8b

Browse files
committed
Let shadowrootmode take precedent over contentmethod
1 parent 97d3cfd commit 8739f8b

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

source

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -140322,11 +140322,11 @@ document.body.appendChild(text);
140322140322
<ul>
140323140323
<li><var>templateStartTag</var>'s <code
140324140324
data-x="attr-template-contentmethod">contentmethod</code> is not in the <span
140325-
data-x="attr-contentmethod-none-state">None</span> state;</li>
140325+
data-x="attr-contentmethod-none-state">None</span> state; or</li>
140326140326

140327140327
<li><var>templateStartTag</var>'s <code
140328140328
data-x="attr-template-shadowrootmode">shadowrootmode</code> is not in the <span
140329-
data-x="attr-shadowrootmode-none-state">None</span> state;</li>
140329+
data-x="attr-shadowrootmode-none-state">None</span> state; or</li>
140330140330

140331140331
<li><var>document</var>'s <span
140332140332
data-x="concept-document-allow-declarative-shadow-roots">allow declarative shadow
@@ -140340,18 +140340,6 @@ document.body.appendChild(text);
140340140340
</li>
140341140341

140342140342
<li>
140343-
<p>If <var>templateStartTag</var>'s <code
140344-
data-x="attr-template-contentmethod">contentmethod</code> is not in the <span
140345-
data-x="attr-contentmethod-none-state">None</span> state:</p>
140346-
140347-
<ol>
140348-
<li><p>TODO: what to we need to do so that elements are inserted into the template element
140349-
and redirected by our pre-insertion steps?</p></li>
140350-
</ol>
140351-
</li>
140352-
140353-
<li>
140354-
<!-- TODO: is it OK if both of these branches run? If not, which one wins? -->
140355140343
<p>If <var>templateStartTag</var>'s <code
140356140344
data-x="attr-template-shadowrootmode">shadowrootmode</code> is not in the <span
140357140345
data-x="attr-shadowrootmode-none-state">None</span> state:</p>
@@ -140431,6 +140419,17 @@ document.body.appendChild(text);
140431140419
</li>
140432140420
</ol>
140433140421
</li>
140422+
140423+
<li>
140424+
<p>Otherwise, if <var>templateStartTag</var>'s <code
140425+
data-x="attr-template-contentmethod">contentmethod</code> is not in the <span
140426+
data-x="attr-contentmethod-none-state">None</span> state:</p>
140427+
140428+
<ol>
140429+
<li><p>TODO: what to we need to do so that elements are inserted into the template element
140430+
and redirected by our pre-insertion steps?</p></li>
140431+
</ol>
140432+
</li>
140434140433
</ol>
140435140434
</dd>
140436140435

0 commit comments

Comments
 (0)