Re: [csswg-drafts] [css-sizing-3] Clarify equivalence of min-content, max-content, and fit-content on the block axis (#12103)

>No. This is not true for flex containers nor block containers.

How is that not true? The spec quote is crystal clear when it comes to block containers:

> **min-content block size**  
> The minimum content size in the block axis. **For block containers**, tables, and inline boxes, **this is equivalent to the max-content block size.**

If min-content and max-content on the block axis are equal for block containers, then plugging those into the `fit-content` formula results in all values being equal. It’s straightforward math based on the spec.

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


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

Received on Sunday, 20 April 2025 19:04:13 UTC