Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: implement adoptedStylesheets/constructable stylesheets polyfill Adds a polyfill for adoptedStylesheets and constructed stylesheets. The polyfill piggybacks off the "normal" constructed sheets flow, but uses `style` tags under the hood. This allows the code to treat the polyfill more or less as the actual thing and not introduce a third major code path through styling code. The polyfill works by copying `style` tags into each shadow root as needed rather than using the `adoptedStylesheets` property. While not as efficient as constructed stylesheets this feature expands browser support to meet Fluent's browser support matrix requirements. * add workaround for Safari bug/prefer the latest spec * update snapshots * fix types * fix SSR bug
- Loading branch information