Re: [whatwg/dom] Allow elements with a null customElementRegistry without declaratively and without Shadow DOM (Issue #1413)

ja-y-son left a comment (whatwg/dom#1413)

I do see that it's limited for dev as it seems like there are no easy ways to create element with null registry now.
How do we think about allowing `null` in `Document.createElement` to generate null registry element?
```
const element = document.createElement('div', {customElementRegistry: null});
```

On the declarative end, I like the idea of having the element attribute like what we currently have for template :)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1413#issuecomment-3392753517
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1413/3392753517@github.com>

Received on Saturday, 11 October 2025 02:16:29 UTC