Skip to content
Snippets Groups Projects

Fix Themes v3 not working on Safari

Merged tusooa requested to merge tusooa/themesv3-on-safari into develop

Changes

image

Basically use <style> elements to replace document.adoptedStyleSheets if it is not available.

Note that this means that we are not able to use the advantage of the separation between eager and lazy styles.

In Safari I am also unable to clone the <style> element and keep its sheet property at the same time, so the style is modified in place.

Closes #1319 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading