Re: [whatwg/dom] Update element adoption logic for scoped registry (PR #1437)

@annevk commented on this pull request.



> @@ -6080,11 +6082,26 @@ algorithm is passed <var ignore>node</var> and <var ignore>oldDocument</var>, as
        <li><p>Set the <a for=Node>node document</a> of each <a>attribute</a> in
        <var>inclusiveDescendant</var>'s <a for=Element>attribute list</a> to <var>document</var>.
 
-       <li><p>If <var>inclusiveDescendant</var>'s <a for=Element>custom element registry</a> is null
-       or <var>inclusiveDescendant</var>'s <a for=Element>custom element registry</a>'s
-       <a for=CustomElementRegistry>is scoped</a> is false, then set
-       <var>inclusiveDescendant</var>'s <a for=Element>custom element registry</a> to
-       <var>document</var>'s <a>effective global custom element registry</a>.
+       <li>
+        <p>If <var>inclusiveDescendant</var>'s <a for=Element>custom element registry</a> is null
+        or <var>inclusiveDescendant</var>'s <a for=Element>custom element registry</a>'s
+        <a for=CustomElementRegistry>is scoped</a> is false:
+
+         <ol>

This is indented too much. It needs to be aligned with the `<p>` as it's a sibling.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1437#pullrequestreview-3531215456
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1437/review/3531215456@github.com>

Received on Tuesday, 2 December 2025 16:58:17 UTC