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

When animating between a value that is computed to be a percentage and a fixed value, a calc() value must be used #28426

Conversation

graouts
Copy link
Contributor

@graouts graouts commented Apr 9, 2021

I filed CSS issue #6197 about this and @emilio pointed me to CSS issue #3482 which clarifies that a calc() value, containing a 0% value if applicable, should be created when blending between a percentage and a fixed value.

…d a fixed value, a calc() value must be used.
@graouts
Copy link
Contributor Author

graouts commented Apr 9, 2021

Note that Firefox will now pass those modified tests while Chrome will fail. Safari will pass them shortly.

Copy link
Contributor

@emilio emilio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@graouts graouts merged commit 550e86f into web-platform-tests:master Apr 9, 2021
@graouts graouts deleted the calc-for-background-position-interpolation-keywords branch April 9, 2021 13:16
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.

None yet

3 participants