-
Notifications
You must be signed in to change notification settings - Fork 682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-cascade] Remove scoped styles #637
Comments
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. |
Agreed. |
Related: Selectors L4 also mentions the scoped |
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. :) |
WG resolution recorded at https://lists.w3.org/Archives/Public/www-style/2017Feb/0069.html |
The
<style scoped>
was removed from HTML (whatwg/html#552 & w3c/html#231). Should 'Scope' be removed from the cascade?The text was updated successfully, but these errors were encountered: