Open
Bug 1671528
Opened 4 years ago
Updated 3 years ago
[css-grid-3] Investigate item stretching with max-size and auto-margins in the masonry axis
Categories
(Core :: Layout: Grid, defect, P3)
Core
Layout: Grid
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox83 | --- | affected |
People
(Reporter: MatsPalmgren_bugz, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
665 bytes,
text/html
|
Details |
It appears we only stretch auto-margin(s) when present:
https://searchfox.org/mozilla-central/rev/e0eb861a187f0bb6d994228f2e0e49b2c9ee455e/layout/generic/nsGridContainerFrame.cpp#6897,6900
but if the item has auto size and a definite max-size, then we should probably stretch the size first (up to the max-size) and then start stretching the margins.
That's how stretching works elsewhere in CSS so it seems we should be consistent with that.
Reporter | ||
Comment 1•4 years ago
|
||
Updated•3 years ago
|
Blocks: css-grid-3
Comment 2•3 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Assignee: MatsPalmgren_bugz → nobody
You need to log in
before you can comment on or make changes to this bug.
Description
•