Closed Bug 1623808 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 22346 - Adjust snapping for background image offsets

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Stephen Chenney <schenney@chromium.org> wrote:

Adjust snapping for background image offsets

When a background image is positioned with respect to the bottom edge
of the background positioning area it may be incorrectly snapped. This
is most obvious for very narrow images intended to attach to the edge
of the positioning area. Fix such cases by accounting for the existing
snapping changes in the positioning area when computing the offset.

Bug: 994096
Change-Id: I24f971082a35c4bc9b3e85632f51511cdbf86c2e
Reviewed-on: https://chromium-review.googlesource.com/2108342
WPT-Export-Revision: 69d09f8f4e69420c593b2afebff05ce3a1500809

Component: web-platform-tests → Layout: Images, Video, and HTML Frames
Product: Testing → Core

CI Results

Ran 13 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

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2ea5e6b0832c [wpt PR 22346] - Adjust snapping for background image offsets, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.