W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2021

Re: [csswg-drafts] [css-sizing-3] compressible elements with aspect ratio (#6341)

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Thu, 22 Jul 2021 20:48:58 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-885222810-1626986937-sysbot+gh@w3.org>
@bfgeek Some questions in my mind...

* Why is percentage column in table asymmetrical?
* Agree with example 1.
* Examples 2 & 3, do we actually want to resolve percentages in these cases?
    * Gets weird with grid and flex (resolve in cyclic cases) vs. block (doesn't resolve).
    * Could cause web-compat problems? e.g. img { width: 100%; height: 100% } is likely very common, and would be expected to make the items' width compressible to zero, but if that height starts to resolve and transfer across to floor the width, would we have a problem?
    * If so, maybe only transfer absolute sizes (resolving percentages against zero for this purpose)?
* Example 4, shouldn't min-content resolve to the natural size (1px)? (Compressibility doesn't compress the min-content size, but only the min-content contribution.)

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 22 July 2021 20:49:00 UTC

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