Re: [csswg-drafts] [css-sizing][css-overflow][css-flexbox] Ability to control the sizing of the overflown content area (#8725)

The other items work as desired thanks to `min-width: auto; min-height: auto`, which behave somewhat like `min-content` for them, but behave as `0` with `overflow: hidden`.

So you should be able to just add `.item.oh { min-width: min-content; min-height: min-content }`. No need to change the HTML structure as you seem to assume?

The only problem is that browsers still treat `min-content` as `auto` in the block axis. So it doesn't work in the column case. But the solution is that browsers need to obey #3973, we don't need new properties. 

Also, consider `overflow: clip` instead of `hidden`, since it doesn't trigger a scroll container.

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


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

Received on Saturday, 15 April 2023 20:33:25 UTC