Skip to content
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 Cascading and Inheritance Level 6 (@scope) #13

Closed
andruud opened this issue Jun 29, 2022 · 7 comments
Closed

CSS Cascading and Inheritance Level 6 (@scope) #13

andruud opened this issue Jun 29, 2022 · 7 comments
Labels
from: Google Proposed, edited, or co-edited by Google. position: support topic: css Spec relates to CSS (Cascading Style Sheets) venue: W3C CSS WG

Comments

@andruud
Copy link

andruud commented Jun 29, 2022

Request for position on an emerging web specification

  • WebKittens who can provide input: @anttijk

Information about the spec

Design reviews and vendor positions

Bugs tracking this feature

  • WebKit Bugzilla:
  • Radar:

Anything else we need to know

This RFP covers the @scope rule only, not the new combinator nor the new notation.

@othermaciej othermaciej added topic: css Spec relates to CSS (Cascading Style Sheets) venue: W3C CSS WG labels Jun 29, 2022
@hober
Copy link
Member

hober commented Jun 30, 2022

cc @jensimmons

@jensimmons
Copy link

This will be incredibly useful for web developers, especially those creating "components" and delivering those components using some kind of JS framework.

Often such solutions organize the CSS for each component in separate files, and load those files in random order — making it impossible to rely on the cascade for sorting out which rules are applied. @scope would allow developers on such projects to scope their CSS to each component.

Scope is also part of a larger effort to modernize the CSS Cascade — an effort that includes Cascade Layers, Nesting, and Container Queries. Together, these tools will radically change how tech leads architect CSS to meet the demands of today's large-team, multi-year projects. Developers need all four.

@othermaciej othermaciej added the from: Google Proposed, edited, or co-edited by Google. label Sep 25, 2022
@annevk
Copy link
Contributor

annevk commented Nov 28, 2022

Given @jensimmons's comment I suggest we mark this as support seven days from now.

@bramus
Copy link

bramus commented Jan 11, 2023

@annevk Do you have an updated on this? It’s been past 7 days since you replied “I suggest we mark this as support seven days from now.”, which would mean that the label position: support can be added? Or are there any blockers/concerns that should be discussed (within the CSSWG, maybe)?

If support is expressed, is it for only the @scope part (as per OP’s FRP) or does it also included support for the scoped descendant combinator and the selector notation?

@annevk
Copy link
Contributor

annevk commented Jan 12, 2023

Thanks for the reminder! The scope of each standards-positions issue is determined by OP.

@bramus
Copy link

bramus commented Jan 12, 2023

Perfect, thank you.

@hober
Copy link
Member

hober commented Mar 23, 2023

Closing as we've identified our position.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
from: Google Proposed, edited, or co-edited by Google. position: support topic: css Spec relates to CSS (Cascading Style Sheets) venue: W3C CSS WG
Development

No branches or pull requests

6 participants