You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Mutating CSSStyleDeclaration (via .setProperty() for example) does not update injected style. When I change its value, only ConstructedStyleSheet is changed, but I don't see any changes in DOM
To Reproduce
Create and add a Stylesheet with some rules to a Shadow DOM's adoptedStyleSheets
Change some property with myRule.style.setPropety('width', '10px)3.
Check the DOM and verify no changes have happened.
Expected behavior**
Injected style will update as it would on Chrome with native constructed style sheets support
Desktop (please complete the following information):
OS: macOS
Browser: Safari
Version: 15.5
The text was updated successfully, but these errors were encountered:
Describe the bug
Mutating CSSStyleDeclaration (via
.setProperty()
for example) does not update injected style. When I change its value, only ConstructedStyleSheet is changed, but I don't see any changes in DOMTo Reproduce
adoptedStyleSheets
myRule.style.setPropety('width', '10px)
3.Expected behavior**
Injected style will update as it would on Chrome with native constructed style sheets support
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: