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: Christian Biesinger via GitHub <sysbot+gh@w3.org>
Date: Mon, 27 Mar 2017 22:05:01 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-289600246-1490652300-sysbot+gh@w3.org>
> and items have their height set to whatever value the flexbox resolves to

That isn't really true though. That happens when stretch is resolved, and that happens fairly late in the algorithm:
https://drafts.csswg.org/css-flexbox/#algo-line-stretch

Notably this happens after the cross size of each line is determined. So at the point in time when we calculate the line height, the cross size is not definite and thus does not affect the aspect ratio calculation.

-- 
GitHub Notification of comment by cbiesinger
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1112#issuecomment-289600246 using your GitHub account
Received on Monday, 27 March 2017 22:05:08 UTC

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