[whatwg/dom] Clarify create an element assertion (Issue #1338)

@domenic in create an element we have:

> Assert: result’s [custom element state](https://dom.spec.whatwg.org/#concept-element-custom-element-state) and [custom element definition](https://dom.spec.whatwg.org/#concept-element-custom-element-definition) are initialized.

Can we improve this by saying custom element definition is non-null? And custom element state is "custom"? I think that should hold after a successful constructor call.

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

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

Received on Monday, 16 December 2024 12:28:37 UTC