shadycss icon indicating copy to clipboard operation
shadycss copied to clipboard

Consider adding support for `shadowRoot.adoptedStyleSheets`

Open sorvell opened this issue 7 years ago • 0 comments

Using adoptedStyleSheets is a new way to style Shadow DOM being added to the platform.

ShadyCSS should support this in some way. Instead of putting style elements into a shadowRoot, style sheets are constructed and added via adoptedStyleSheets. It's probable out of scope to try to polyfill constructible stylesheets, but some way should be added to styling cssText to a particular scope, perhaps before the call to prepareTemplate.

sorvell avatar Dec 21 '18 21:12 sorvell