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: Fri, 13 Nov 2020 23:36:25 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-727085398-1605310583-sysbot+gh@w3.org>
But with (2), how would you treat an element with aspect-ratio but `stretch` alignment in *both* axes?

CSS Grid makes it clear that then the aspect ratio will probably be distorted, we have interoperability, and being able to opt out the ratio seems useful for authors. So if `stretch` has precedence over the aspect ratio when specified in both axis, it seems more consistent to me if it also takes precedence when specified in a single axis. That's why I prefer (1).

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 13 November 2020 23:36:27 UTC

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