- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Mon, 12 May 2025 23:37:38 +0000
- To: public-css-archive@w3.org
> however, it should never get smaller than its "minimum height" (which I assume to be min-content) This is in conflict with constraint (1), so I'm going to ignore it. You are using `height: calc-size(min-content, max(size, 100vh - 20px));` That will of course not enforce both of your max constraints. You need `min()` instead of `max()`. Also, no need for `calc-size()`, just use the good old `max-height: calc(100vh - 20px);` > but then max-content is the same as min-content Yeah, no browser supports `min-content` and `max-content` being different in the block axis. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12182#issuecomment-2874570528 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 12 May 2025 23:37:39 UTC