[csswg-drafts] [css-grid] Unintentional change to grid container baseline? (#3645)

MatsPalmgren has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-grid] Unintentional change to grid container baseline? ==
There was [a change](https://github.com/w3c/csswg-drafts/commit/15fe334dc4aeea8dbf1a26497fc7b65cb626fd05#diff-d55daa50088af378e4c59fea0f0d01b8) made in the last bullet point under [ยง10.6. Grid Container Baselines](https://drafts.csswg.org/css-grid/#grid-baselines) that looks unintentional. It used to say that the first item should be used, but now it doesn't. It appears that part of this edit was not discussed in the [CSSWG meeting](https://lists.w3.org/Archives/Public/www-style/2016Sep/0000.html), nor mentioned in the resolution, AFAICT, so it looks like an unintentional change to me. It appears that the discussion is mostly about which box (content/block/margin) to use to synthesize the baseline, not that items in other tracks should be ignored. That edit was for issue #373 BTW.

Testcase:
```html
<style>
  .grid {
    display: inline-grid;
    grid: 100px 100px 100px / 10px;
    border: 1px solid;
  }
  .item {
    background: lime;
  }
</style>

A<div class="grid">
  <div class="item">B</div>
</div>

A<div class="grid">
  <div class="item" style="grid-area:2/1">B</div>
</div>
```

Firefox takes the item in the 2nd row into account while Chrome doesn't so we now disagree on this testcase.

I'd like clarification if the change to ignore all items except those in the first(last) track was intentional or not?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3645 using your GitHub account

Received on Monday, 11 February 2019 21:27:53 UTC