- From: Dominic Farolino <notifications@github.com>
- Date: Tue, 14 Jul 2026 19:10:05 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/dom/pull/1485/review/4700278461@github.com>
@domfarolino approved this pull request.
> @@ -6954,8 +6954,30 @@ null, or a {{CustomElementRegistry}} object <var>registry</var> (default "<code>
<li><p>Set <var>result</var> to the result of <a>constructing</a> <var>C</var>, with no
arguments.
- <li><p>Assert: <var>result</var>'s <a for=Element>custom element state</a> and
- <a for=Element>custom element definition</a> are initialized.
+ <li>
+ <p><a for=/>Assert</a>: <var>result</var>'s <a for=Element>custom element state</a> is
+ "<code>custom</code>" and its <a for=Element>custom element definition</a> is non-null,
+ <var>result</var>'s <a for=Element>custom element state</a> is "<code>precustomized</code>",
+ or <var>result</var>'s <a for=Element>custom element state</a> is neither
+ "<code>custom</code>" nor "<code>precustomized</code>" and its
+ <a for=Element>custom element definition</a> is null.
nit: slightly prefer https://github.com/whatwg/html?tab=contributing-ov-file#common-mistakes-around-prose-style:~:text=When%20nesting%203%2B%20conditions%20in%20a%20list for this many conditions.
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1485#pullrequestreview-4700278461
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/dom/pull/1485/review/4700278461@github.com>
Received on Wednesday, 15 July 2026 02:10:09 UTC