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
The CSS spec says: cover attribute is allowed only if a position has been specified before hand.
cover
<bg-layer> = <bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>
Currently Safari, Chrome on one side behaves differently than Firefox. Chrome and Safari accepts this syntax and shows the image (not following the spec)
background: rgba(0,0,0,0) 0 url(…) / cover
Test: https://codepen.io/webcompat/pen/LYPLvow
The text was updated successfully, but these errors were encountered:
Add test for invalid background shorthand <bg-size> position.
4b106c8
Fixes #18947
Successfully merging a pull request may close this issue.
The CSS spec says:
cover
attribute is allowed only if a position has been specified before hand.Currently Safari, Chrome on one side behaves differently than Firefox.
Chrome and Safari accepts this syntax and shows the image (not following the spec)
Test: https://codepen.io/webcompat/pen/LYPLvow
The text was updated successfully, but these errors were encountered: