Skip to content

Commit dc1d173

Browse files
committed
[css-grid-1] Revert unintentional change to ignore grid items past 1st row for purpose of finding grid container baselines. Also clarify traversal order. #3645
1 parent bc4f54d commit dc1d173

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

css-grid-1/Overview.bs

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3605,10 +3605,11 @@ Grid Container Baselines</h3>
36053605
the shared <a>alignment baseline</a> of those <a>grid items</a>.
36063606

36073607
<li>
3608-
Otherwise, if the grid container has at least one <a>grid item</a> whose area intersects the first (last) row,
3608+
Otherwise, if the grid container has at least one <a>grid item</a>,
36093609
the grid container's first (last) baseline set
36103610
is <a lt="generate baselines">generated</a> from
3611-
the <a>alignment baseline</a> of the first (last) such <a>grid item</a> (in row-major <a>grid order</a>).
3611+
the <a>alignment baseline</a> of the first (last) <a>grid item</a>
3612+
in row-major <a>grid order</a> (according to the <a>writing mode</a> of the <a>grid container</a>).
36123613
If the item has no <a>alignment baseline</a> in the grid's inline axis,
36133614
then one is first <a lt="synthesize baselines">synthesized</a>
36143615
from its border edges.
@@ -4731,6 +4732,30 @@ Major Changes</h4>
47314732
</dl>
47324733
</blockquote>
47334734
</ul>
4735+
<h4 id="minor-2017">
4736+
Minor Changes</h4>
4737+
4738+
<ul>
4739+
<li id="change-2017-first-baseline-item">
4740+
Revert unintentional change to ignore items past the first row
4741+
for the purpose of finding the grid container’s baselines.
4742+
Also clarify the traversal order.
4743+
(<a href="https://github.com/w3c/csswg-drafts/issues/3645">Issue 3645</a>)
4744+
<blockquote>
4745+
<ul>
4746+
<li>
4747+
Otherwise, if the grid container has at least one <a>grid item</a>
4748+
<del>whose area intersects the first (last) row</del>,
4749+
the grid container's first (last) baseline set
4750+
is <a lt="generate baselines">generated</a> from
4751+
the <a>alignment baseline</a> of the first (last) <del>such</del> <a>grid item</a>
4752+
in row-major <a>grid order</a> <ins>(according to the <a>writing mode</a> of the <a>grid container</a>)</ins>.
4753+
If the item has no <a>alignment baseline</a> in the grid's inline axis,
4754+
then one is first <a lt="synthesize baselines">synthesized</a>
4755+
from its border edges.
4756+
</ul>
4757+
</blockquote>
4758+
</ul>
47344759

47354760
<h4 id="clarify-2017">
47364761
Clarifications</h4>

0 commit comments

Comments
 (0)