Skip to content

Commit

Permalink
Try another wording
Browse files Browse the repository at this point in the history
  • Loading branch information
mfreed7 committed Jan 27, 2024
1 parent 57e8e93 commit bcae005
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -126130,20 +126130,21 @@ document.body.appendChild(text);
attribute, then let <var>declarative shadow delegates focus</var> be true. Otherwise let
it be false.</p></li>

<li><p>If <var>declarative shadow host element</var> is not a <span>shadow host</span>,
then <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>, true,
<var>declarative shadow delegates focus</var>, and "<code data-x="">named</code>".
If an exception is thrown, then catch it and <span>report the exception</span>.</p></li>

<li><p>If an exception was thrown by <span data-x="concept-attach-a-shadow-root">attach a
shadow root</span>, or if <var>declarative shadow host element</var> was already a
<span>shadow host</span>, then
<span>Insert an element at the adjusted insertion location</span> with
<var>template</var>.</p></li>
<li><p>Let <var>should attach shadow root</var> be true.</p></li>

<li><p>If <var>declarative shadow host element</var> is a <span>shadow host</span>, then
<span>insert an element at the adjusted insertion location</span> with
<var>template</var>, and set <var>should attach shadow root</var> to false.</p></li>

<li><p>Otherwise, <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>,
true, <var>declarative shadow delegates focus</var>, and "<code data-x="">named</code>".
If an exception is thrown, then catch it, <span>report the exception</span>,
<span>insert an element at the adjusted insertion location</span> with
<var>template</var>, and set <var>should attach shadow root</var> to false.</p></li>

<li>
<p>Otherwise:</p>
<p>If <var>should attach shadow root</var>, then:</p>

<ol>
<li><p>Let <var>shadow</var> be <var>declarative shadow host element</var>'s
Expand Down

0 comments on commit bcae005

Please sign in to comment.