Closed Bug 1643543 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 24004 - Improve background position snapping

Categories

(Core :: Layout: Images, Video, and HTML Frames, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Stephen Chenney <schenney@chromium.org> wrote:

Improve background position snapping

A previous fix to ensure painting backgrounds hard up against the
edge of the positioning area has led to images at other positions
dancing around due to sub-pixel snapping.

Change the way we snap the position, again, in an attempt to improve
the situation. This does not totally fix the animated transition case
because that has an infinite (sort of) set of sub-pixel sizes and not
all of them will snap the same way. The latter seems nearly impossible
to fix.

Bug: 1088406
Change-Id: I5549404378e7668c8edcecb9816ba4d401bcdde0
Reviewed-on: https://chromium-review.googlesource.com/2228368
WPT-Export-Revision: 8a76403bfabc6510875f17c22d0ca2c50984c0c8

Component: web-platform-tests → Layout: Images, Video, and HTML Frames
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

FAIL: 1

Safari

PASS: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/315efbc7d3c6
[wpt PR 24004] - Improve background position snapping, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.