Files
Felipe Erias 64367cc8b8 Bug 2023394 [wpt PR 58497] - Correct expectation in custom-property-animation-transform-list-multiple-values.html, a=testonly
Automatic update from web-platform-tests
Correct expectation in custom-property-animation-transform-list-multiple-values.html (#58497)

Scale is a one-based value, so accumulates following:

Vresult = Va + Vb - 1

This particular test defines an animation from scale(3) to scale(4), and accumulates it for 2.5 iterations.

At the end of the 1st iteration, scale = Va = 4

At the end of the 2nd iteration, Vb = 4, so scale = Va + Vb - 1 = 4 + 4 - 1 = 7

A half-way partial iteration from from scale(3) to scale(4) contributes an additional 3.5

Therefore, accumulating with the result from the end of the second iteration yields:

7 + 3.5 - 1 = 9.5

https://www.w3.org/TR/css-transforms-2/#combining-transform-lists
--

wpt-commits: 9791491590b368dfb1007e651048453be5ec54b2
wpt-pr: 58497
2026-04-28 18:11:36 +00:00
..