Open
Bug 1951751
Opened 21 days ago
Updated 14 days ago
[css-grid] Use the correct items for calculating the grid baseline
Categories
(Core :: Layout: Grid, defect)
Core
Layout: Grid
Tracking
()
NEW
People
(Reporter: tlouw, Unassigned)
References
(Blocks 2 open bugs, )
Details
(Whiteboard: [grid-baseline:m1])
Find the first (last) row of the grid container containing at least one grid item.
If any of the grid items intersecting this row participate in baseline alignment in that row, the grid container’s baseline set is generated from the shared alignment baseline of those grid items.
Otherwise, the grid container’s first (last) baseline set is generated from the alignment baseline of the first (last) grid item in row-major grid order (according to the writing mode of the grid container). If the grid item has no alignment baseline in the grid’s inline axis, then one is first synthesized from its border edges.
We're failing the first part here: https://searchfox.org/mozilla-central/rev/a2abcf7ff6b7ae0c2d8a04b9a35679f8c84634e7/layout/generic/nsGridContainerFrame.cpp#6167
We are doing the 2nd part, but failing the 3rd part possibly here: https://searchfox.org/mozilla-central/rev/a2abcf7ff6b7ae0c2d8a04b9a35679f8c84634e7/layout/generic/nsGridContainerFrame.cpp#9975
Updated•19 days ago
|
Whiteboard: [grid-baseline:m1]
Updated•14 days ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•