Skip to content

Conversation

@caugner
Copy link
Contributor

@caugner caugner commented Mar 21, 2025

Description

Link from CSSStyleSheet() constructor to Document.adoptedStyleSheets

Motivation

These are commonly used together.

Additional details

Related issues and pull requests

@caugner caugner requested a review from a team as a code owner March 21, 2025 16:22
@caugner caugner requested review from wbamberg and removed request for a team March 21, 2025 16:22
@github-actions github-actions bot added Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed labels Mar 21, 2025
@github-actions
Copy link
Contributor

Copy link
Collaborator

@hamishwillee hamishwillee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this makes sense. Thanks.

FWIW we really should have a section on this stuff in our docs like the "Constructable Stylesheets" web.dev article.

@hamishwillee hamishwillee merged commit 74055e0 into main Mar 24, 2025
11 checks passed
@hamishwillee hamishwillee deleted the link-from-CSSStyleSheet-constructor-to-Document-adoptedStyleSheets branch March 24, 2025 00:12
cssinate pushed a commit to cssinate/content that referenced this pull request Apr 11, 2025
…ts` (mdn#38753)

Link from CSSStyleSheet() constructor to Document.adoptedStyleSheets

These are commonly used together.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants