@@ -2830,6 +2830,13 @@ before a <var>child</var>, with an optional <i>suppress observers flag</i>, run
2830
2830
<var> inclusiveDescendant</var> 's <a for=tree>parent</a> .
2831
2831
<!-- XXX xref -->
2832
2832
2833
+ <li><p> Otherwise, if <var> inclusiveDescendant</var> 's
2834
+ <a for=Element>custom element registry</a> 's <b> is scoped</b> is true, <a for=set>append</a>
2835
+ <var> inclusiveDescendant</var> 's <a for=Node>node document</a> to
2836
+ <var> inclusiveDescendant</var> 's <a for=Element>custom element registry</a>' s
2837
+ <b> scoped document set</b> .
2838
+ <!-- XXX xref -->
2839
+
2833
2840
<li><p> If <var> inclusiveDescendant</var> is <a for=Element>custom</a> , then
2834
2841
<a>enqueue a custom element callback reaction</a> with <var> inclusiveDescendant</var> ,
2835
2842
callback name "<code> connectedCallback</code> ", and « ».
@@ -2844,21 +2851,26 @@ before a <var>child</var>, with an optional <i>suppress observers flag</i>, run
2844
2851
</ol>
2845
2852
2846
2853
<li>
2847
- <p> Otherwise, if all of the following are true:
2848
-
2849
- <ul class=brief>
2850
- <li><var> inclusiveDescendant</var> is <a>connected</a> ,
2851
- <li><var> inclusiveDescendant</var> is a <a for=/>shadow root</a> ,
2852
- <li><var> inclusiveDescendant</var> 's <a for=ShadowRoot>custom element registry</a> is null,
2853
- and
2854
- <li><var> inclusiveDescendant</var> 's <a for=ShadowRoot>keep custom element registry null</a>
2855
- is false,
2856
- </ul>
2854
+ <p> Otherwise, if <var> inclusiveDescendant</var> is <a>connected</a> and is a
2855
+ <a for=/>shadow root</a> :
2857
2856
2858
- <p> then set <var> inclusiveDescendant</var> 's <a for=ShadowRoot>custom element registry</a> to
2859
- the result of <b> looking up a custom element registry</b> given
2860
- <var> inclusiveDescendant</var> 's <a for=DocumentFragment>host</a> .
2861
- <!-- XXX xref -->
2857
+ <ol>
2858
+ <li><p> If <li><var> inclusiveDescendant</var> 's <a for=ShadowRoot>custom element registry</a>
2859
+ is null and <li><var> inclusiveDescendant</var> 's
2860
+ <a for=ShadowRoot>keep custom element registry null</a> is false, then set
2861
+ <var> inclusiveDescendant</var> 's <a for=ShadowRoot>custom element registry</a> to the result
2862
+ of <b> looking up a custom element registry</b> given <var> inclusiveDescendant</var> 's
2863
+ <a for=DocumentFragment>host</a> .
2864
+ <!-- XXX xref -->
2865
+
2866
+ <li><p> Otherwise, if <var> inclusiveDescendant</var> 's
2867
+ <a for=ShadowRoot>custom element registry</a> is non-null and
2868
+ <var> inclusiveDescendant</var> 's <a for=ShadowRoot>custom element registry</a>' s
2869
+ <b> is scoped</b> is true, <a for=set>append</a> <var> inclusiveDescendant</var> 's
2870
+ <a for=Node>node document</a> to <var> inclusiveDescendant</var> 's
2871
+ <a for=ShadowRoot>custom element registry</a> 's <b> scoped document set</b> .
2872
+ <!-- XXX xref -->
2873
+ </ol>
2862
2874
</ol>
2863
2875
</ol>
2864
2876
0 commit comments