Re: [csswg-drafts] [css2][css-flow][css-sizing] How do min/max block sizes affect bottom margin collapse with last child? (#12218)

Same as above, but with `height: 0px; min-height: max-content` and `height: 100px; max-height: max-content`:

```html
<!DOCTYPE html>
<style>
.wrapper { display: inline-block; vertical-align: top; border: 5px solid; margin-bottom: 10px }
.test { outline: 5px dotted magenta; }
.test::before { content: ""; display: block; width: 50px; height: 20px; margin-bottom: 30px; background: cyan }
</style>
<div class="wrapper"><div class="test" style="height: 0px; min-height: max-content"></div></div>
<div class="wrapper"><div class="test" style="height: 100px; max-height: max-content"></div></div>
```

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


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

Received on Monday, 22 September 2025 23:41:56 UTC