[wpt-sync] Sync PR 38381 - [GridNG] Clamp auto-placement to subgrid area
Categories
(Core :: Layout: Grid, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox112 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 38381 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/38381
Details from upstream follow.
Kurt Catti-Schmidt (SCHMIDT) <kschmi@microsoft.com> wrote:
[GridNG] Clamp auto-placement to subgrid area
While prototyping auto-repeat for subgrids, I came across a subtle
placement bug with subgrids that's a sub-case of
repeat-auto-fill-001.html.In summary, auto placement for grids depends on
minor_max_end_line_,
which determines when to wrap lines. For normal grids this can extend
indefinitely, and implicit tracks will be created to fit the expanded track numbers. However, for subgrids, this can be at maximum the
subgrid span size. Implicit tracks can be created for subgrids, but
only up to the subgrid span size.Prior to this change, we were only clamping at the very end of
placement, which was causing various "double-placement" issues,
demonstrated in the test case added.Bug: 618969
Change-Id: Ic3972408e4dd4f2069fa1bf26c95d815c26cb929Reviewed-on: https://chromium-review.googlesource.com/4225602
WPT-Export-Revision: 6adaadbc13f209322c30aea2ae7bce41e64f3a8a
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 3•3 years ago
|
||
Comment 4•3 years ago
|
||
| bugherder | ||
Description
•