Re: [csswg-drafts] [css-values] max() issue (#11768)

It's important to keep types consistent, e.g. `max(1px, 1deg)` doesn't make sense.
But if you use a unit that is not understood by the browser, how is type checking supposed to work?

I think your usecase would be better addressed by

```css
block-size: calc((100lvh - 3.75rem - 4.75rem) / 24);
min-block-size: 3rem;
```

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 24 February 2025 20:32:03 UTC