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

Add proposal for @sheet to enable multiple stylesheets per file #931

Merged
merged 21 commits into from
Jan 15, 2025

Conversation

aluhrs13
Copy link
Contributor

@aluhrs13 aluhrs13 commented Jan 9, 2025

As part of looking at Declarative CSS Modules, TAG has suggested that we should investigate @sheet as a possible direction. This explainer summarizes and builds on the CSSWG discussion about this idea to consolidate it into a single location.

AtSheet/explainer.md Outdated Show resolved Hide resolved
AtSheet/explainer.md Outdated Show resolved Hide resolved
[SameObject] readonly attribute StyleSheetList nestedStyleSheets;
};
```
*Open issue: The name `nestedStyleSheets` is up for discussion*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe namedStyleSheets?

AtSheet/explainer.md Show resolved Hide resolved
AtSheet/explainer.md Outdated Show resolved Hide resolved
AtSheet/explainer.md Outdated Show resolved Hide resolved
AtSheet/explainer.md Outdated Show resolved Hide resolved
AtSheet/explainer.md Outdated Show resolved Hide resolved
AtSheet/explainer.md Outdated Show resolved Hide resolved
AtSheet/explainer.md Outdated Show resolved Hide resolved
AtSheet/explainer.md Outdated Show resolved Hide resolved
AtSheet/explainer.md Show resolved Hide resolved
AtSheet/explainer.md Outdated Show resolved Hide resolved
AtSheet/explainer.md Show resolved Hide resolved
AtSheet/explainer.md Show resolved Hide resolved
AtSheet/explainer.md Outdated Show resolved Hide resolved
AtSheet/explainer.md Outdated Show resolved Hide resolved
AtSheet/explainer.md Outdated Show resolved Hide resolved
AtSheet/explainer.md Outdated Show resolved Hide resolved
AtSheet/explainer.md Outdated Show resolved Hide resolved
AtSheet/explainer.md Outdated Show resolved Hide resolved
AtSheet/explainer.md Show resolved Hide resolved
AtSheet/explainer.md Outdated Show resolved Hide resolved
AtSheet/explainer.md Outdated Show resolved Hide resolved
AtSheet/explainer.md Show resolved Hide resolved
@aluhrs13
Copy link
Contributor Author

todo: README is incomplete.

@dandclark dandclark merged commit 332890b into MicrosoftEdge:main Jan 15, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants