Closed Bug 1681364 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 26804 - Propagate subpixel accumulation through translation-only animations

Categories

(Core :: CSS Transitions and Animations, task, P4)

task

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Xianzhu Wang <wangxianzhu@chromium.org>' wrote:

Propagate subpixel accumulation through translation-only animations

Previously we discard subpixel accumulation for all transform
animations in case that the transform animation may apply a transform
though which the subpixel accumulation can't be propagated, e.g. scale,
rotation. However, for a translation-only animation, this caused
different pixel-snapped offset of the element from the pixel-snapped
offset before the animation and maybe 1 pixel glitch at start/end of
the animation.

Now check if the transform animation is translation only, and if yes,
allow propagation of the subpixel accumulation.

Bug: 1155029
Change-Id: I0cf759721b6c121f22310a445b679c7283973889
Reviewed-on: https://chromium-review.googlesource.com/2578387
WPT-Export-Revision: 7d2b8a22c433db87635718197d3ee735a2e21e66

Component: web-platform-tests → CSS Transitions and Animations
Product: Testing → Core

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7756559c6044
[wpt PR 26804] - Propagate subpixel accumulation through translation-only animations, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.