Skip to content

Commit 277817b

Browse files
committed
[css-grid-1] Apply track alignment in available space estimations in step 1 of grid sizing algo. #2697
1 parent 77b8f93 commit 277817b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

css-grid-1/Overview.bs

+11
Original file line numberDiff line numberDiff line change
@@ -3580,6 +3580,10 @@ Grid Sizing Algorithm</h3>
35803580
assume the <a>available space</a> that it would have
35813581
if any row with a <a>definite</a> <a>max track sizing function</a>
35823582
had that size and all other rows were infinite.
3583+
If both the <a>grid container</a> and all tracks have <a>definite</a> sizes,
3584+
also apply 'align-content' to find the final effective size
3585+
of any gaps spanned by such items;
3586+
otherwise ignore the effects of track alignment in this estimation.
35833587

35843588
<div class="issue">
35853589
Would it help to have <a href="https://lists.w3.org/Archives/Public/www-style/2016Jan/0128.html">heuristics</a>
@@ -4401,6 +4405,13 @@ Major Changes</h4>
44014405
</ul>
44024406
</blockquote>
44034407

4408+
<li id="change-2017-track-alignment-sizing">
4409+
Better incorporated the alignment of tracks
4410+
('align-content'/'justify-content')
4411+
into the track sizing algorithm.
4412+
(<a href="https://github.com/w3c/csswg-drafts/issues/2557">Issue 2557</a>,
4413+
<a href="https://github.com/w3c/csswg-drafts/issues/2697">Issue 2697</a>)
4414+
44044415
<li id="change-2017-repeat-serialization">
44054416
Require the used value of a track listing
44064417
to be serialized without using ''repeat()'' notation.

0 commit comments

Comments
 (0)