Repository navigation
layout: Prevent animations from producing invalid color values - #60931
Merged
Merged
Conversation
wpt-pr-bot
approved these changes
Jun 26, 2026
wpt-pr-bot
left a comment
Collaborator
There was a problem hiding this comment.
The review process for this patch is being conducted in the Servo project.
servo-wpt-sync
force-pushed
the
servo_export_46016
branch
7 times, most recently
from
June 27, 2026 13:17
cb2358f to
d0c98cd
Compare
Collaborator
Author
|
⛔ The downstream PR has merged (servo/servo#46016), but these changes could not be merged properly. Please address any CI issues and try to merge manually. |
mrobinson
enabled auto-merge (rebase)
June 27, 2026 14:14
This commits makes two changes to prevent animations from producing invalid color values (defense in depth): 1. Update Stylo to a version that fixing an issue with interpolation of values in interrupted transitions that are reversing[^1]. 2. Prevents the creation of WebRender color values with alpha that is out of range. Signed-off-by: Martin Robinson <[email protected]> [^1]: https://www.w3.org/TR/css-transitions-1/#reversing
mrobinson
force-pushed
the
servo_export_46016
branch
from
June 27, 2026 14:37
d0c98cd to
61343e5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commits makes two changes to prevent animations from producing
invalid color values (defense in depth):
values in interrupted transitions that are reversing1.
out of range.
Stylo PR: servo/stylo#403
Testing: This change adds a WPT crash test.
Fixes: #45945
Reviewed in servo/servo#46016
Footnotes
https://www.w3.org/TR/css-transitions-1/#reversing ↩