Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[css-align] baseline content-alignment shouldn't be able to change intrinsic sizes #1409
The section on baseline content alignment ends with the sentence:
It's not clear how this is supposed to work, for two reasons:
referenced this issue
May 22, 2017
I understand why we need to let grid/flex items to adjust their sizes when they are baseline-aligned. My doubts came from the following facts that we have to integrate with this behavior:
(I'll assume horizontal writing modes here so I can write "height" and "width".)
The heights of table cells are not determined from intrinsic sizes. They're a result of layout. Intrinsic sizes only exist as widths; there's no such thing as an intrinsic height in table layout (and I've objected to the addition of such a concept in sizing, since I don't think it makes sense).
Though I'm not entirely sure what your image is an image of...
I agree with your statement about height being the result of a layout, so it's not an intrinsic size. However, the issue this image is trying to illustrate (see issue #1365) could lead to inline-axis overflow,
I understand Tab comment on the need of adjusting the container's size after applying baseline alignment, however, issue#1365 have several points that makes such behavior difficult to implement inside the grid tracks sizing algorithm, specially regarding the following condition: