Closed Bug 2076221 Opened 2 months ago Closed 1 month ago

[wpt-sync] Sync PR 63018 - [Masonry] Fix incorrect ref for grid-lanes-order-001 test

Categories

(Core :: Layout: Grid, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

John Jansen <johnjansen@microsoft.com> wrote:

[Masonry] Fix incorrect ref for grid-lanes-order-001 test

The reference file used a translateX offset to position item 5, but
the pixel value was slightly off, shifting the box by a few pixels
relative to the actual expected layout. This caused the test to fail on
Windows in both Chrome and Edge, even though grid-lanes itself was not
broken. Replace the translateX hack with position: relative and a
left offset expressed in terms of the item's own percentage width,
which matches the intended layout exactly and removes the
platform-dependent rounding error.

Bug: b:564353369
Test: Ran the test in Chrome and Edge on Windows and Linux
Change-Id: I464245444a3e0527871423df731b1dd8d7fc8d31
Reviewed-on: https://chromium-review.googlesource.com/8467894
WPT-Export-Revision: 5cbbea7a3c413b1f716c9759d7c46329cae55001

Component: web-platform-tests → Layout: Grid
Product: Testing → Core

CI Results

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

Total 11 tests

Status Summary

Firefox

PASS: 10
FAIL: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

CI Results

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

Total 11 tests

Status Summary

Firefox

PASS: 10
FAIL: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

CI Results

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

Total 11 tests

Status Summary

Firefox

PASS: 10
FAIL: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

CI Results

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

Total 11 tests

Status Summary

Firefox

PASS: 10
FAIL: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/98f91ef52dff https://hg.mozilla.org/integration/autoland/rev/a60aa32da148 [wpt PR 63018] - [Masonry] Fix incorrect ref for grid-lanes-order-001 test, a=testonly

CI Results

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

Total 11 tests

Status Summary

Firefox

PASS: 10
FAIL: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

Test result changes from PR not available.

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.