Skip to content

Commit b86cf52

Browse files
committed
[css-grid] Make it clearer that fr units resolved against an indefinite grid container count as 'intrinsically-sized', and so trigger baseline-alignment fallback. Fixes #3042.
1 parent 63a1d65 commit b86cf52

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

css-grid-1/Overview.bs

+6-2
Original file line numberDiff line numberDiff line change
@@ -1788,13 +1788,13 @@ Flexible Lengths: the ''fr'' unit</h4>
17881788
so they cannot be represented in or combined with other unit types in ''calc()'' expressions.
17891789

17901790
<!--
1791-
██████ ███████ ██ ██ ████████ ██ ██ ████████ ████████ ████████
1791+
██████ ███████ ██ ██ ████████ ██ ██ ████████ ████████ ████████
17921792
██ ██ ██ ██ ███ ███ ██ ██ ██ ██ ██ ██ ██ ██
17931793
██ ██ ██ ████ ████ ██ ██ ██ ██ ██ ██ ██ ██
17941794
██ ██ ██ ██ ███ ██ ████████ ██ ██ ██ ██████ ██ ██
17951795
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
17961796
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
1797-
██████ ███████ ██ ██ ██ ███████ ██ ████████ ████████
1797+
██████ ███████ ██ ██ ██ ███████ ██ ████████ ████████
17981798
-->
17991799

18001800
<h4 id='computed-track-list'>
@@ -3413,6 +3413,8 @@ Inline-axis Alignment: the 'justify-self' and 'justify-items' properties</h3>
34133413
that item does not participate in baseline alignment,
34143414
and instead uses its <a>fallback alignment</a>
34153415
as if that were originally specified.
3416+
For this purpose, <<flex>> track sizes count as “intrinsically-sized”
3417+
when the [=grid container=] has an [=indefinite=] size in the relevant axis.
34163418

34173419
Note: Whether the fallback alignment is used or not
34183420
does not change over the course of layout:
@@ -3434,6 +3436,8 @@ Block-axis Alignment: the 'align-self' and 'align-items' properties</h3>
34343436
that item does not participate in baseline alignment,
34353437
and instead uses its <a>fallback alignment</a>
34363438
as if that were originally specified.
3439+
For this purpose, <<flex>> track sizes count as “intrinsically-sized”
3440+
when the [=grid container=] has an [=indefinite=] size in the relevant axis.
34373441

34383442
<h3 id='grid-align'>
34393443
Aligning the Grid: the 'justify-content' and 'align-content' properties</h3>

0 commit comments

Comments
 (0)