Describe the bug
document.adoptedStyleSheets.push(new CSSStyleSheet()); doesn't work.
To Reproduce
Apply CSSStyleSheet via push
Expected behavior
document.adoptedStyleSheets = [ new CSSStyleSheet() ];
document.adoptedStyleSheets.push(new CSSStyleSheet());
should have the same effect
Desktop (please complete the following information):
- OS: macOS
- Browser Safari
- Version 16.3