- From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
- Date: Wed, 07 Feb 2018 00:43:37 +0000
- To: public-css-archive@w3.org
> an aspect-ratio property, as proposed earlier, to give individual items an aspect ratio Would that cover minimum aspect ratio as well? meaning that the element maintains the aspect ratio if it is underfilled, but that it does grow rather than overflow if there's too much content? Assuming it solves that, I'm not necessarily opposed to the idea, but I think we should resume exploring https://github.com/w3c/fxtf-drafts/issues/7 before we lock in on that, because it seemed that that approach could give us aspect ratio control (and more) as well. > use ar units to mean a multiple of 1fr in the other axis That sounds reasonable. I wonder how it compares to the `aspect-ratio()` function I suggested in https://github.com/w3c/csswg-drafts/issues/1173#issuecomment-362476386 in various use cases. Your syntax is much simpler and probably hits the number 1 use case, mine allows for being explicit about what you want to calculate the ratio from. If that's not useful, then my syntax is overkill, but if that is, maybe it's worth it. -- GitHub Notification of comment by frivoal Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1173#issuecomment-363616310 using your GitHub account
Received on Wednesday, 7 February 2018 00:43:41 UTC