Contact emailsandr...@chromium.org

Explainerhttps://css.oddbird.net/scope/explainer/

Specificationhttps://drafts.csswg.org/css-cascade-6/#scope-atrule

Summary

Allows authors to scope style rules to a given element. The key difference
between this and a regular descendant combinator is that the "scoping
proximity" cascade criterion is applied to the style rules, which makes it
possible to weigh the priority of declarations according to the distance to
a given scoping root.


Blink componentBlink>CSS
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3ECSS>

Motivation

https://css.oddbird.net/scope/explainer/#goals


Initial public proposal

TAG reviewhttps://github.com/w3ctag/design-reviews/issues/593

TAG review statusIssues open

Risks


Interoperability and Compatibility



Gecko: Just filed :https://github.com/mozilla/standards-positions/issues/625

WebKit: E-mail sent to webkit-dev.

Web developers: No signals

Other signals:

WebView Application Risks

Does this intent deprecate or change behavior of existing APIs, such that
it has potentially high risk for Android WebView-based applications?



Debuggability

The style rules inside @scope will automatically appear in DevTools, but
the @scope-context will be lost. We'll need to add special support to
surface that.


Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md>
?No

Flag nameCSSScope (Probably)

Requires code in //chrome?False

Tracking bughttps://crbug.com/1280240

Estimated milestones

No milestones specified


Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5100672734199808

This intent message was generated by Chrome Platform Status
<https://chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAKFBnUqOYujGCHr9Qi8rDQT3D4r1ir3jW-JEEMu1TB6%3DtSwj%2BA%40mail.gmail.com.

Reply via email to