[dev-platform] Intent to Prototype & Ship: shadowrootslotassignment attribute

65 views
Skip to first unread message

Keith Cirkel

unread,
Apr 12, 2026, 5:50:12 AM (7 days ago) Apr 12
to dev-pl...@mozilla.org
Summary: Support for the `shadowrootslotassignment` attribute, mapping to `slotAssignment` on `attachShadow`.
Standards Body: WHATWG
Platform coverage: All
Preference: dom.shadowdom.shadowRootSlotAssignment.enabled
Devtools bug: N/A
Other browsers:
  - Blink: Supportive.

Template elements have a set of `shadowroot*` attributes aligning to the options bag for `attachShadow`. One omission was `shadowrootslotassignment`. I proposed adding this (https://github.com/whatwg/html/pull/12267) and it has recieved support from other vendors.

Support for this attribute landed in Firefox Nightlies yesterday, behind a flag. Once the HTML spec PR is approved and merged, I intend to turn that flag on by default. I anticipate this will result in this feature being part of the 151 release (depending, of course, on how timely the HTML spec PR is approved and merged).

If anyone has any concerns please let me know!

Happy browsing.

Reply all
Reply to author
Forward
0 new messages