- From: Ian Kilpatrick via GitHub <noreply@w3.org>
- Date: Tue, 10 Mar 2026 16:17:44 +0000
- To: public-css-archive@w3.org
> In one of my first attempts I'd tried min(fit-content, 100%), which obviously doesn't work, but I never thought to look at calc-size(). Nice! Yeah for non abspos `calc(min(100%, 150px))` would have worked, but percentages resolve against the non-intuitive thing. `stretch` is strictly a better `100%` in most (all?) cases. `calc-size` is very powerful for a few different things, and the "I want multiple maximums/minimums one of which is a keyword" comes up often. -- GitHub Notification of comment by bfgeek Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13617#issuecomment-4032720057 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 10 March 2026 16:17:45 UTC