W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2020

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

From: x-Jake-x via GitHub <sysbot+gh@w3.org>
Date: Fri, 02 Oct 2020 09:26:17 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-702624064-1601630776-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:20 UTC