@@ -126130,20 +126130,21 @@ document.body.appendChild(text);
126130
126130
attribute, then let <var>declarative shadow delegates focus</var> be true. Otherwise let
126131
126131
it be false.</p></li>
126132
126132
126133
- <li><p>If <var>declarative shadow host element</var> is not a <span>shadow host</span>,
126134
- then <span data-x="concept-attach-a-shadow-root">attach a shadow root</span> with
126135
- <var>declarative shadow host element</var>, <var>declarative shadow mode</var>, true,
126136
- <var>declarative shadow delegates focus</var>, and "<code data-x="">named</code>".
126137
- If an exception is thrown, then catch it and <span>report the exception</span>.</p></li>
126138
-
126139
- <li><p>If an exception was thrown by <span data-x="concept-attach-a-shadow-root">attach a
126140
- shadow root</span>, or if <var>declarative shadow host element</var> was already a
126141
- <span>shadow host</span>, then
126142
- <span>Insert an element at the adjusted insertion location</span> with
126143
- <var>template</var>.</p></li>
126133
+ <li><p>Let <var>should attach shadow root</var> be true.</p></li>
126134
+
126135
+ <li><p>If <var>declarative shadow host element</var> is a <span>shadow host</span>, then
126136
+ <span>insert an element at the adjusted insertion location</span> with
126137
+ <var>template</var>, and set <var>should attach shadow root</var> to false.</p></li>
126138
+
126139
+ <li><p>Otherwise, <span data-x="concept-attach-a-shadow-root">attach a shadow root</span>
126140
+ with <var>declarative shadow host element</var>, <var>declarative shadow mode</var>,
126141
+ true, <var>declarative shadow delegates focus</var>, and "<code data-x="">named</code>".
126142
+ If an exception is thrown, then catch it, <span>report the exception</span>,
126143
+ <span>insert an element at the adjusted insertion location</span> with
126144
+ <var>template</var>, and set <var>should attach shadow root</var> to false.</p></li>
126144
126145
126145
126146
<li>
126146
- <p>Otherwise :</p>
126147
+ <p>If <var>should attach shadow root</var>, then :</p>
126147
126148
126148
126149
<ol>
126149
126150
<li><p>Let <var>shadow</var> be <var>declarative shadow host element</var>'s
0 commit comments