Constructed stylesheets
Newly available since 2023-03-27
The CSSStyleSheet
constructor creates a new stylesheet which can be shared between a document and multiple shadow roots using adoptedStyleSheets
.
Learn more
Specifications
Browser support
- Chrome 73 Released on 2019-03-12
- Chrome Android 73 Released on 2019-03-12
- Edge 79 Released on 2020-01-15
- Firefox 101 Released on 2022-05-31
- Firefox for Android 101 Released on 2022-05-31
- Safari 16.4 Released on 2023-03-27
- Safari on iOS 16.4 Released on 2023-03-27
Usage (according to Chrome Platform Status)
~8.055% of page loads. More data at chromestatus.
Interop
- Included in Interop 2023
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist