Skip to content

Commit

Permalink
Connect to attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
mfreed7 committed Oct 2, 2023
1 parent 78f2d8a commit ae86418
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -124026,10 +124026,9 @@ document.body.appendChild(text);
<p>If any of the following are false:</p>

<ul>
<li><var>template start tag</var> has an attribute with the name <code
data-x="attr-template-shadowrootmode">shadowrootmode</code> whose value is
an <span>ASCII case-insensitive</span> match for "<code data-x="">open</code>" or
"<code data-x="">closed</code>";</li>
<li><var>template start tag</var>'s <span>shadowrootmode</span> is in the
<span data-x="attr-template-shadowrootmode-open">open</span> state or the
<span data-x="attr-template-shadowrootmode-closed">closed</span> state;</li>

<li><var>Document</var>'s <span data-x="concept-document-allow-declarative-shadow-roots">allow
declarative shadow roots</span> is true; or</li>
Expand All @@ -124050,12 +124049,12 @@ document.body.appendChild(text);
for <var>template start tag</var>, with <span>HTML namespace</span> and true.</p></li>

<li><p>Let <var>declarative shadow mode</var> be <var>template start tag</var>'s
"<code data-x="attr-template-shadowrootmode">shadowrootmode</code>".</p></li>
<code data-x="attr-template-shadowrootmode">shadowrootmode</code> attribute.</p></li>

<li><p>If <var>template start tag</var> had an attribute with the name
<code data-x="attr-template-shadowrootdelegatesfocus">shadowrootdelegatesfocus</code>,
then let <var>declarative shadow delegates focus</var> be true. Otherwise let it be
false.</p></li>
<li><p>If <var>template start tag</var> had a
<code data-x="attr-template-shadowrootdelegatesfocus">shadowrootdelegatesfocus</code>
attribute, then let <var>declarative shadow delegates focus</var> be true. Otherwise let
it be false.</p></li>

<li><p><span data-x="concept-attach-a-shadow-root">Attach a shadow root</span> with
<var>declarative shadow host element</var>, <var>declarative shadow mode</var>,
Expand Down

0 comments on commit ae86418

Please sign in to comment.