[wpt-sync] Sync PR 31605 - [GridFragmentation] Position items based on their row position.
Categories
(Core :: Layout, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox96 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 31605 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/31605
Details from upstream follow.
Ian Kilpatrick <ikilpatrick@chromium.org> wrote:
[GridFragmentation] Position items based on their row position.
Previously we'd decide if a grid-item should be placed in the current
fragmentainer based on their global position.This was ok - but a better strategy is to try and keep them with their
row. This wasn't initially important, but as break avoidance is row
based, when we try to shift a row to a subsequent fragmentainer we'll
potentially end up with an item which has already been placed.This has the side-effect that a grid-item with a negative block-start
margin, may be placed above the start fragmentainer edge - which seems
ok.I added this as a tentative testcase.
Bug: 614667
Change-Id: I65486307fd72f8e5f8cb7f87ebce66c5569deedf
Reviewed-on: https://chromium-review.googlesource.com/3276728
WPT-Export-Revision: 3c85c003c03fd879f737471a628af3a293ac28d2
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=73c38367fcddf7fab63fbaa7829b73a74617a874
Assignee | ||
Comment 2•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=a9136f3282207a5e8fc6811ae6eeeddfe8ffbe34
Assignee | ||
Comment 3•3 years ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests
Status Summary
Firefox
PASS: 1
FAIL: 1
Chrome
PASS: 1
FAIL: 1
Safari
PASS: 1
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
/css/css-break/grid/grid-item-fragmentation-026.html: FAIL
New Tests That Don't Pass
/css/css-break/grid/grid-item-fragmentation-026.html: FAIL (Chrome: PASS, Safari: PASS)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/29d23d019702 [wpt PR 31605] - [GridFragmentation] Position items based on their row position., a=testonly https://hg.mozilla.org/integration/autoland/rev/1a95ad8789fa [wpt PR 31605] - Update wpt metadata, a=testonly
Comment 5•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/29d23d019702
https://hg.mozilla.org/mozilla-central/rev/1a95ad8789fa
Description
•