[css-grid-2][css-contain] contain:paint and contain:layout on a subgrid need to *prevent* it from being a subgrid
Categories
(Core :: Layout, defect, P3)
Tracking
()
People
(Reporter: dholbert, Assigned: MatsPalmgren_bugz)
References
Details
Attachments
(1 file)
Reporter | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Comment hidden (obsolete) |
Reporter | ||
Comment 4•6 years ago
•
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Comment 6•6 years ago
|
||
Suppression of baselines is triggered by layout containment, not by size containment. The spec (now) has normative text and a note clarifying that.
Size containment sizes the element as if it had no content. Other effects, such as laying out out its descendants within that size, or placing the element within its parent are done with its actual content, and baselines are generated normally.
Layout containment does suppress baseline alignment, otherwise changes in the internal layout of the element would have effects on the rest of document.
Updated•6 years ago
|
Comment 7•6 years ago
|
||
The baseline alignment part of this bug is also tracked (in the more general case, not limited to subgrids) in https://bugzilla.mozilla.org/show_bug.cgi?id=1508441
Comment 8•6 years ago
|
||
oops, followed the wrong link above. That one was specific to buttons, the generic one is https://bugzilla.mozilla.org/show_bug.cgi?id=1491235, which has been fixed already. Sorry for the noise.
Reporter | ||
Comment 9•6 years ago
|
||
(In reply to Florian Rivoal from comment #6)
Suppression of baselines is triggered by layout containment, not by size containment. The spec (now) has normative text and a note clarifying that.
Yup -- I've edited comment 4 to reflect that. (At the time I wrote comment 4, contain:size
was the thing that triggered baseline suppression, but that has indeed changed now.)
Assignee | ||
Comment 10•6 years ago
|
||
(I filed bug 1548709 on implementing contain:size on a subgrid)
Assignee | ||
Comment 11•6 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Comment 12•5 years ago
|
||
Comment 13•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Description
•