Ship CSS Module Scripts
Categories
(Core :: DOM: CSS Object Model, task)
Tracking
()
People
(Reporter: dminor, Assigned: dminor)
References
Details
(Keywords: dev-doc-complete, webcompat:platform-bug)
User Story
user-impact-score:40
Attachments
(2 files)
Once CSS Module Scripts have been on Nightly for a few releases, we can look into shipping it.
Updated•6 months ago
|
| Assignee | ||
Comment 1•5 months ago
|
||
I don't think supporting this in chrome is a blocker to shipping the feature.
Updated•5 months ago
|
Updated•5 months ago
|
Comment 2•5 months ago
|
||
I only can say that I've tested FF nightly with css imports extensively. We have a designer wich heavily depends on css modules: https://node-projects.github.io/web-component-designer-demo/index.html
Yeah my demo uses the polyfill, but in our company we have huge applications wich depend on them and everything works now.
So I would say, better ship earlier then later.
| Assignee | ||
Comment 3•4 months ago
|
||
Tentatively planning this for Firefox 147.
| Assignee | ||
Comment 4•3 months ago
|
||
Comment 7•3 months ago
|
||
Backed out for causing css related wpt failures
Failure logs:
| Assignee | ||
Comment 8•3 months ago
|
||
This is a new test that previously errored with css module scripts disabled, now it has failures, but
the failures are consistent with the other tests for shadow root adopted stylesheets, and don't
seem to be related to css module scripts.
Depends on D272993
| Assignee | ||
Updated•3 months ago
|
Comment 10•3 months ago
|
||
Comment 11•3 months ago
|
||
Backed out for causing failures at import-style-allowed.sub.html.
Backout link: https://hg-edge.mozilla.org/integration/autoland/rev/05aed38ed69e258a16babb3cd4e6902033abf0bd
Failure log: https://treeherder.mozilla.org/logviewer?job_id=536594072&repo=autoland&task=Umi-UxA5TgaXxaFEur6oQg.0&lineNumber=1720
Updated•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
Comment 12•3 months ago
|
||
Comment 13•3 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4d0aeef82649
https://hg.mozilla.org/mozilla-central/rev/86b9a226996d
Comment 14•3 months ago
|
||
| bugherder | ||
Comment 15•3 months ago
|
||
:dminor, could you add a release note request here?
| Assignee | ||
Comment 16•3 months ago
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]: This adds support for CSS Module Scripts, a feature that has been present in Chromium for quite a while, and is frequently requested by developers.
[Affects Firefox for Android]: Yes
[Suggested wording]: CSS Module Scripts allow stylesheets to be imported using the JavaScript module system and import attributes, for more information, please see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#loading_non-javascript_resources.
[Links (documentation, blog post, etc)]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#loading_non-javascript_resources.
Comment 18•3 months ago
|
||
FF147 work for this can be tracked in https://github.com/mdn/content/issues/42255.
Does this also allow the syntax assert {type: 'css'} - I ask not because I expect it does, but because the implementation bug is linked from the compatibility data. So either that link should be removed or the feature should be marked as supported.
| Assignee | ||
Comment 19•3 months ago
|
||
The assert syntax was removed (we unshipped it in https://bugzilla.mozilla.org/show_bug.cgi?id=1910686, according to that bug, Chromium unshipped it at the same time as well) so we should be able to remove references to it from the documentation. I'd fix the link, but I'm not sure which link you mean :)
Comment 20•3 months ago
|
||
Cheers. I'll sort it.
Updated•3 months ago
|
Updated•3 months ago
|
Description
•