Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome bug #917522: Border-Radius slash bug in document.styleSheets[0].cssRules (or cssText) #1

Closed
optimalisatie opened this issue Dec 22, 2018 · 1 comment
Labels
good first issue Good for newcomers

Comments

@optimalisatie
Copy link
Member

optimalisatie commented Dec 22, 2018

A Chrome bug has been discovered after adding https://css-art.com/snowman-css-project/

https://bugs.chromium.org/p/chromium/issues/detail?id=917522

The artwork used a border-radius with 8 values separated by a /

.snowman-bottom { border-radius: 10px 20px 30px 10px / 30px 40px 20px 10px; }

Invalid value returned from document.styleSheets (note: even the numbers are changed):
image

The CSS loader will be improved to mitigate the bug, thereby becoming extra stable for any browser.

@optimalisatie optimalisatie added the good first issue Good for newcomers label Dec 22, 2018
@optimalisatie
Copy link
Member Author

optimalisatie commented Dec 22, 2018

The CSS loader has been enhanced with a cors.force option.

https://github.com/style-tools/async

@optimalisatie optimalisatie changed the title First bug discovery: Chrome bug #917522: Border-Radius slash bug in document.styleSheets[0].cssRules (or cssText) Chrome bug #917522: Border-Radius slash bug in document.styleSheets[0].cssRules (or cssText) May 29, 2019
@optimalisatie optimalisatie mentioned this issue Oct 11, 2021
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant