@@ -905,15 +905,16 @@ Sizing Grid Containers</h3>
905905 <span class="note"> The block layout spec should probably define this,
906906 but it isn't written yet.</span>
907907
908- The <a>max-content size</a> of a <a>grid container</a> is
908+ The <a>max-content size</a> ( <a>min-content size</a> ) of a <a>grid container</a> is
909909 the sum of the <a>grid container’s</a> track sizes (including gutters)
910910 in the appropriate axis,
911- when the grid is sized under a <a>max-content constraint</a> .
912-
913- The <a>min-content size</a> of a <a>grid container</a> is
914- the sum of the <a>grid container’s</a> track sizes (including gutters)
915- in the appropriate axis,
916- when the grid is sized under a <a>min-content constraint</a> .
911+ when the grid is sized under a <a>max-content constraint</a> (<a>min-content constraint</a> ).
912+ However, if the sum of the <a>flex factors</a> of the <a>flexible tracks</a>
913+ is less than one,
914+ then instead calculate the flexible tracks’ sizes
915+ using <em> rescaled</em> flex factors--
916+ each track’s <a>flex factor</a> divided by the sum of all the tracks’ flex factors</a> --
917+ in place of their actual flex factors.
917918
918919
919920<!--
@@ -1692,6 +1693,9 @@ Flexible Lengths: the ''fr'' unit</h4>
16921693 A <dfn export>flexible length</dfn> or <dfn><<flex>></dfn> is a dimension
16931694 with the <dfn value for="<flex>" lt="fr|fr unit">fr</dfn> unit,
16941695 which represents a fraction of the <a>leftover space</a> in the <a>grid container</a> .
1696+ Tracks sized with ''fr'' units are called <dfn>flexible tracks</dfn>
1697+ as they flex in response to <a>leftover space</a>
1698+ similar to how <a>flex items</a> fill space in a <a>flex container</a> .
16951699
16961700 Note: <<flex>> values are not <<length>> s
16971701 (nor are they compatible with <<length>> s, like some <<percentage>> values),
@@ -4254,6 +4258,25 @@ Major Changes</h4>
42544258Significant Adjustments and Fixes</h4>
42554259
42564260 <ul>
4261+ <li id="change-2016-flex-max-content">
4262+ Corrected max-content contributions of flexible tracks
4263+ to handle cases where the sum of the flex factors is less than one.
4264+ (<a href="https://github.com/w3c/csswg-drafts/issues/1735">Issue 1735</a> )
4265+ <blockquote>
4266+ <p>
4267+ The <a>max-content size</a> (<a>min-content size</a> ) of a <a>grid container</a> is
4268+ the sum of the <a>grid container’s</a> track sizes (including gutters)
4269+ in the appropriate axis,
4270+ when the grid is sized under a <a>max-content constraint</a> (<a>min-content constraint</a> ).
4271+ <ins> However, if the sum of the <a>flex factors</a> of the <a>flexible tracks</a>
4272+ is less than one,
4273+ then instead calculate the flexible tracks’ sizes
4274+ using <em> rescaled</em> flex factors--
4275+ each track’s <a>flex factor</a> divided by the sum of all the tracks’ flex factors</a> --
4276+ in place of their actual flex factors.</ins>
4277+ </p>
4278+ </blockquote>
4279+
42574280 <li id="change-2016-flex-clamping-indefinite">
42584281 Applied flex factor clamping to 1 also to indefinite case
42594282 (<a href="https://drafts.csswg.org/css-grid-1/issues-cr-2016#issue-26">Issue 26</a> ,
0 commit comments