Re: [csswg-drafts] [css-flexbox-1][css-sizing-3] Definiteness of `min-height: min-content` (#6457)

I think we are supposed to honor `height: min-content` also, but I can't come up with a case where that matters since in the block direction min-content size == max-content size, and `height: auto` resolves to that same size.

Like, the outer div's used height is 50px no matter if you honor height:min-content or not:

```html
<div style="height:auto; max-height: 50px">
  <div style="height: 100px"></div>
</div>
```

```html
<div style="height:min-content; max-height: 50px">
  <div style="height: 100px"></div>
</div>
```

Maybe there's an orthogonal writing mode case where honoring height:max-content matters? I don't know.
```html
<div style="height:max-content; min-height: 50px">
  <div style="writing-mode: vertical-lr;">
    <!-- some children that change max-content size of outer div? -->
  </div>
</div>
```

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


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

Received on Thursday, 26 August 2021 20:41:14 UTC