W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2020

Re: [csswg-drafts] [css-flexbox] Should definite cross size be used to compute flex item's transferred size suggestion? (#5663)

From: davidsgrogan via GitHub <sysbot+gh@w3.org>
Date: Tue, 27 Oct 2020 21:03:13 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-717537731-1603832591-sysbot+gh@w3.org>
I think Chrome matches the spec here[1] but firefox's behavior is better[2], so we should change the wording of [transferred size suggestion](https://drafts.csswg.org/css-flexbox-1/#transferred-size-suggestion) from

> If the item has a preferred aspect ratio and its **computed cross size property is definite**

to something like

> If the item has a preferred aspect ratio and its **outer cross size is definite**

Which matches the wording in 9.8 and makes clear that items with definite sizes imposed by the 9.8 rule qualify for the transferred size suggestion.

[1] The _computed cross size property_ in the example above is not definite, which means there is no transferred size suggestion.

[2] Because Chrome's behavior in https://jsfiddle.net/dgrogan/jd76er1y/ is gross. One image has its aspect ratio respected but the other confusingly doesn't. In Firefox both images have their aspect ratio respected.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 27 October 2020 21:03:15 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:21 UTC