[wpt-sync] Sync PR 25237 - [css-grid] Set available column space before grid items prelayout
Categories
(Core :: Layout: Grid, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 25237 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/25237
Details from upstream follow.
Oriol Brufau <obrufau@igalia.com> wrote:
[css-grid] Set available column space before grid items prelayout
Before running the grid track sizing algorithm, there is a prelayout
step which takes care of the baseline alignment of the items.
In order to do that, we estimate the size of the grid area, since we
have not calculated the final size yet.The problem was that, when calculating this estimate, the available
column space had not been set yet. So if a column had a percentage track
sizing function, it would be treated as auto and the estimated size
would be wrong.This patch sets the available column space so that we can resolve
percentage track sizing functions and get a more correct estimate.Bug: 1121761
TEST=external/wpt/css/css-grid/alignment/self-baseline/grid-self-baseline-008.html
Change-Id: Ic4410b0a80b92afa5adfd62187ec236bd4fd3ba0
Reviewed-on: https://chromium-review.googlesource.com/2375649
WPT-Export-Revision: 6512edf01ea36bd70ffc058bddf65178ad364c87
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=b140d12689becbe3b36c4940cdebcb9d2cb183d8
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
FAIL: 1
Chrome
FAIL: 1
Safari
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/css/css-grid/alignment/self-baseline/grid-self-baseline-008.html: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0a7aeef6d2ec [wpt PR 25237] - [css-grid] Set available column space before grid items prelayout, a=testonly https://hg.mozilla.org/integration/autoland/rev/c447b91b04f8 [wpt PR 25237] - Update wpt metadata, a=testonly
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0a7aeef6d2ec
https://hg.mozilla.org/mozilla-central/rev/c447b91b04f8
Description
•