Skip to content

Declarative CSS Module Scripts #824

@KurtCattiSchmidt

Description

@KurtCattiSchmidt

Proposal

This feature adds support for <style type="module" specifier="foo"> and <template shadowrootadoptedstylesheets="foo">.

Resources:

https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/ShadowDOM/explainer.md
whatwg/html#10673
https://issues.chromium.org/issues/448174611
https://bugzilla.mozilla.org/show_bug.cgi?id=2037650
https://bugs.webkit.org/show_bug.cgi?id=314242

Browser support

It is not Stable yet, it is enabled with Experimental Web Platform Features in Chromium-based browsers (including Chrome and Edge) after version 144 and is currently testable in an Origin Trial.

Tasks

Dependencies

  • [ ]

Additional information

No response

Are you willing to support this work?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.proposalAuto label for new proposals added via the suggestion form

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions