W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2016

Re: [csswg-drafts] [css-grid] What happens with grid line names when dropping tracks

From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
Date: Tue, 21 Jun 2016 22:34:19 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-227592686-1466548456-sysbot+gh@w3.org>
Well, I believe this change DO NOT lead to any  observable changes to 
the position of absolutely-positioned elements pinned to the edges of 
collapsed tracks (formerly dropped tracks).  Given the following 
example, the left edge of the "abs" and "2" boxes should still
be at the same position (100px from content start edge), right?

div {
  display: grid;
  position: relative;
  width: 500px;
  grid: 20px 20px / repeat(auto-fit, [a] 100px);
  border: 1px solid;

span {
  background: lime;
span:nth-of-type(2), .abs {
  grid-column: a 3;

.abs {
  position: absolute;
  grid-row: 2;
  background: pink;

  <span class="abs">abs</span>

GitHub Notification of comment by MatsPalmgren
Please view or discuss this issue at 
using your GitHub account
Received on Tuesday, 21 June 2016 22:34:25 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:40:59 UTC