W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2017

Re: [csswg-drafts] [flex] Sizing images with intrisic aspect-ratio: ¿harmonize with grids?

From: François REMY via GitHub <sysbot+gh@w3.org>
Date: Wed, 22 Mar 2017 22:10:51 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-288555740-1490220649-sysbot+gh@w3.org>
I think there are two reasonable behaviors here. 

Either the spec behavior (which Edge matches) or a modified spec behavior that prevents images from shrinking beyond their adjusted size in the flexible axis (adjustment being their cross-axis-height / natural-height * natural-width, instead of natural-width like the spec currently requires).

The advantage of the current spec text is that is does not create an exception for things that have an aspect ratio. 

The advantage of the adjusted spec text would be that images preserve their aspect ratio by default in flex. 

-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1112#issuecomment-288555740 using your GitHub account
Received on Wednesday, 22 March 2017 22:11:26 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:09 UTC