Re: [csswg-drafts] [css-cascade] Custom Cascade Layers (formerly "custom origins") (#4470)

AIUI the current gist proposes that defined layers have higher specificity than un-layered style rules. This would mean that if a third-party library wanted to use a layer that was *earlier* in the cascade than an existing site (e.g. to provide a base layer for its components that are meant to be overridable by the site), then it's not possible to do this without changes to the site's style sheet to add a layer for it.

This will make it harder to deploy updated third-party libraries without waiting for sites to adopt custom layers first.


-- 
GitHub Notification of comment by chrishtr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4470#issuecomment-680179712 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 25 August 2020 17:55:48 UTC