[wpt-sync] Sync PR 63126 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=325177
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 63126 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63126
Details from upstream follow.
Sammy Gill <sammy.gill@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=325177
WebKit export from bug: [GFC] Implement basic repeat()
<pre>
[GFC][Integration] Allow basic repeat()Style::GridTemplateList already expands repeat() with an integer count into
its list of track sizes, and GFC reads that expanded list for the explicit
track count, the track sizing functions, and line-based placement. So the
integration code was the only thing keeping grids that use repeat() out of
GFC.Allow repeat(<integer>, ...) in grid-template-columns and grid-template-rows
as long as every entry inside it meets the same rules as a top-level entry:
fixed breadth track sizes and no line names. repeat(auto-fill, ...) and
repeat(auto-fit, ...) are still rejected, since computing the number of
repetitions from the available space is not yet implemented.Also check the expanded track sizes when looking for percentage rows in a
grid with an indefinite height. Previously only top-level entries were
checked, so repeat(2, 10%) would have been let into GFC.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=325177">https://bugs.webkit.org/show_bug.cgi?id=325177</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/321911@main">https://commits.webkit.org/321911@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=99462
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 82 tests and 6 subtests
Status Summary
Firefox
OK : 47
PASS: 4[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 5[GitHub] 1142[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1172[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-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 156[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 157[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-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
PASS: 5
Safari
PASS: 5
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-grid/grid-definition/grid-auto-repeat-dynamic-003.html [wpt.fyi]:
FAIL - /css/css-grid/grid-definition/grid-auto-repeat-max-size-001.tentative.html [wpt.fyi]
- .grid 16: Percentage padding, min-content:
FAIL - .grid 19: Percentage padding, max-content:
FAIL
- .grid 16: Percentage padding, min-content:
- /css/css-grid/grid-definition/grid-inline-support-flexible-lengths-001.html [wpt.fyi]
- 'grid' with: grid-template-columns: fr; and grid-template-rows: fr;:
FAIL - 'grid' with: grid-template-columns: 1 fr; and grid-template-rows: 1 fr;:
FAIL - 'grid' with: grid-template-columns: 1free-space; and grid-template-rows: 1free-space;:
FAIL - 'grid' with: grid-template-columns: -2fr; and grid-template-rows: -2fr;:
FAIL - 'grid' with: grid-template-columns: 0,5fr; and grid-template-rows: 0,5fr;:
FAIL - 'grid' with: grid-template-columns: calc(1fr + 100px); and grid-template-rows: calc(1fr + 100px);:
FAIL - 'grid' with: grid-template-columns: (1fr) auto; and grid-template-rows: (1fr) auto;:
FAIL - 'grid' with: grid-template-columns: minmax(1fr, 1000px); and grid-template-rows: minmax(1fr, 700px);:
FAIL
- 'grid' with: grid-template-columns: fr; and grid-template-rows: fr;:
- /css/css-grid/grid-definition/grid-inline-support-grid-template-columns-rows-001.html [wpt.fyi]
- 'grid' with: grid-template-columns: none; and grid-template-rows: none;:
FAIL - 'grid' with: grid-template-columns: foo; and grid-template-rows: bar;:
FAIL - 'grid' with: grid-template-columns: auto none; and grid-template-rows: none auto;:
FAIL - 'grid' with: grid-template-columns: 100px, 200px; and grid-template-rows: 300px, 400px;:
FAIL - 'grid' with: grid-template-columns: minmax(100px, 200px, 300px); and grid-template-rows: minmax(100px, 200px, 300px);:
FAIL
- 'grid' with: grid-template-columns: none; and grid-template-rows: none;:
- /css/css-grid/grid-definition/grid-inline-support-named-grid-lines-001.html [wpt.fyi]
- 'grid' with: grid-template-columns: [a]; and grid-template-rows: [a];:
FAIL - 'grid' with: grid-template-columns: [a b]; and grid-template-rows: [a b];:
FAIL - 'grid' with: grid-template-columns: [a] none [b]; and grid-template-rows: [a] none [b];:
FAIL - 'grid' with: grid-template-columns: [a] [b]; and grid-template-rows: [a] [b];:
FAIL - 'grid' with: grid-template-columns: a auto b; and grid-template-rows: a auto b;:
FAIL - 'grid' with: grid-template-columns: (a) auto (b); and grid-template-rows: (a) auto (b);:
FAIL - 'grid' with: grid-template-columns: 'a' auto 'b'; and grid-template-rows: 'a' auto 'b';:
FAIL - 'grid' with: grid-template-columns: "a" auto "b"; and grid-template-rows: "a" auto "b";:
FAIL - 'grid' with: grid-template-columns: [a, b] auto [a, b]; and grid-template-rows: [a, b] auto [a, b];:
FAIL - 'grid' with: grid-template-columns: [a] [b] auto [c d] [e]; and grid-template-rows: [a] [b] auto [c d] [e];:
FAIL - 'grid' with: grid-template-columns: [a [b]] auto [c]; and grid-template-rows: [a [b]] auto [c];:
FAIL - 'grid' with: grid-template-columns: [a] auto [[b]]; and grid-template-rows: [a] auto [[b]];:
FAIL - 'grid' with: grid-template-columns: [a auto [b]; and grid-template-rows: [a auto [b];:
FAIL - 'grid' with: grid-template-columns: [a 100px] auto [b]; and grid-template-rows: [a 100px] auto [b];:
FAIL - 'grid' with: grid-template-columns: [a 50%] auto [b]; and grid-template-rows: [a 50%] auto [b];:
FAIL - 'grid' with: grid-template-columns: [5] auto [10]; and grid-template-rows: [5] auto [10];:
FAIL - 'grid' with: grid-template-columns: [a.] auto [b*]; and grid-template-rows: [a.] auto [b*];:
FAIL - 'grid' with: grid-template-columns: [#a] auto [$b]; and grid-template-rows: [#a] auto [$b];:
FAIL - 'grid' with: grid-template-columns: [initial] auto; and grid-template-rows: [initial] auto;:
FAIL - 'grid' with: grid-template-columns: [inherit] auto; and grid-template-rows: [inherit] auto;:
FAIL - 'grid' with: grid-template-columns: [default] auto; and grid-template-rows: [default] auto;:
FAIL
- 'grid' with: grid-template-columns: [a]; and grid-template-rows: [a];:
- /css/css-grid/grid-definition/grid-inline-support-repeat-001.html [wpt.fyi]
- 'grid' with: grid-template-columns: repeat(-1, auto); and grid-template-rows: repeat(-1, auto);:
FAIL - 'grid' with: grid-template-columns: repeat(auto, 2); and grid-template-rows: repeat(auto, 2);:
FAIL - 'grid' with: grid-template-columns: repeat 2, auto; and grid-template-rows: repeat 2, auto;:
FAIL - 'grid' with: grid-template-columns: repeat(2 auto); and grid-template-rows: repeat(2 auto);:
FAIL - 'grid' with: grid-template-columns: 100px (repeat 2, auto); and grid-template-rows: (repeat 2, auto);:
FAIL - 'grid' with: grid-template-columns: repeat(2, 50px repeat(2, 100px)); and grid-template-rows: repeat(2, 50px repeat(2, 100px));:
FAIL - 'grid' with: grid-template-columns: 100px repeat(2, [a]); and grid-template-rows: 100px repeat(2, [a]);:
FAIL
- 'grid' with: grid-template-columns: repeat(-1, auto); and grid-template-rows: repeat(-1, auto);:
- /css/css-grid/grid-definition/grid-inline-template-columns-rows-resolved-values-001.html [wpt.fyi]
- 'grid' with: grid-template-columns: ; and grid-template-rows: ;:
FAIL - 'grid' with: grid-template-columns: auto auto; and grid-template-rows: ;:
FAIL - 'grid' with: grid-template-columns: 60px; and grid-template-rows: ;:
FAIL - 'grid' with: grid-template-columns: 100px 60px; and grid-template-rows: ;:
FAIL - 'grid' with: grid-template-columns: ; and grid-template-rows: 50px;:
FAIL - 'grid' with: grid-template-columns: ; and grid-template-rows: 50px 30px;:
FAIL - 'grid' with: grid-template-columns: 60px; and grid-template-rows: 50px;:
FAIL - 'grid' with: grid-template-columns: 60px; and grid-template-rows: 50px 30px;:
FAIL - 'grid' with: grid-template-columns: 100px 60px; and grid-template-rows: 50px;:
FAIL - 'gridItemsPositions' with: grid-template-columns: ; and grid-template-rows: ;:
FAIL - 'gridItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: ;:
FAIL - 'gridItemsPositions' with: grid-template-columns: 60px 50px; and grid-template-rows: ;:
FAIL - 'gridItemsPositions' with: grid-template-columns: ; and grid-template-rows: 60px;:
FAIL - 'gridItemsPositions' with: grid-template-columns: ; and grid-template-rows: 60px 50px;:
FAIL - 'gridItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: 60px;:
FAIL - 'gridItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: 60px 50px;:
FAIL - 'gridItemsPositions' with: grid-template-columns: 60px 50px; and grid-template-rows: 60px;:
FAIL - 'gridItemsPositions' with: grid-template-columns: 60px 50px; and grid-template-rows: 60px 50px;:
FAIL - 'gridAutoFlowColumn' with: grid-template-columns: ; and grid-template-rows: ;:
FAIL - 'gridAutoFlowColumn' with: grid-template-columns: ; and grid-template-rows: auto auto;:
FAIL - 'gridAutoFlowColumn' with: grid-template-columns: 60px; and grid-template-rows: ;:
FAIL - 'gridAutoFlowColumn' with: grid-template-columns: 100px 60px; and grid-template-rows: ;:
FAIL - 'gridAutoFlowColumn' with: grid-template-columns: ; and grid-template-rows: 50px;:
FAIL - 'gridAutoFlowColumn' with: grid-template-columns: ; and grid-template-rows: 50px 30px;:
FAIL - 'gridAutoFlowColumn' with: grid-template-columns: 60px; and grid-template-rows: 50px;:
FAIL - 'gridAutoFlowColumn' with: grid-template-columns: 60px; and grid-template-rows: 50px 30px;:
FAIL - 'gridAutoFlowColumn' with: grid-template-columns: 100px 60px; and grid-template-rows: 50px;:
FAIL - 'gridAutoFlowColumnItemsPositions' with: grid-template-columns: ; and grid-template-rows: ;:
FAIL - 'gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: ;:
FAIL - 'gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px 70px; and grid-template-rows: ;:
FAIL - 'gridAutoFlowColumnItemsPositions' with: grid-template-columns: ; and grid-template-rows: 60px;:
FAIL - 'gridAutoFlowColumnItemsPositions' with: grid-template-columns: ; and grid-template-rows: 60px 70px;:
FAIL - 'gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: 60px;:
FAIL - 'gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: 60px 70px;:
FAIL - 'gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px 70px; and grid-template-rows: 60px;:
FAIL - 'gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px 70px; and grid-template-rows: 60px 70px;:
FAIL
- 'grid' with: grid-template-columns: ; and grid-template-rows: ;:
- /css/css-grid/grid-definition/grid-support-flexible-lengths-001.html [wpt.fyi]
- 'grid' with: grid-template-columns: fr; and grid-template-rows: fr;:
FAIL - 'grid' with: grid-template-columns: 1 fr; and grid-template-rows: 1 fr;:
FAIL - 'grid' with: grid-template-columns: 1free-space; and grid-template-rows: 1free-space;:
FAIL - 'grid' with: grid-template-columns: -2fr; and grid-template-rows: -2fr;:
FAIL - 'grid' with: grid-template-columns: 0,5fr; and grid-template-rows: 0,5fr;:
FAIL - 'grid' with: grid-template-columns: calc(1fr + 100px); and grid-template-rows: calc(1fr + 100px);:
FAIL - 'grid' with: grid-template-columns: (1fr) auto; and grid-template-rows: (1fr) auto;:
FAIL - 'grid' with: grid-template-columns: minmax(1fr, 1000px); and grid-template-rows: minmax(1fr, 700px);:
FAIL
- 'grid' with: grid-template-columns: fr; and grid-template-rows: fr;:
- /css/css-grid/grid-definition/grid-support-grid-template-columns-rows-001.html [wpt.fyi]
- 'grid' with: grid-template-columns: none; and grid-template-rows: none;:
FAIL - 'grid' with: grid-template-columns: foo; and grid-template-rows: bar;:
FAIL - 'grid' with: grid-template-columns: auto none; and grid-template-rows: none auto;:
FAIL - 'grid' with: grid-template-columns: 100px, 200px; and grid-template-rows: 300px, 400px;:
FAIL - 'grid' with: grid-template-columns: minmax(100px, 200px, 300px); and grid-template-rows: minmax(100px, 200px, 300px);:
FAIL
- 'grid' with: grid-template-columns: none; and grid-template-rows: none;:
- /css/css-grid/grid-definition/grid-support-named-grid-lines-001.html [wpt.fyi]
- 'grid' with: grid-template-columns: [a]; and grid-template-rows: [a];:
FAIL - 'grid' with: grid-template-columns: [a b]; and grid-template-rows: [a b];:
FAIL - 'grid' with: grid-template-columns: [a] none [b]; and grid-template-rows: [a] none [b];:
FAIL - 'grid' with: grid-template-columns: [a] [b]; and grid-template-rows: [a] [b];:
FAIL - 'grid' with: grid-template-columns: a auto b; and grid-template-rows: a auto b;:
FAIL - 'grid' with: grid-template-columns: (a) auto (b); and grid-template-rows: (a) auto (b);:
FAIL - 'grid' with: grid-template-columns: 'a' auto 'b'; and grid-template-rows: 'a' auto 'b';:
FAIL - 'grid' with: grid-template-columns: "a" auto "b"; and grid-template-rows: "a" auto "b";:
FAIL - 'grid' with: grid-template-columns: [a, b] auto [a, b]; and grid-template-rows: [a, b] auto [a, b];:
FAIL - 'grid' with: grid-template-columns: [a] [b] auto [c d] [e]; and grid-template-rows: [a] [b] auto [c d] [e];:
FAIL - 'grid' with: grid-template-columns: [a [b]] auto [c]; and grid-template-rows: [a [b]] auto [c];:
FAIL - 'grid' with: grid-template-columns: [a] auto [[b]]; and grid-template-rows: [a] auto [[b]];:
FAIL - 'grid' with: grid-template-columns: [a auto [b]; and grid-template-rows: [a auto [b];:
FAIL - 'grid' with: grid-template-columns: [a 100px] auto [b]; and grid-template-rows: [a 100px] auto [b];:
FAIL - 'grid' with: grid-template-columns: [a 50%] auto [b]; and grid-template-rows: [a 50%] auto [b];:
FAIL - 'grid' with: grid-template-columns: [5] auto [10]; and grid-template-rows: [5] auto [10];:
FAIL - 'grid' with: grid-template-columns: [a.] auto [b*]; and grid-template-rows: [a.] auto [b*];:
FAIL - 'grid' with: grid-template-columns: [#a] auto [$b]; and grid-template-rows: [#a] auto [$b];:
FAIL - 'grid' with: grid-template-columns: [initial] auto; and grid-template-rows: [initial] auto;:
FAIL - 'grid' with: grid-template-columns: [inherit] auto; and grid-template-rows: [inherit] auto;:
FAIL - 'grid' with: grid-template-columns: [default] auto; and grid-template-rows: [default] auto;:
FAIL
- 'grid' with: grid-template-columns: [a]; and grid-template-rows: [a];:
- /css/css-grid/grid-definition/grid-support-repeat-001.html [wpt.fyi]
- 'grid' with: grid-template-columns: repeat(-1, auto); and grid-template-rows: repeat(-1, auto);:
FAIL - 'grid' with: grid-template-columns: repeat(auto, 2); and grid-template-rows: repeat(auto, 2);:
FAIL - 'grid' with: grid-template-columns: repeat 2, auto; and grid-template-rows: repeat 2, auto;:
FAIL - 'grid' with: grid-template-columns: repeat(2 auto); and grid-template-rows: repeat(2 auto);:
FAIL - 'grid' with: grid-template-columns: 100px (repeat 2, auto); and grid-template-rows: (repeat 2, auto);:
FAIL - 'grid' with: grid-template-columns: repeat(2, 50px repeat(2, 100px)); and grid-template-rows: repeat(2, 50px repeat(2, 100px));:
FAIL - 'grid' with: grid-template-columns: 100px repeat(2, [a]); and grid-template-rows: 100px repeat(2, [a]);:
FAIL
- 'grid' with: grid-template-columns: repeat(-1, auto); and grid-template-rows: repeat(-1, auto);:
- /css/css-grid/grid-definition/grid-template-columns-rows-resolved-values-001.html [wpt.fyi]
- 'grid' with: grid-template-columns: ; and grid-template-rows: ;:
FAIL - 'grid' with: grid-template-columns: auto auto; and grid-template-rows: ;:
FAIL - 'grid' with: grid-template-columns: 60px; and grid-template-rows: ;:
FAIL - 'grid' with: grid-template-columns: 100px 60px; and grid-template-rows: ;:
FAIL - 'grid' with: grid-template-columns: ; and grid-template-rows: 50px;:
FAIL - 'grid' with: grid-template-columns: ; and grid-template-rows: 50px 30px;:
FAIL - 'grid' with: grid-template-columns: 60px; and grid-template-rows: 50px;:
FAIL - 'grid' with: grid-template-columns: 60px; and grid-template-rows: 50px 30px;:
FAIL - 'grid' with: grid-template-columns: 100px 60px; and grid-template-rows: 50px;:
FAIL - 'gridItemsPositions' with: grid-template-columns: ; and grid-template-rows: ;:
FAIL - 'gridItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: ;:
FAIL - 'gridItemsPositions' with: grid-template-columns: 60px 50px; and grid-template-rows: ;:
FAIL - 'gridItemsPositions' with: grid-template-columns: ; and grid-template-rows: 60px;:
FAIL - 'gridItemsPositions' with: grid-template-columns: ; and grid-template-rows: 60px 50px;:
FAIL - 'gridItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: 60px;:
FAIL - 'gridItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: 60px 50px;:
FAIL - 'gridItemsPositions' with: grid-template-columns: 60px 50px; and grid-template-rows: 60px;:
FAIL - 'gridItemsPositions' with: grid-template-columns: 60px 50px; and grid-template-rows: 60px 50px;:
FAIL - 'gridAutoFlowColumn' with: grid-template-columns: ; and grid-template-rows: ;:
FAIL - 'gridAutoFlowColumn' with: grid-template-columns: ; and grid-template-rows: auto auto;:
FAIL - 'gridAutoFlowColumn' with: grid-template-columns: 60px; and grid-template-rows: ;:
FAIL - 'gridAutoFlowColumn' with: grid-template-columns: 100px 60px; and grid-template-rows: ;:
FAIL - 'gridAutoFlowColumn' with: grid-template-columns: ; and grid-template-rows: 50px;:
FAIL - 'gridAutoFlowColumn' with: grid-template-columns: ; and grid-template-rows: 50px 30px;:
FAIL - 'gridAutoFlowColumn' with: grid-template-columns: 60px; and grid-template-rows: 50px;:
FAIL - 'gridAutoFlowColumn' with: grid-template-columns: 60px; and grid-template-rows: 50px 30px;:
FAIL - 'gridAutoFlowColumn' with: grid-template-columns: 100px 60px; and grid-template-rows: 50px;:
FAIL - 'gridAutoFlowColumnItemsPositions' with: grid-template-columns: ; and grid-template-rows: ;:
FAIL - 'gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: ;:
FAIL - 'gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px 70px; and grid-template-rows: ;:
FAIL - 'gridAutoFlowColumnItemsPositions' with: grid-template-columns: ; and grid-template-rows: 60px;:
FAIL - 'gridAutoFlowColumnItemsPositions' with: grid-template-columns: ; and grid-template-rows: 60px 70px;:
FAIL - 'gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: 60px;:
FAIL - 'gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: 60px 70px;:
FAIL - 'gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px 70px; and grid-template-rows: 60px;:
FAIL - 'gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px 70px; and grid-template-rows: 60px 70px;:
FAIL
- 'grid' with: grid-template-columns: ; and grid-template-rows: ;:
Description
•