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

@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