Skip to content

Commit 5622ca1

Browse files
committed
[css-grid-1] Floor max by min when calculating repetitions. #4043
1 parent a6bba78 commit 5622ca1

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
@@ -1729,6 +1729,7 @@ Repeat-to-fill: ''auto-fill'' and ''auto-fit'' repetitions</h5>
17291729
the <a>content box</a> of its <a>grid container</a>
17301730
(treating each track as its <a>max track sizing function</a> if that is <a>definite</a>
17311731
or as its minimum track sizing function otherwise,
1732+
flooring the <a>max track sizing function</a> by the <a>min track sizing function</a> if both are <a>definite</a>,
17321733
and taking 'gap' into account);
17331734
if any number of repetitions would overflow,
17341735
then 1 repetition.
@@ -4768,6 +4769,16 @@ Minor Changes</h4>
47684769
from its border edges.
47694770
</ul>
47704771
</blockquote>
4772+
<li id="change-2017-repeat-min-max">
4773+
Floor the max track sizing function by the min track sizing function
4774+
when calculating the number of ''auto-fit'' or ''auto-fill'' repetitions.
4775+
(<a href="https://github.com/w3c/csswg-drafts/issues/4043">Issue 4043</a>)
4776+
<blockquote>
4777+
<p>&hellip; (treating each track as its <a>max track sizing function</a> if that is <a>definite</a>
4778+
or as its minimum track sizing function otherwise,
4779+
<ins>flooring the <a>max track sizing function</a> by the <a>min track sizing function</a> if both are <a>definite</a>,</ins>
4780+
and taking 'gap' into account) &hellip;
4781+
</blockquote>
47714782
<li id="change-2017-flex-initial-growth-limit">
47724783
Initialize the <a>growth limit</a> of <a>flexible tracks</a> to infinity,
47734784
instead of setting it first to the base size and changing it later.

0 commit comments

Comments
 (0)