Re: [csswg-drafts] [css-grid] Dimensions unclear when clamping content-based minimum size (#3573)

> Are these dimensions the same, or independent?

It doesn't matter? Afaict whichever way you want to interpret it, the paragraph means the same thing...

> So if I have an item with min-width: auto in a column sized with 100px, it has an aspect ratio of 3:1 and height: 50px, then this seems to mean it should clamp the input (i.e. the height 50px) by the max column size 100px, which is still 50px, then convert it through the aspect ratio, which is 150px, and this overflows the column.

No, it would clamp the input from the current dimension into the transferred size of the opposite dimension. See https://github.com/w3c/csswg-drafts/issues/767

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3573#issuecomment-459906137 using your GitHub account

Received on Friday, 1 February 2019 23:42:49 UTC