Skip to content

Order shadow root concepts consistently#1496

Open
annevk wants to merge 1 commit into
whatwg:mainfrom
annevk:align-shadow-root-order
Open

Order shadow root concepts consistently#1496
annevk wants to merge 1 commit into
whatwg:mainfrom
annevk:align-shadow-root-order

Conversation

@annevk

@annevk annevk commented Jul 18, 2026

Copy link
Copy Markdown
Member

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.


Preview | Diff

Present the associated concepts, IDL members, and "attach a shadow
root" parameters and steps in one 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. Reorders IDL members, observable via property enumeration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant