Re: [whatwg/dom] Allow the creation of null registry element and shadow root (PR #1424)

@ja-y-son commented on this pull request.



> @@ -7604,17 +7603,12 @@ are:
  <li><p>Let <var>registry</var> be <a>this</a>'s <a>node document</a>'s
  <a for=Document>custom element registry</a>.
 
- <li>
-  <p>If <var>init</var>["{{ShadowRootInit/customElementRegistry}}"] is non-null:
+ <li><p>Set <var>registry</var> to <var>init</var>["{{ShadowRootInit/customElementRegistry}}"].

Nice catch, added the condition.

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

Message ID: <whatwg/dom/pull/1424/review/3490658899@github.com>

Received on Friday, 21 November 2025 00:37:25 UTC