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

> But with (2), how would you treat an element with aspect-ratio but stretch alignment in both axes?

Both "win" it gets distorted.

Here both the inline-axis, and block-axis are stretched. So the default axis "wins" resulting in the image being distorted. The "full" priority list for (2) would be:
 - intrinsic size.
 - transferred (by aspect-ratio) stretch alignment.
 - stretch alignment.
 - transferred (by aspect-ratio) definite size.
 - definite size.


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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 14 November 2020 00:32:47 UTC