-
Notifications
You must be signed in to change notification settings - Fork 27
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 Module Scripts #206
Comments
The integration for CSS modules is defined in HTML, too, IIRC.
These all just appear to be the general import assertions tests, nothing specifically about CSS modules? |
Yep, while CSS is spec'd and agreed to, I'm not sure any tests have been added for it, specifically. |
And the Safari Bug for this: |
I think in Firefox they are also not yet ready: |
Looks like the HTML part was defined in whatwg/html#4898 and is spread across the spec. |
This is part of #236 in a way and I have the same concern here with whatwg/html#7233 not being sorted. I'd really like to have clarity around CSP first. |
It'd also be good to know whether they are intended to be de-duplicated etc, see WICG/webcomponents#870 etc. |
In the MDN short survey on APIs & JavaScript, "Web Components (custom elements, Shadow DOM, etc.)" was the most popular choice by a fairly wide margin, selected by ~39% of survey takers. Web Components was split into many granular proposals, and the survey results don't tell us which aspects web developers want the most, but it's fair to say that something about Web Components is important. (I'm posting this comment on each of the split proposals.) |
Thank you for proposing CSS Module Scripts for inclusion in Interop 2023. We wanted to let you know that this proposal was not selected to be part of Interop this year. As discussed in the issue comments, there are still open spec questions around CSP. To make progress on this area in the future it will first be necessary to ensure that the feature has a clear specification in a standards track document. We would be happy to see the proposal submitted for a future round of Interop once these spec questions are resolved. For an overview of our process, see the proposal selection summary. Thank you again for contributing to Interop 2023! Posted on behalf of the Interop team. |
The proposal is already in the html spec (i think) |
Correct, but it has known issues as pointed out above. |
Description
CSS Module Scripts allow JavaScript modules to import style sheets. They can then be applied to a document or shadow root using adoptedStyleSheets in the same way as constructible style sheets.
Not currently available cross browser (Safari) effecting adoption.
Rationale
Specification
https://github.com/tc39/proposal-import-assertions
Tests
tc39/test262@18834b2
The text was updated successfully, but these errors were encountered: