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

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?

<style>
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;
  top:0;bottom:0;left:0;right:0;
  grid-row: 2;
  background: pink;
}
</style>

<div>
  <span>1</span>
  <span>2</span>
  <span class="abs">abs</span>
</div>


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

Received on Tuesday, 21 June 2016 22:34:25 UTC