Files
sousa-gecko/testing/web-platform/tests/css/css-grid
Alison Maher 0df0cb7dd1 Bug 2054129 [wpt PR 61207] - [grid][Masonry] Fix crash for standalone subgrid with auto-repeat, a=testonly
Automatic update from web-platform-tests
[grid][Masonry] Fix crash for standalone subgrid with auto-repeat

A subgrid axis on a grid/grid-lanes with no parent has a used value of
`none` (https://drafts.csswg.org/css-grid-2/#subgrid-listing). Its
trailing auto-fill line-name repeater can resolve to 0 repetitions,
which tripped DCHECK in `FinalizeRanges`.

Treat a standalone subgridded axis as contributing no explicit repeaters
so that we don't consider these repeaters in later stages, thus fixing
the crash for both grid and grid lanes.

Bug: 343257585
Change-Id: Ic5570272f7d39ca5e5975818e1808d4bf6ad15ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8072738
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1660047}

--

wpt-commits: 7cbfe0be66b3b2c228cf5da70ed3cbeb30b214b3
wpt-pr: 61207
2026-07-13 14:37:28 +00:00
..
…
…

CSS Grid Layout Module Level 1 Test Suite

Directory containing the CSS Grid Layout spec test suite.

This suite is structured in different folders for each section of the spec (the name of the folders corresponds to the "id" of each section):

Links: