You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Shadow DOM Styling] Update the Constructible Stylesheets example to be more realistic. (#1093)
Constructible Stylesheets are most often shared among all instances of a element class, so they're set up outside of the constructor. This updates the example to do that.
-[Local References For Link Rel](#local-references-for-link-rel)
51
+
-[Key Differences Between This Proposal And Local References For Link Rel](#key-differences-between-this-proposal-and-local-references-for-link-rel)
52
+
-[Layer and adoptStyles](#layer-and-adoptstyles)
53
+
-[`@Sheet`](#sheet)
54
+
-[Id-based `adoptedstylesheet` attribute on template](#id-based-adoptedstylesheet-attribute-on-template)
55
+
-[Polyfills](#polyfills)
41
56
-[Summary](#summary)
42
57
-[Open issues](#open-issues)
43
58
-[References and acknowledgements](#references-and-acknowledgements)
@@ -123,37 +138,37 @@ Some developers have expressed interest in CSS selectors crossing through the Sh
123
138
```
124
139
Meanwhile, the styles defined within the Shadow DOM are specific to the media control widget. These styles ensure that the widget looks consistent and isn't affected by other styles on the page.
125
140
```js
141
+
// Shared stylesheet for all <media-control> elements
0 commit comments