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: Mon, 27 Mar 2017 23:47:10 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-289619367-1490658428-sysbot+gh@w3.org>
https://jsfiddle.net/zcqst2pr/4/ shows that the shrinking is not due to flexing in Chrome and Firefox (since flex is set to 0). In Edge we overflow the line with two images of 128px width each.

Firefox behavior seems to be a compromise between us and Chrome, as in they accept the aspect-ratio things to take less main space than before, but not more. This ensure there will never be an overflow, but tries to maintain the aspect ratio if possible. 


-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1112#issuecomment-289619367 using your GitHub account
Received on Monday, 27 March 2017 23:47:16 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:30 UTC