Skip to content

Commit aaa14fe

Browse files
committed
[css-grid] Move 'distribute extra space' algo into a subsection for clarity. No normative changes.
1 parent 5539a5c commit aaa14fe

1 file changed

Lines changed: 14 additions & 12 deletions

File tree

css-grid-1/Overview.bs

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3859,10 +3859,20 @@ Resolve Intrinsic Track Sizes</h3>
38593859
set its <a>growth limit</a> to its <a>base size</a>.
38603860
</ol>
38613861

3862-
<p id='extra-space'>
3863-
To <dfn noexport>distribute extra space</dfn>
3864-
by increasing the affected sizes of a set of tracks
3865-
as required by a set of intrinsic size contributions,
3862+
Note: There is no single way to satisfy intrinsic sizing constraints
3863+
when items span across multiple tracks.
3864+
This algorithm embodies a number of heuristics
3865+
which have been seen to deliver good results on real-world use-cases,
3866+
such as the “game”̣ examples earlier in this specification.
3867+
This algorithm may be updated in the future
3868+
to take into account more advanced heuristics as they are identified.
3869+
3870+
<h4 id="extra-space">
3871+
Distributing Extra Space Across Spanned Tracks</h4>
3872+
3873+
To <dfn noexport>distribute extra space</dfn>
3874+
by increasing the affected sizes of a set of tracks
3875+
as required by a set of intrinsic size contributions,
38663876

38673877
<ol>
38683878
<li>
@@ -3940,14 +3950,6 @@ Resolve Intrinsic Track Sizes</h3>
39403950
and distributing the shims’ space as if it were
39413951
part of the shimmed items’ original size contribution.</p></ins>
39423952

3943-
Note: There is no single way to satisfy intrinsic sizing constraints
3944-
when items span across multiple tracks.
3945-
This algorithm embodies a number of heuristics
3946-
which have been seen to deliver good results on real-world use-cases,
3947-
such as the "game" examples earlier in this specification.
3948-
This algorithm may be updated in the future
3949-
to take into account more advanced heuristics as they are identified.
3950-
39513953

39523954
<h3 id="algo-grow-tracks">
39533955
Maximize Tracks</h3>

0 commit comments

Comments
 (0)