W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2018

Re: [csswg-drafts] [css2] Browsers disagree on margin collapsing when element’s height > content

From: Šime Vidas via GitHub <sysbot+gh@w3.org>
Date: Sat, 06 Jan 2018 16:43:32 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-355758959-1515257012-sysbot+gh@w3.org>
I’ve narrowed it down to `min-height`. In Chrome & co., margin collapsing happens *before* the element’s `min-height` is set:

<img width="719" alt="screen shot 2018-01-06 at 5 40 11 pm" src="https://user-images.githubusercontent.com/716405/34641744-fd2bc05e-f308-11e7-81ec-6879ab9f9e43.png">


-- 
GitHub Notification of comment by simevidas
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2171#issuecomment-355758959 using your GitHub account
Received on Saturday, 6 January 2018 16:43:36 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:22 UTC