Re: [csswg-drafts] [css2] min/max-height and margin collapse is not interoperable (#8919)

In Servo I'm appreciating that (except for clearance), margin collapsing can be determined without layout. But to be fair, I guess it's nonsensical for this to collapse through, even if it has `height: auto`:

```html
<div style="margin: 50px 0; width: 100px; aspect-ratio: 1"></div>
```

So I guess that with the current situation, whenever we add a new feature that can cause the height to become greater than zero, browsers have to guess what to do. And for this other example, Blink collapses but Gecko doesn't:

```html
<div style="margin: 50px 0; width: 0; aspect-ratio: 1"></div>
```

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


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

Received on Monday, 3 July 2023 22:48:11 UTC