Closed Bug 1727359 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 30156 - [CompositeClipPathAnimations] Implemented interpolation for CSS Animations

Categories

(Core :: Web Painting, task, P4)

task

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 30156 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/30156
Details from upstream follow.

b'Olga Gerchikov <gerchiko@microsoft.com>' wrote:

[CompositeClipPathAnimations] Implemented interpolation for CSS Animations

Changes made:

  • Initialize ClipPathPaintWorkletInput with data members required for
    interpolation, such as interpolation values, basic shapes and offsets.
  • During interpolation, find "from" and "to" keyframes based on the
    current progress. If shapes match, calculate interpolation result
    normal way. Otherwise return "from" value if progress \< 0.5 or "to" if
    progress >= 0.5.
  • Added web tests.

Handling of CSS transition will be implemented in a follow up CL.

Bug: 1223975
Change-Id: I4961745aa5b71efe1640d104b3d5f4e33cc0907b

Reviewed-on: https://chromium-review.googlesource.com/3107706
WPT-Export-Revision: a49d8286c7dba9f1c52427f4ad3500f321509a6d

Component: web-platform-tests → Web Painting
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 5 tests

Status Summary

Firefox

PASS: 5

Chrome

PASS: 5

Safari

PASS: 4
FAIL: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3434896d3d70
[wpt PR 30156] - [CompositeClipPathAnimations] Implemented interpolation for CSS Animations, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.