You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-grid/Overview.bs
+3-12Lines changed: 3 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -2781,18 +2781,18 @@ Process Flexible Tracks</h3>
2781
2781
<dl>
2782
2782
<dt>If the <a>free space</a> is zero:
2783
2783
<dd>
2784
-
The used <i>flex fraction</i>: is zero.
2784
+
The used <i>flex fraction</i> is zero.
2785
2785
2786
2786
<dt>If the <a>free space</a> is a <a>definite</a> length:
2787
2787
<dd>
2788
-
The used <i>flex fraction</i>: is the result of
2788
+
The used <i>flex fraction</i> is the result of
2789
2789
<a href="#algo-find-fr-size">finding the size of an fr</a>
2790
2790
using all of the <a>grid tracks</a>
2791
2791
and a <a>space to fill</a> of the <a>available space</a>.
2792
2792
2793
2793
<dt>If the <a>free space</a> is an <a>indefinite</a> length:
2794
2794
<dd>
2795
-
The used <i>flex fraction</i>:is the maximum of:
2795
+
The used <i>flex fraction</i>is the maximum of:
2796
2796
2797
2797
<ul>
2798
2798
<li>
@@ -2845,15 +2845,6 @@ Find the Size of an ''fr''</h4>
2845
2845
This probably needs to be adjusted to handle sum(flex factors) approaches zero,
2846
2846
same as how Flexbox does it.
2847
2847
2848
-
<h3 id='intrinsic-sizes'>
2849
-
Intrinsic Sizing</h3>
2850
-
2851
-
For a <a>grid container</a>,
2852
-
the <a>min-content measure</a> is the sum of the UsedBreadths of the <a>Grid tracks</a> just before step 3 in ComputeUsedBreadthOfGridTracks.
2853
-
and the <a>preferred measure</a> is the sum of the UsedBreadths of the <a>Grid tracks</a> after the entire track sizing algorithm has been run with infinite space.
2854
-
2855
-
<p class='issue'>
2856
-
This section'll need updating after the algorithm is rewritten.
<dt>If the <adata-link-type=dfnhref=#free-spacetitle="free space">free space</a> is zero:
2758
2757
<dd>
2759
-
The used <adata-link-type=dfnhref=#flex-fractiontitle="flex fraction">flex fraction</a>: is zero.
2758
+
The used <adata-link-type=dfnhref=#flex-fractiontitle="flex fraction">flex fraction</a> is zero.
2760
2759
2761
2760
<dt>If the <adata-link-type=dfnhref=#free-spacetitle="free space">free space</a> is a <adata-link-type=dfnhref=http://dev.w3.org/csswg/css-sizing-3/#definitetitle=definite>definite</a> length:
2762
2761
<dd>
2763
-
The used <adata-link-type=dfnhref=#flex-fractiontitle="flex fraction">flex fraction</a>: is the result of
2762
+
The used <adata-link-type=dfnhref=#flex-fractiontitle="flex fraction">flex fraction</a> is the result of
2764
2763
<ahref=#algo-find-fr-size>finding the size of an fr</a>
2765
2764
using all of the <adata-link-type=dfnhref=#grid-tracktitle="grid tracks">grid tracks</a>
2766
2765
and a <adata-link-type=dfnhref=#space-to-filltitle="space to fill">space to fill</a> of the <adata-link-type=dfnhref=#available-spacetitle="available space">available space</a>.
2767
2766
2768
2767
<dt>If the <adata-link-type=dfnhref=#free-spacetitle="free space">free space</a> is an <adata-link-type=dfnhref=http://dev.w3.org/csswg/css-sizing-3/#indefinitetitle=indefinite>indefinite</a> length:
2769
2768
<dd>
2770
-
The used <adata-link-type=dfnhref=#flex-fractiontitle="flex fraction">flex fraction</a>:is the maximum of:
2769
+
The used <adata-link-type=dfnhref=#flex-fractiontitle="flex fraction">flex fraction</a>is the maximum of:
<p> For a <adata-link-type=dfnhref=#grid-containertitle="grid container">grid container</a>,
2827
-
the <adata-link-type=dfnhref=http://dev.w3.org/csswg/css-sizing-3/#min-content-measuretitle="min-content measure">min-content measure</a> is the sum of the UsedBreadths of the <adata-link-type=dfnhref=#grid-tracktitle="grid tracks">Grid tracks</a> just before step 3 in ComputeUsedBreadthOfGridTracks.
2828
-
and the <adata-link-type=dfnhref=http://dev.w3.org/csswg/css-sizing-3/#preferred-measuretitle="preferred measure">preferred measure</a> is the sum of the UsedBreadths of the <adata-link-type=dfnhref=#grid-tracktitle="grid tracks">Grid tracks</a> after the entire track sizing algorithm has been run with infinite space.
0 commit comments