Closed
Bug 1782297
Opened 2 years ago
Closed 2 years ago
Obey contain-intrinsic-size in grid containers
Categories
(Core :: Layout, enhancement)
Core
Layout
Tracking
()
RESOLVED
FIXED
105 Branch
Tracking | Status | |
---|---|---|
firefox105 | --- | fixed |
People
(Reporter: Oriol, Assigned: Oriol)
References
Details
Attachments
(1 file)
nsGridContainerFrame.cpp assumes a 0 intrinsic size when there is size containment.
The spec is not completely clear (https://github.com/w3c/csswg-drafts/issues/7520) but I guess it should use the content size specified in contain-intrinsic-size
.
none
values should take the track sizes and gaps into account, but that's bug 1488878.
Assignee | ||
Comment 1•2 years ago
|
||
Some tests are still failing but I think it's due to bug 1481876: after
determining the block size of the grid container, the rows that depend
on it (like percentages or fr units) are not recomputed.
Also, 'contain-intrinsic-size: none' behaves as 0, ignoring the track
sizes and gaps, but that's bug 1488878.
Pushed by oriol-bugzilla@hotmail.com: https://hg.mozilla.org/integration/autoland/rev/e17c5e069451 Obey contain-intrinsic-size in grid containers. r=emilio
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox105:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•