Re: [csswg-drafts] [css-sizing-4] How does height: stretch interact with margin collapsing with parent (#11044)

I don't see the problem with following floats, they can't affect whether margins are adjoining, right?

Only preceding floats can do it, depending on whether they trigger clearance on our element. And I initially thought this would be easy to handle (Servo doesn't parallelize BFCs with floats), but if the element has an aspect ratio, then a definite block stretch size can affect its inline size, which can affect whether it needs clearance, which can affect the block stretch size.

But note that it's not just preceding floating siblings, they could be uncles or such.

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


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

Received on Tuesday, 19 November 2024 22:02:31 UTC