Skip to content

Commit c4ab49c

Browse files
committed
[css-grid-3][masonry] Exort the highest/lowest baseline across all tracks #9530
1 parent 08ac85c commit c4ab49c

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

css-grid-3/Overview.bs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,8 +1033,8 @@ Alignment and Spacing</h2>
10331033
ISSUE: Should alignment in the stacking axis do something more sophisticated?
10341034
What should that be?
10351035

1036-
<h3 id="masonry-axis-baseline-alignment">
1037-
Baseline Alignment in the stacking axis</h3>
1036+
<h3 id="masonry-baseline-alignment">
1037+
Baseline Alignment</h3>
10381038

10391039
Item [=baseline alignment=] inside the [=grid axis=] tracks
10401040
works as usual for a regular [=grid container=],
@@ -1043,9 +1043,10 @@ Baseline Alignment in the stacking axis</h3>
10431043

10441044
[=Baseline alignment=] is not supported in the [=stacking axis=].
10451045
The first baseline set of the [=grid container=] in this axis
1046-
is generated from the [=alignment baseline=] of
1047-
the first [=grid item=] in the first occupied track,
1048-
and the last baseline set from the last [=grid item=] placed.
1046+
is generated from the highest [=alignment baseline=]
1047+
among the [=grid items=] placed first in each track,
1048+
and the last baseline set from the lowest [=alignment baseline=]
1049+
among the [=grid items=] placed last in each track.
10491050

10501051
ISSUE: We could support baseline alignment in the first row. Do we want to?
10511052

@@ -1482,6 +1483,8 @@ Recent Changes</h3>
14821483
replacing <css>masonry-flow</css> and related properties.
14831484
(<a href="https://github.com/w3c/csswg-drafts/issues/11480">Issue 11480</a>)
14841485
* Renamed <css>masonry-slack</css> to 'item-tolerance'.
1486+
* Tweak baseline alignment to export the highest/lowest among the first/last items of every track.
1487+
(<a href="https://github.com/w3c/csswg-drafts/issues/9530">Issue 9530</a>)
14851488

14861489
<wpt hidden>
14871490
alignment/masonry-align-content-001.html

0 commit comments

Comments
 (0)