You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related: There is a related editor’s draft for Scoping Module level 1, though I’m not sure what the direction of that spec will be going forward, or it’s relationship to scoping in the Cascade.
FWIW, even if “scoped styles” aren’t going to be a thing (outside of the Shadow DOM), I like the way it’s explained in the Cascade spec now. Inline styles fit more neatly as a part of Scope, rather than an odd exception to the rules of Specificity.
FWIW, even if “scoped styles” aren’t going to be a thing (outside of the Shadow DOM), I like the way it’s explained in the Cascade spec now. Inline styles fit more neatly as a part of Scope, rather than an odd exception to the rules of Specificity.
Scoping has multiple effects, which can theoretically be triggered independently:
scoping of selectors is in Selectors
scope-precedence in the cascade is in Cascade
Since scoped styles have been mostly abandoned, the CSSWG resolved to drop scoping from Cascade L3. It's still in L4, however, in case anyone needs to refer to it. :)
Activity
keithjgrant commentedon Oct 25, 2016
Related: There is a related editor’s draft for Scoping Module level 1, though I’m not sure what the direction of that spec will be going forward, or it’s relationship to scoping in the Cascade.
keithjgrant commentedon Oct 25, 2016
FWIW, even if “scoped styles” aren’t going to be a thing (outside of the Shadow DOM), I like the way it’s explained in the Cascade spec now. Inline styles fit more neatly as a part of Scope, rather than an odd exception to the rules of Specificity.
xfq commentedon Oct 27, 2016
Agreed.
xfq commentedon Feb 12, 2017
Related: Selectors L4 also mentions the scoped
<style>element in HTML.fantasai commentedon Mar 30, 2017
Scoping has multiple effects, which can theoretically be triggered independently:
Since scoped styles have been mostly abandoned, the CSSWG resolved to drop scoping from Cascade L3. It's still in L4, however, in case anyone needs to refer to it. :)
fantasai commentedon Aug 3, 2018
WG resolution recorded at https://lists.w3.org/Archives/Public/www-style/2017Feb/0069.html