Skip to content

layout: Prevent animations from producing invalid color values - #60931

Merged
mrobinson merged 1 commit into
web-platform-tests:masterfrom
servo:servo_export_46016
Jun 27, 2026
Merged

mrobinson merged 1 commit into
web-platform-tests:masterfrom
servo:servo_export_46016

Conversation

@servo-wpt-sync

@servo-wpt-sync servo-wpt-sync commented Jun 26, 2026 •

Copy link
Copy Markdown
Collaborator

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 reversing1.
  2. Prevents the creation of WebRender color values with alpha that is
    out of range.

Stylo PR: servo/stylo#403
Testing: This change adds a WPT crash test.
Fixes: #45945

Reviewed in servo/servo#46016

Footnotes

  1. https://www.w3.org/TR/css-transitions-1/#reversing ↩

@wpt-pr-bot wpt-pr-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The review process for this patch is being conducted in the Servo project.

@servo-wpt-sync
servo-wpt-sync force-pushed the servo_export_46016 branch 7 times, most recently from cb2358f to d0c98cd Compare June 27, 2026 13:17
@servo-wpt-sync servo-wpt-sync added stale-servo-export PRs that were supposed to merge but were not able to do so. and removed do not merge yet labels Jun 27, 2026
@servo-wpt-sync

Copy link
Copy Markdown
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
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
mrobinson force-pushed the servo_export_46016 branch from d0c98cd to 61343e5 Compare June 27, 2026 14:37
@mrobinson
mrobinson merged commit c466f13 into web-platform-tests:master Jun 27, 2026
24 checks passed
@Loirooriol
Loirooriol deleted the servo_export_46016 branch June 27, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

css-animations servo-export stale-servo-export PRs that were supposed to merge but were not able to do so. wg-css

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants