Skip to content

Commit 655f15d

Browse files
committed
[css-grid] Remove attempt at integrating baseline alignment, related to #1039.
1 parent aaa14fe commit 655f15d

1 file changed

Lines changed: 5 additions & 23 deletions

File tree

css-grid-1/Overview.bs

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3747,11 +3747,6 @@ Resolve Intrinsic Track Sizes</h3>
37473747
furthermore clamp this <a>growth limit</a> by the ''fit-content()'' argument.
37483748
</dl>
37493749

3750-
<ins><p>In all cases, if any items participate in <a>baseline alignment</a>,
3751-
perform baseline alignment to calculate the extra space it would require,
3752-
and add that to the track’s <a>base size</a> and/or <a>growth limit</a>
3753-
as needed.</p></ins>
3754-
37553750
In all cases, if a track’s <a>growth limit</a> is now less than its <a>base size</a>,
37563751
increase the <a>growth limit</a> to match the <a>base size</a>.
37573752

@@ -3771,22 +3766,19 @@ Resolve Intrinsic Track Sizes</h3>
37713766
First increase the <a>base size</a> of tracks with
37723767
an <a lt="intrinsic sizing function">intrinsic</a> <a>min track sizing function</a>
37733768
by <a href="#extra-space">distributing extra space</a> as needed
3774-
to accommodate these items’ <a>min-size contributions</a>
3775-
<ins>and <a>baseline alignment</a></ins>.
3769+
to accommodate these items’ <a>min-size contributions</a>.
37763770
<li>
37773771
<strong>For content-based minimums:</strong>
37783772
Next continue to increase the <a>base size</a> of tracks with
37793773
a <a>min track sizing function</a> of ''min-content'' or ''max-content''
37803774
by <a href="#extra-space">distributing extra space</a> as needed
3781-
to account for these items' <a>min-content contributions</a>
3782-
<ins>and baseline alignment</ins>.
3775+
to account for these items' <a>min-content contributions</a>.
37833776
<li>
37843777
<strong>For max-content minimums:</strong>
37853778
Third continue to increase the <a>base size</a> of tracks with
37863779
a <a>min track sizing function</a> of ''max-content''
37873780
by <a href="#extra-space">distributing extra space</a> as needed
3788-
to account for these items' <a>max-content contributions</a>
3789-
<ins>and baseline alignment</ins>.
3781+
to account for these items' <a>max-content contributions</a>.
37903782
<li>
37913783
If at this point any track’s <a>growth limit</a> is now less than its <a>base size</a>,
37923784
increase its <a>growth limit</a> to match its <a>base size</a>.
@@ -3795,8 +3787,7 @@ Resolve Intrinsic Track Sizes</h3>
37953787
Next increase the <a>growth limit</a> of tracks with
37963788
an <a lt="intrinsic sizing function">intrinsic</a> <a>max track sizing function</a>
37973789
by <a href="#extra-space">distributing extra space</a> as needed
3798-
to account for these items' <a>min-size contributions</a>
3799-
<ins>and baseline alignment</ins>.
3790+
to account for these items' <a>min-size contributions</a>.
38003791
Mark any tracks whose <a>growth limit</a> changed
38013792
from infinite to finite in this step
38023793
as <dfn>infinitely growable</dfn> for the next step.
@@ -3845,8 +3836,7 @@ Resolve Intrinsic Track Sizes</h3>
38453836
Lastly continue to increase the <a>growth limit</a> of tracks with
38463837
a <a>max track sizing function</a> of ''max-content''
38473838
by <a href="#extra-space">distributing extra space</a> as needed
3848-
to account for these items' <a>max-content contributions</a>
3849-
<ins>and baseline alignment</ins>.
3839+
to account for these items' <a>max-content contributions</a>.
38503840
However, limit the growth of any ''fit-content()'' tracks
38513841
by their ''fit-content()'' argument.
38523842
</ol>
@@ -3942,14 +3932,6 @@ Distributing Extra Space Across Spanned Tracks</h4>
39423932
set it to the track's <a>base size</a> plus the |planned increase|.)
39433933
</ol>
39443934

3945-
<ins><p>The extra space required to accommodate
3946-
an item’s participation in <a>baseline alignment</a>
3947-
is distributed by
3948-
calculating the shims required for including their participation
3949-
with already-considered items (those of lesser or equal spanning size)
3950-
and distributing the shims’ space as if it were
3951-
part of the shimmed items’ original size contribution.</p></ins>
3952-
39533935

39543936
<h3 id="algo-grow-tracks">
39553937
Maximize Tracks</h3>

0 commit comments

Comments
 (0)