Intent to Ship: Scoped Styles (@scope)

97 views
Skip to first unread message

Diego Escalante

unread,
Oct 31, 2025, 1:52:53 PM (3 days ago) Oct 31
to dev-pl...@mozilla.org
Summary: Scoped styles let users limit styling to DOM subtrees (Which can be further limited to a depth, if scope-end is specified as well).Target Version: 146Bug to turn on by default: Bug 1991105Standard Draft: https://drafts.csswg.org/css-cascade-6/#scoped-stylesStandard Positions: https://github.com/mozilla/standards-positions/issues/472Link to standards-positions discussion: https://github.com/mozilla/standards-positions/issues/472web-platform-tests: https://wpt.fyi/results/css/css-cascade?q=label%3Ainterop-2025-scopePlatform Coverage: allPref: layout.css.at-scope.enabled, enabled by default on Nightly.Dev Tools Support: bug 1873029Other Browsers: Shipped - Chrome 118, Safari 17.4Previous Intent-to-Prototype: here
Reply all
Reply to author
Forward
0 new messages