Closed Bug 1733678 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 30810 - Interpolation for Scale and Translate according to CommitStyles

Categories

(Core :: Web Painting, task, P4)

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Sahir Vellani <sahir.vellani@microsoft.com> wrote:

Interpolation for Scale and Translate according to CommitStyles

This change updates the Blend operation for scale and translate
transforms, along with CSSFunctionValue calculations for the respective
transforms.

A new Args property is introduced to TransformOperation that keeps track
of how many arguments the primitive scale() and translate() should
have during interpolation.

Follow-up work will include rotate as well as computedStyleMap.

Bug: 1181086
Change-Id: I74c54f47feec66ed5247699543afd1776be8fdcd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3163382
Reviewed-by: David Baron \<dbaron@chromium.org>
Reviewed-by: Philip Rogers \<pdr@chromium.org>
Reviewed-by: Anders Hartvoll Ruud \<andruud@chromium.org>
Reviewed-by: Olga Gerchikov \<gerchiko@microsoft.com>
Commit-Queue: Sahir Vellani \<sahir.vellani@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#927299}

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

CI Results

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

Total 1 tests and 102 subtests

Status Summary

Firefox

OK : 1
PASS: 29
FAIL: 73

Chrome

OK : 1
PASS: 63
FAIL: 39

Safari

OK : 1
FAIL: 102

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-transforms/animation/transform-interpolation-computed-value.html
Interpolation between translateX(0px) and translateX(50px) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between translateX(0px) and translateX(50px) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between translateX(0%) and translateX(50%) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between translateX(0%) and translateX(50%) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between translateY(0%) and translateX(50%) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between translateY(0%) and translateX(50%) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between translateY(0%) and translateX(50%) gives the correct computed value halfway according to commitStyles.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between translateX(50px) and translateY(50px) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between translateX(50px) and translateY(50px) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between translateX(50px) and translateY(50px) gives the correct computed value halfway according to commitStyles.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between translateX(50px) and translateZ(50px) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between translateX(50px) and translateZ(50px) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between translateZ(50px) and translateX(50px) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between translateZ(50px) and translateX(50px) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between translateZ(-50px) and translateZ(50px) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between translateZ(-50px) and translateZ(50px) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between translate(0%) and translate(50%) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between translate(0%) and translate(50%) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between translate(50%) and translate(100%, 50%) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between translate(50%) and translate(100%, 50%) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between translate(0%, 50%) and translate(50%, 100%) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between translate(0%, 50%) and translate(50%, 100%) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between translate3d(0,0,-50px) and translateZ(50px) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between translate3d(0,0,-50px) and translateZ(50px) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between translate(50px, 0px) and translate(100px, 0px) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between translate(50px, 0px) and translate(100px, 0px) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between rotate(30deg) and rotate(90deg) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between rotate(30deg) and rotate(90deg) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between rotateZ(30deg) and rotateZ(90deg) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between rotateZ(30deg) and rotateZ(90deg) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between rotate(0deg) and rotateZ(90deg) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between rotate(0deg) and rotateZ(90deg) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between rotate(0deg) and rotateZ(90deg) gives the correct computed value halfway according to commitStyles.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between rotateX(0deg) and rotateX(90deg) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between rotateX(0deg) and rotateX(90deg) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between rotate(0deg) and rotateX(90deg) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between rotate(0deg) and rotateX(90deg) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between scale(1) and scale(2) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between scale(1) and scale(2) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between scale(1, 3) and scale(2) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between scale(1, 3) and scale(2) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between scaleX(1) and scaleX(2) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between scaleX(1) and scaleX(2) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between scaleY(1) and scaleY(2) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between scaleY(1) and scaleY(2) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between scaleZ(1) and scaleZ(2) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between scaleZ(1) and scaleZ(2) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between scaleX(2) and scaleY(2) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between scaleX(2) and scaleY(2) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between scaleX(2) and scaleY(2) gives the correct computed value halfway according to commitStyles.: FAIL (Chrome: FAIL, Safari: FAIL)
Interpolation between scaleX(2) and scaleY(3) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between scaleX(2) and scaleY(3) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between scaleX(2) and scaleY(3) gives the correct computed value halfway according to commitStyles.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between scaleZ(1) and scale(2) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between scaleZ(1) and scale(2) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between scale(1, 2) and scale(3, 4) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between scale(1, 2) and scale(3, 4) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between scale3d(1, 2, 3) and scale3d(4, 5, 6) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between scale3d(1, 2, 3) and scale3d(4, 5, 6) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between scale3d(1, 2, 3) and scale(4, 5) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between scale3d(1, 2, 3) and scale(4, 5) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between scale(1, 2) and scale3d(3, 4, 5) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between scale(1, 2) and scale3d(3, 4, 5) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between skewX(0deg) and skewX(60deg) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between skewX(0deg) and skewX(60deg) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between skewX(0deg) and skewX(90deg) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between skewX(0deg) and skewX(90deg) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between skewX(0deg) and skewX(180deg) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between skewX(0deg) and skewX(180deg) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between skew(0deg, 0deg) and skew(60deg, 60deg) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between skew(0deg, 0deg) and skew(60deg, 60deg) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between skew(45deg, 0deg) and skew(0deg, 45deg) gives the correct computed value halfway according to computedStyleMap.: FAIL (Chrome: PASS, Safari: FAIL)
Interpolation between skew(45deg, 0deg) and skew(0deg, 45deg) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d44a87a0ae8e [wpt PR 30810] - Interpolation for Scale and Translate according to CommitStyles, a=testonly https://hg.mozilla.org/integration/autoland/rev/fe2a77ed330d [wpt PR 30810] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.