[whatwg/dom] Order shadow root concepts consistently (PR #1496)

Present the shadow root associated concepts, IDL members, and "attach a shadow root" parameters and steps in one consistent order: mode, delegates focus, available to element internals, declarative, serializable, slot assignment, clonable, custom element registry, keep custom element registry null. The serialized concepts follow HTML's serialization order.

Note this reorders `ShadowRoot` interface members and `ShadowRootInit` dictionary members, which is observable via property enumeration.

Requires whatwg/html#12703 to update the "attach a shadow root" call sites and argument order.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/dom/pull/1496

-- Commit Summary --

  * Order shadow root concepts consistently

-- File Changes --

    M dom.bs (43)

-- Patch Links --

https://github.com/whatwg/dom/pull/1496.patch
https://github.com/whatwg/dom/pull/1496.diff

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

Message ID: <whatwg/dom/pull/1496@github.com>

Received on Saturday, 18 July 2026 07:40:15 UTC