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 Module Scripts #597

Closed
1 of 3 tasks
dandclark opened this issue Oct 26, 2023 · 1 comment
Closed
1 of 3 tasks

CSS Module Scripts #597

dandclark opened this issue Oct 26, 2023 · 1 comment
Labels
focus-area-proposal Focus Area Proposal

Comments

@dandclark
Copy link
Contributor

dandclark commented Oct 26, 2023

Description

CSS modules (with import attributes) are a way to import CSS files in JavaScript via the ES module syntax.

Note: Per discussion of the interop team this proposal is split off from #436 to be considered independently of JSON module scripts in proposal selection.
cc @o-t-w.

Specification

https://github.com/tc39/proposal-import-attributes
whatwg/html#4898

Open Issues

whatwg/html#7233
There is an open PR that would close this issue.

Tests

https://wpt.fyi/results/html/semantics/scripting-1/the-script-element?label=master&label=experimental&aligned&q=%28import-attributes%20or%20css%29%20and%20not%20assertions

Current Implementations

  • Blink
  • Gecko
  • WebKit

Standards Positions

Safari Technology Preview supports import attributes.
WebKit position on CSS module scripts

Chrome Canary is currently updating the import attribute syntax from import assertions.

Gecko standards position on CSS modules

Browser bug reports

Gecko bug for import attributes.
Gecko bug for CSS modules scripts

Developer discussions

Polls & Surveys

No response

Existing Usage

No response

Workarounds

No response

Accessibility Impact

No impact.

Privacy Impact

No impact.

Other

No response

@nairnandu
Copy link
Contributor

Thank you for proposing CSS Module Scripts for inclusion in Interop 2024.

We wanted to let you know that this proposal was not selected to be part of Interop 2024. This is because we got many more proposals than we could include in this year's project. Note that individual vendors may nevertheless choose to advance work in this area during the forthcoming year. We would welcome this proposal being resubmitted again next year, if necessary.

For an overview of our process, see proposal selection. Thank you again for contributing to Interop 2024!

Posted on behalf of the Interop team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus-area-proposal Focus Area Proposal
Projects
Status: Done
Development

No branches or pull requests

2 participants