@@ -1058,27 +1058,6 @@ <h2 id=grid-items><span class=secno>4. </span> Grid Items</h2>
10581058 space</ a > is not rendered, as if it were ‘< code
10591059 class =css > display:none</ code > ’.
10601060
1061- < div class =issue >
1062- < p > This will place all of the contents of the grid on top of each other
1063- in slot 1 1. Alternatives:
1064-
1065- < ul >
1066- < li > Turn on auto-positioning by default (see ‘< a
1067- href ="#grid-auto-flow "> < code
1068- class =property > grid-auto-flow</ code > </ a > ’).
1069-
1070- < li > Place all unpositioned elements in the grid into an anonymous grid
1071- item in slot 1 1.
1072-
1073- < li > Place all unpositioned elements in the grid into an anonymous grid
1074- item whose position is given by a "*" template slot, else is in slot 1
1075- 1.
1076-
1077- < li > Same as the previous, except if there is no "*" template slot,
1078- auto-position the children.
1079- </ ul >
1080- </ div >
1081-
10821061 < p > A < a href ="#grid-item "> < i > grid item</ i > </ a > establishes a new
10831062 formatting context for its contents. The type of this formatting context
10841063 is determined by its ‘< code class =property > display</ code > ’ value, as
@@ -1827,7 +1806,7 @@ <h3 id=grid-template-property><span class=secno>5.3. </span> The ‘<a
18271806 < dt > < dfn id =none > ‘< code class =css > none</ code > ’</ dfn >
18281807
18291808 < dd > Sets all three properties to their initial values (‘< a
1830- href ="#none0 "> < code class =css > none</ code > </ a > ’).
1809+ href ="#none "> < code class =css > none</ code > </ a > ’).
18311810
18321811 < dt > < dfn id =ltgrid-template-columns-ltgrid-template- > < var > <‘< code
18331812 class =property > grid-template-columns</ code > ’> </ var > / < var > <‘< code
@@ -1839,7 +1818,7 @@ <h3 id=grid-template-property><span class=secno>5.3. </span> The ‘<a
18391818 class =property > grid-template-rows</ code > </ a > ’ to the specified values,
18401819 respectively, and sets ‘< a href ="#grid-template-areas "> < code
18411820 class =property > grid-template-areas</ code > </ a > ’ to ‘< a
1842- href ="#none0 "> < code class =css > none</ code > </ a > ’.
1821+ href ="#none "> < code class =css > none</ code > </ a > ’.
18431822 < div class =example >
18441823 < pre > grid-template: auto 1fr auto / auto 1fr;</ pre >
18451824
@@ -1860,7 +1839,7 @@ <h3 id=grid-template-property><span class=secno>5.3. </span> The ‘<a
18601839 < ul >
18611840 < li > Sets ‘< a href ="#grid-template-columns "> < code
18621841 class =property > grid-template-columns</ code > </ a > ’ to the track listing
1863- specified before the slash (or ‘< a href ="#none0 "> < code
1842+ specified before the slash (or ‘< a href ="#none "> < code
18641843 class =css > none</ code > </ a > ’, if not specified).
18651844
18661845 < li > Sets ‘< a href ="#grid-template-areas "> < code
@@ -2372,12 +2351,12 @@ <h3 id=grid-auto-flow-property><span class=secno>6.3. </span> Automatic
23722351 < tr >
23732352 < td > Value:
23742353
2375- < td > none | rows | columns
2354+ < td > rows | columns
23762355
23772356 < tr >
23782357 < td > Initial:
23792358
2380- < td > none
2359+ < td > rows
23812360
23822361 < tr >
23832362 < td > Applies to:
@@ -2405,23 +2384,15 @@ <h3 id=grid-auto-flow-property><span class=secno>6.3. </span> Automatic
24052384 < td > specified value
24062385 </ table >
24072386
2408- < p > < a href ="#grid-item "> < i > Grid items</ i > </ a > can be automatically placed
2409- into an unoccupied space in the < a href ="#grid-container "> < i > grid
2410- container</ i > </ a > . The ‘< a href ="#grid-auto-flow "> < code
2411- class =property > grid-auto-flow</ code > </ a > ’ property controls the
2412- direction in which the search for unoccupied space takes place, and
2413- whether rows or columns are added as needed to accommodate the content.
2387+ < p > < a href ="#grid-item "> < i > Grid items</ i > </ a > that aren't explicitly
2388+ placed are are automatically placed into an unoccupied space in the < a
2389+ href ="#grid-container "> < i > grid container</ i > </ a > . The ‘< a
2390+ href ="#grid-auto-flow "> < code class =property > grid-auto-flow</ code > </ a > ’
2391+ property controls the direction in which the search for unoccupied space
2392+ takes place, and whether rows or columns are added as needed to
2393+ accommodate the content.
24142394
24152395 < dl >
2416- < dt > < dfn id =none0 > ‘< code class =css > none</ code > ’</ dfn >
2417-
2418- < dd > The < a href ="#grid-area "> < i > grid area</ i > </ a > of < a
2419- href ="#grid-item "> < i > grid items</ i > </ a > that are auto-placed has its
2420- start edges set to the first grid line in the relevant dimension, and its
2421- end edges set according to the amount of span specified on the < a
2422- href ="#grid-item "> < i > grid item</ i > </ a > (defaulting to 1 if the item
2423- doesn't specify any span).
2424-
24252396 < dt > < dfn id =rows0 > ‘< code class =css > rows</ code > ’</ dfn >
24262397
24272398 < dd > The auto-placement algorithm places items by filling each row in
@@ -4072,8 +4043,7 @@ <h2 class=no-num id=index> Index</h2>
40724043 title ="section 5.1. "> < strong > 5.1.</ strong > </ a >
40734044
40744045 < li > ‘< code class =css > none</ code > ’, < a href ="#none "
4075- title ="section 5.3. "> < strong > 5.3.</ strong > </ a > , < a href ="#none0 "
4076- title ="section 6.3. "> < strong > 6.3.</ strong > </ a >
4046+ title ="section 5.3. "> < strong > 5.3.</ strong > </ a >
40774047
40784048 < li > ‘< code class =property > order</ code > ’, < a href ="#order "
40794049 title ="section 4.4. "> < strong > 4.4.</ strong > </ a >
@@ -4187,9 +4157,9 @@ <h2 class=no-num id=property-index> Property index</h2>
41874157 < tr >
41884158 < th > < a class =property href ="#grid-auto-flow "> grid-auto-flow</ a >
41894159
4190- < td > none | rows | columns
4160+ < td > rows | columns
41914161
4192- < td > none
4162+ < td > rows
41934163
41944164 < td > grid containers
41954165
@@ -4398,4 +4368,9 @@ <h2 class=no-num id=changes> Changes</h2>
43984368
43994369 < li > Changed the syntax of < a href ="#named-lines "> named lines</ a > to use
44004370 parentheses and identifiers rather than strings.
4371+
4372+ < li > Removed the ‘< a href ="#none "> < code class =css > none</ code > </ a > ’
4373+ value from ‘< a href ="#grid-auto-flow "> < code
4374+ class =property > grid-auto-flow</ code > </ a > ’, turning auto-placement on by
4375+ default so that grid items by default don't stack on top of each other.
44014376 </ ul >
0 commit comments