Bug 1793112 [wpt PR 36200] - [CompositeClipPathAnimations] Make paint rect encompass...
commit19deba2496399e0524be7528fc70d5f46005861a
authorClaire Chambers <clchambers@microsoft.com>
Fri, 21 Oct 2022 16:58:32 +0000 (21 16:58 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Tue, 25 Oct 2022 15:50:37 +0000 (25 15:50 +0000)
tree0e603a022b4704d7e730fa371889e6cf458710e1
parent8364a19835d1880e7ced031ba1fcb24cf4af8f38
Bug 1793112 [wpt PR 36200] - [CompositeClipPathAnimations] Make paint rect encompass entire animation, a=testonly

Automatic update from web-platform-tests
[CompositeClipPathAnimations] Make paint rect encompass entire animation

Previously, the paint rect for a composited clip path animation would be
based on the size of the clip path at paint time, which meant that a
clip path animation progressing from a smaller to larger keyframe would
be clipped unnecessarily. This change decides the clip area based on the
union of all keyframes, resulting in a rect that encompasses the entire
animation.

Fuzzy diff is added for one test because of rendering code path differences causing a very small diff. See discussion on crbug.com/1249071 for why this is preferred.

Bug: 12486101372489
Change-Id: Ic9f5658166cbe5698b3486fc6f97fc8a4405850c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3928467
Commit-Queue: Claire Chambers <clchambers@microsoft.com>
Reviewed-by: Robert Flack <flackr@chromium.org>
Reviewed-by: Olga Gerchikov <gerchiko@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1059057}

--

wpt-commits: 2ee2935f8176e40a7e60376bd38e4ba85941b6e9
wpt-pr: 36200
testing/web-platform/tests/css/css-masking/clip-path/animations/clip-path-animation-fixed-position.html