@@ -3745,6 +3745,11 @@ Resolve Intrinsic Track Sizes</h3>
3745
3745
furthermore clamp this <a>growth limit</a> by the ''fit-content()'' argument.
3746
3746
</dl>
3747
3747
3748
+ <ins><p> In all cases, if any items participate in <a>baseline alignment</a> ,
3749
+ perform baseline alignment to calculate the extra space it would require,
3750
+ and add that to the track’s <a>base size</a> and/or <a>growth limit</a>
3751
+ as needed.</p></ins>
3752
+
3748
3753
In all cases, if a track’s <a>growth limit</a> is now less than its <a>base size</a> ,
3749
3754
increase the <a>growth limit</a> to match the <a>base size</a> .
3750
3755
@@ -3764,19 +3769,22 @@ Resolve Intrinsic Track Sizes</h3>
3764
3769
First increase the <a>base size</a> of tracks with
3765
3770
an <a lt="intrinsic sizing function">intrinsic</a> <a>min track sizing function</a>
3766
3771
by <a href="#extra-space">distributing extra space</a> as needed
3767
- to accommodate the contributions dictated by these items’ <a>min-size contributions</a> .
3772
+ to accommodate these items’ <a>min-size contributions</a>
3773
+ <ins> and <a>baseline alignment</a> </ins> .
3768
3774
<li>
3769
3775
<strong> For content-based minimums:</strong>
3770
3776
Next continue to increase the <a>base size</a> of tracks with
3771
3777
a <a>min track sizing function</a> of ''min-content'' or ''max-content''
3772
3778
by <a href="#extra-space">distributing extra space</a> as needed
3773
- to account for these items' <a>min-content contributions</a> .
3779
+ to account for these items' <a>min-content contributions</a>
3780
+ <ins> and baseline alignment</ins> .
3774
3781
<li>
3775
3782
<strong> For max-content minimums:</strong>
3776
3783
Third continue to increase the <a>base size</a> of tracks with
3777
3784
a <a>min track sizing function</a> of ''max-content''
3778
3785
by <a href="#extra-space">distributing extra space</a> as needed
3779
- to account for these items' <a>max-content contributions</a> .
3786
+ to account for these items' <a>max-content contributions</a>
3787
+ <ins> and baseline alignment</ins> .
3780
3788
<li>
3781
3789
If at this point any track’s <a>growth limit</a> is now less than its <a>base size</a> ,
3782
3790
increase its <a>growth limit</a> to match its <a>base size</a> .
@@ -3785,7 +3793,8 @@ Resolve Intrinsic Track Sizes</h3>
3785
3793
Next increase the <a>growth limit</a> of tracks with
3786
3794
an <a lt="intrinsic sizing function">intrinsic</a> <a>max track sizing function</a>
3787
3795
by <a href="#extra-space">distributing extra space</a> as needed
3788
- to account for these items' <a>min-size contributions</a> .
3796
+ to account for these items' <a>min-size contributions</a>
3797
+ <ins> and baseline alignment</ins> .
3789
3798
Mark any tracks whose <a>growth limit</a> changed
3790
3799
from infinite to finite in this step
3791
3800
as <dfn>infinitely growable</dfn> for the next step.
@@ -3834,7 +3843,8 @@ Resolve Intrinsic Track Sizes</h3>
3834
3843
Lastly continue to increase the <a>growth limit</a> of tracks with
3835
3844
a <a>max track sizing function</a> of ''max-content''
3836
3845
by <a href="#extra-space">distributing extra space</a> as needed
3837
- to account for these items' <a>max-content contributions</a> .
3846
+ to account for these items' <a>max-content contributions</a>
3847
+ <ins> and baseline alignment</ins> .
3838
3848
However, limit the growth of any ''fit-content()'' tracks
3839
3849
by their ''fit-content()'' argument.
3840
3850
</ol>
@@ -3913,6 +3923,14 @@ Resolve Intrinsic Track Sizes</h3>
3913
3923
</ol>
3914
3924
</ol>
3915
3925
3926
+ <ins><p> The extra space required to accommodate
3927
+ an item’s participation in <a>baseline alignment</a>
3928
+ is distributed by
3929
+ calculating the shims required for including their participation
3930
+ with already-considered items (those of lesser or equal spanning size)
3931
+ and distributing the shims’ space as if it were
3932
+ part of the shimmed items’ original size contribution.</p></ins>
3933
+
3916
3934
Note: When this step is complete,
3917
3935
all intrinsic <a>base sizes</a> and <a>growth limits</a>
3918
3936
will have been resolved to absolute lengths.
0 commit comments