Encountering "SyntaxError: Failed to execute 'insertRule' on 'CSSStyleSheet': Failed to parse the rule '.f10oniif{background-color:rgba(255, 255, 255, 0.5);};}'." after updating the Edge browser to version 129.0.279.52. #608
Labels
🐞 bug
Something isn't working
Bug description
We are experiencing an issue where certain CSS styles are not functioning correctly in our web application after updating the Edge browser to version 129.0.279.52. We have identified a “SyntaxError” occurring when calling insertRule(). The error appears to be caused by a CSS rule with multiple closing braces, such as “.f143d684{width:calc(100% - 6.9rem);};}”.
System information
Edge: 129.0.279.52
@griffel/react: 1.5.25
Reproduce steps
You can reproduce this bug by downloading https://github.com/imechZhangLY/griffel-error-demo and following the instructions.
npm run build
.index.html
in thedist
folder using Edge version 129.0.279.52 or higher.The text was updated successfully, but these errors were encountered: