Intent to prototype: CSS Module Scripts

305 views
Skip to first unread message

Daniel Minor

unread,
Aug 21, 2025, 2:15:35 PMAug 21
to dev-pl...@mozilla.org

Summary: This allows importing css stylesheets as modules in JavaScript using import attributes.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1720570

Specificationhttps://html.spec.whatwg.org/#creating-a-css-module-script

Standards Body: WHATWG

Platform coverage: All platforms.

Preference: layout.css.module-scripts.enabled

DevTools bug
: N/A

Link to standards-positions discussion
https://github.com/mozilla/standards-positions/issues/541 (positive)

Other browsers
:

Thanks,
Daniel

Reply all
Reply to author
Forward
0 new messages