Skip to content

Commit 3622472

Browse files
committed
[css-grid] Handle items who depend on the height of their track. Related to w3c#1039.
1 parent 655f15d commit 3622472

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

css-grid-1/Overview.bs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3691,6 +3691,23 @@ Resolve Intrinsic Track Sizes</h3>
36913691
-->
36923692

36933693
<ol>
3694+
<li>
3695+
<ins>
3696+
3697+
<strong>Shim baseline-aligned items
3698+
so their intrinsic size contributions reflect their baseline alignment.</strong>
3699+
For the items in each <a>baseline-sharing group</a>,
3700+
add a “shim” (effectively, additional margin)
3701+
on the start/end side (for first/last-baseline alignment)
3702+
of each item
3703+
so that,
3704+
when start/end-aligned together
3705+
their [[css-align-3#baseline-values|baselines align as specified]].
3706+
3707+
Consider these “shims” as part of the items’ intrinsic size contribution
3708+
for the purpose of track sizing, below.
3709+
</ins>
3710+
36943711
<li>
36953712
<strong>Size tracks to fit non-spanning items:</strong>
36963713
For each track with an intrinsic <a>track sizing function</a>,

0 commit comments

Comments
 (0)