-
Notifications
You must be signed in to change notification settings - Fork 23k
Open
Labels
Description
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet
What specific section or headline is this issue about?
N/A
What information was incorrect, unhelpful, or incomplete?
The one detail missing from this page is how to actually make use of a CSSStyleSheet once it's been created or obtained. i.e. nowhere is there a reference to https://developer.mozilla.org/en-US/docs/Web/API/Document/adoptedStyleSheets (and if there's some other way to properly use them, i've no idea what it/they is/are).
A single sentence along the lines of "to apply a constructed/obtained CSSStyleSheet, use (...link to adoptedStyleSheets)" would improve the page that little bit :).
What did you expect to see?
How to apply a CSSStyleSheet object to the DOM after constructing/obtaining an instance.
Do you have any supporting links, references, or citations?
n/a
Do you have anything more you want to share?
No response
MDN metadata
Page report details
- Folder:
en-us/web/api/cssstylesheet - MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/api/cssstylesheet/index.md
- Last commit: 3e543cd
- Document last modified: 2025-06-23T16:41:39.000Z