W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2021

Re: [csswg-drafts] [css-multicol] Definition of adjacent spanners, when to create column boxes (#6265)

From: Daniel Holbert via GitHub <sysbot+gh@w3.org>
Date: Tue, 11 May 2021 16:28:44 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-838788056-1620750522-sysbot+gh@w3.org>
Note that margins do collapse in regular block layout, when there's an abspos element separating two adjacent blocks, as shown here:
.square-with-margin {
  margin: 50px;
  height: 50px;
  width: 50px;
.blue { background: blue; }
.teal { background: teal; }
.abs { position: absolute; }
<div class="square-with-margin blue"></div>
<div class="abs">hello</div>
<div class="square-with-margin teal"></div>

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 11 May 2021 16:28:46 UTC

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