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

background:none is applied as background-image:none in Safari #87

Closed
Artur- opened this issue Oct 3, 2021 · 2 comments
Closed

background:none is applied as background-image:none in Safari #87

Artur- opened this issue Oct 3, 2021 · 2 comments

Comments

@Artur-
Copy link
Contributor

Artur- commented Oct 3, 2021

Describe the bug

.nobg { background: none !important;} 
.nobg {background: blue; }

shows a blue background in Safari.

To Reproduce
https://artur.app.fi/stylesheet-polyfill-bug3.html

Expected behavior
The element should have the defined CSS rules set and thus no background.

Screenshots
Styles in Chrome
image

Styles in Safari
image

Additional context
Not only is background replaced with background-image and background-color. It also seems like !important is lost

@calebdwilliams
Copy link
Owner

@Artur- can you confirm this is fixed?

@Artur-
Copy link
Contributor Author

Artur- commented Oct 14, 2021

Amazingly enough it seems all tests that pass with 2.4.16 pass also with 3.0.4

@Artur- Artur- closed this as completed Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants