forked from microsoft/fluentui
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
11 changed files
with
379 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.