Re: [csswg-drafts] [CSS2] Current definition of margin collapsing isn't interoperable. (#5571)

That's pretty interesting! For the "10% (indef)" example, it seems to be that extra "div" that causes it to behave differently.

If you remove that `<div>` entirely, then it behaves consistently.

If you remove it from the normal flow via float, then...well, I'm not sure what's happening that causes the difference in FF and Chrome here (margins also?), but here you go (a modification to the example you provided):

https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=8533



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


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

Received on Friday, 2 October 2020 09:26:19 UTC