[wpt-sync] Sync PR 63139 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=322875
Categories
(Core :: Layout: Grid, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63139 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63139
Details from upstream follow.
Alan Baradlay <zalan@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=322875
WebKit export from bug: REGRESSION(316706@main) tess.oconnor.cx: lots of spacing between image and content towards bottom of page
<pre>
REGRESSION(<a href="https://commits.webkit.org/316706@main">316706@main</a>) tess.oconnor.cx: lots of spacing between image and content towards bottom of page<a href="https://commits.webkit.org/316706@main">316706@main</a> dropped the BaselineGroup::computeSize() > 1 guard from baselineOffsetForGridItem() on the assumption
that a single participant's max ascent is its own ascent, so that the offset is already zero.
That only holds while the ascent is stable: it is collected in computeBaselineAlignmentContext()
and computed again when the offset is queried. An item whose used size is only resolved after track sizing
(e.g. a replaced item with a percentage max-width) reports a smaller ascent by then, and the stale, larger max ascent turns into
a baseline offset that pushes the single item away from the start of its grid area.Track the number of alignment subjects next to the max ascent in GridBaselineAlignment's per-context state and restore the guard (similar to what we had before <a href="https://commits.webkit.org/316706@main">316706@main</a>).
WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=322875">https://bugs.webkit.org/show_bug.cgi?id=322875</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/320115@main">https://commits.webkit.org/320115@main</a>
</pre>
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=99400
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 430 tests
Status Summary
Firefox
OK : 1[GitHub] 263[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 4[GitHub] 1522[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1676[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug] 1678[Gecko-android-em-14-x86_64-lite-opt-geckoview] 1679[Gecko-linux2404-64-opt] 1682[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 52[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 59[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 62[Gecko-linux2404-64-opt] 63[Gecko-android-em-14-x86_64-lite-opt-geckoview] 65[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug]
Chrome
OK : 1
PASS: 4
Safari
OK : 1
PASS: 4
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-grid/alignment/grid-align-baseline-line-clamp-002.tentative.html [wpt.fyi]
- .target > * 14:
FAIL - .target > * 15:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - .target > * 18:
FAIL - .target > * 19:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - .target > * 22:
FAIL - .target > * 23:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- .target > * 14:
- /css/css-grid/alignment/grid-align-baseline-multicol-001.html [wpt.fyi]
- .target > * 3:
FAIL - .target > * 7:
FAIL
- .target > * 3:
- /css/css-grid/alignment/grid-align-baseline-multicol-002.html [wpt.fyi]
- .target > * 1:
FAIL - .target > * 3:
FAIL - .target > * 5:
FAIL - .target > * 7:
FAIL
- .target > * 1:
- /css/css-grid/alignment/grid-align-baseline-multicol-003.html [wpt.fyi]
- .target > * 3:
FAIL - .target > * 7:
FAIL
- .target > * 3:
- /css/css-grid/alignment/grid-align-baseline-table-002.html [wpt.fyi]
- .target > * 1:
FAIL - .target > * 3:
FAIL
- .target > * 1:
- /css/css-grid/alignment/grid-baseline-004.html [wpt.fyi]
- .grid, container 17:
FAIL
- .grid, container 17:
- /css/css-grid/alignment/grid-column-axis-self-baseline-synthesized-001.html [wpt.fyi]
- .grid 1:
FAIL - .grid 2:
FAIL - .grid 4:
FAIL
- .grid 1:
- /css/css-grid/alignment/grid-column-axis-self-baseline-synthesized-003.html [wpt.fyi]
- .grid 1:
FAIL - .grid 3:
FAIL
- .grid 1:
- /css/css-grid/alignment/grid-row-axis-self-baseline-synthesized-001.html [wpt.fyi]
- .grid 3:
FAIL - .grid 4:
FAIL
- .grid 3:
- /css/css-grid/alignment/grid-row-axis-self-baseline-synthesized-003.html [wpt.fyi]
- .grid 3:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-lite-opt-geckoview] - .grid 4:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-lite-opt-geckoview]
- .grid 3:
- /css/css-grid/alignment/grid-self-baseline-not-applied-if-sizing-cyclic-dependency-001.html [wpt.fyi]
- .inline-grid 7:
FAIL - .inline-grid 8:
FAIL - .inline-grid 9:
FAIL - .inline-grid 10:
FAIL - .inline-grid 11:
FAIL
- .inline-grid 7:
- /css/css-grid/alignment/grid-self-baseline-not-applied-if-sizing-cyclic-dependency-002.html [wpt.fyi]
- .inline-grid 1:
FAIL - .inline-grid 2:
FAIL - .inline-grid 3:
FAIL - .inline-grid 4:
FAIL - .inline-grid 5:
FAIL - .inline-grid 6:
FAIL - .inline-grid 19:
FAIL - .inline-grid 20:
FAIL - .inline-grid 21:
FAIL - .inline-grid 22:
FAIL - .inline-grid 23:
FAIL - .inline-grid 24:
FAIL
- .inline-grid 1:
- /css/css-grid/alignment/grid-self-baseline-not-applied-if-sizing-cyclic-dependency-003.html [wpt.fyi]
- .grid 5:
FAIL - .grid 6:
FAIL
- .grid 5:
- /css/css-grid/alignment/self-baseline/grid-self-baseline-two-dimensional.html [wpt.fyi]
- .grid 2:
FAIL - .grid 3:
FAIL - .grid 4:
FAIL - .grid 5:
FAIL - .grid 6:
FAIL - .grid 7:
FAIL - .grid 8:
FAIL - .grid 9:
FAIL - .grid 11:
FAIL - .grid 12:
FAIL
- .grid 2:
- /css/css-grid/alignment/grid-baseline-align-cycles-001.html [wpt.fyi]:
FAIL - /css/css-grid/alignment/grid-baseline-justify-001.html [wpt.fyi]:
FAIL - /css/css-grid/alignment/grid-item-content-baseline-001.html [wpt.fyi]:
FAIL - /css/css-grid/alignment/grid-item-content-baseline-002.html [wpt.fyi]:
FAIL - /css/css-grid/alignment/grid-item-content-baseline-003.html [wpt.fyi]:
FAIL - /css/css-grid/alignment/grid-item-content-baseline-004.html [wpt.fyi]:
FAIL - /css/css-grid/alignment/grid-item-mixed-baseline-001.html [wpt.fyi]:
FAIL - /css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-4.html [wpt.fyi]:
FAIL[Gecko-linux2404-64-debug],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-5.html [wpt.fyi]:
FAIL[Gecko-linux2404-64-debug],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-6.html [wpt.fyi]:
FAIL[Gecko-linux2404-64-debug],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-007.html [wpt.fyi]:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt],PASS[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-007.html [wpt.fyi]:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt],PASS[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-007.html [wpt.fyi]:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt],PASS[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
Description
•