W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2020

Re: [csswg-drafts] [css-grid] Note implies losing an aspect-ratio when it shouldn't? (#5713)

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Wed, 11 Nov 2020 21:03:54 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-725660358-1605128633-sysbot+gh@w3.org>
OK, so I think
 - If both axes have `stretch` alignment with `auto` sizes, both should be stretched, likely distorting the aspect ratio.
 - If one axis has `stretch` with `auto` size and the other has a definite size, the former should be stretched and the latter should use the definite size, likely distorting the aspect ratio. This matches flexbox and implementations.
 - If one axis has `stretch` with `auto` size and the other has non-`stretch` alignment with `auto` size, the former should be stretched. I'm fine with making the latter resolve to the stretched size converted through the aspect ratio, matching flexbox. But note it's not what implementations currently do.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 11 November 2020 21:03:56 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:22 UTC