Skip to content

[css-images] Radii are clamped non-negative #17442

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

Merged
merged 1 commit into from
Jun 27, 2019

Conversation

ewilligers
Copy link
Contributor

@ewilligers ewilligers commented Jun 24, 2019

Compute colors and lengths in
background-image getComputedStyle
w3c/csswg-drafts#4042

Test that radii like calc(-0.5em + 10px) are clamped to be non-negative.
https://drafts.csswg.org/css-images/#radial-gradients

@ewilligers
Copy link
Contributor Author

@dbaron please review

Compute colors and lengths in
background-image getComputedStyle
w3c/csswg-drafts#4042

Test that radii like calc(-0.5em + 10px) are clamped to be non-negative.
https://drafts.csswg.org/css-images/#radial-gradients
@ewilligers ewilligers changed the title [css-images] Negative radii are invalid [css-images] Radii are clamped non-negative Jun 26, 2019
@ewilligers ewilligers merged commit b93cbfa into web-platform-tests:master Jun 27, 2019
@ewilligers ewilligers deleted the gradient-computed branch June 27, 2019 15:00
natechapin pushed a commit to natechapin/wpt that referenced this pull request Aug 23, 2019
Compute colors and lengths in
background-image getComputedStyle
w3c/csswg-drafts#4042

Test that radii like calc(-0.5em + 10px) are clamped to be non-negative.
https://drafts.csswg.org/css-images/#radial-gradients
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants