Skip to content

Commit

Permalink
Fix link to constructible stylesheets explainer (#4607)
Browse files Browse the repository at this point in the history
  • Loading branch information
peschee committed Apr 23, 2024
1 parent 700799b commit 83d0482
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .changeset/empty-poems-cheat.md
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion packages/reactive-element/src/css-tag.ts
Expand Up @@ -161,7 +161,7 @@ export const css = (
/**
* Applies the given styles to a `shadowRoot`. When Shadow DOM is
* available but `adoptedStyleSheets` is not, styles are appended to the
* `shadowRoot` to [mimic spec behavior](https://wicg.github.io/construct-stylesheets/#using-constructed-stylesheets).
* `shadowRoot` to [mimic the native feature](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/adoptedStyleSheets).
* Note, when shimming is used, any styles that are subsequently placed into
* the shadowRoot should be placed *before* any shimmed adopted styles. This
* will match spec behavior that gives adopted sheets precedence over styles in
Expand Down

0 comments on commit 83d0482

Please sign in to comment.