Skip to content

shadowrootadoptedstylesheets on HTMLTemplateElement #4148

Description

@KurtCattiSchmidt

Specification

PR here: whatwg/html#12339

Description

shadowrootadoptedstylesheets allows for setting adoptedStyleSheets on declarative shadow DOM. It accepts a space-separated list of specifiers that are fetched and added to the generated shadow root's adoptedStyleSheets array in specified order.

Documentation

https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/ShadowDOM/explainer.md

Browser support

This is currently only supported in Chromium browsers behind Experimental Web Platform Features. We are planning on shipping it in Chromium 152. More details are under https://chromestatus.com/feature/4790543041298432.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature definitionCreating or defining new features or groups of features.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions