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
A <ahref=#subgrid>subgrid</a> behaves just like a normal <ahref=#grid-container>grid container</a> except that:
1078
1078
1079
-
<p><ul>
1079
+
<p><ulstyle="list-style-type: lower-alpha">
1080
1080
<li>
1081
1081
The number of explicit tracks is given by its <ahref=#grid-span>grid span</a>,
1082
1082
rather than by <aclass=propertydata-link-type=propdeschref=#propdef-grid-template-rowstitle=grid-template-rows>grid-template-rows</a>/<aclass=propertydata-link-type=propdeschref=#propdef-grid-template-columnstitle=grid-template-columns>grid-template-columns</a>.
Unless authors want those to cascade in separately,
1359
1360
it is therefore recommended to use <aclass=propertydata-link-type=propdeschref=#propdef-gridtitle=grid>grid</a> instead of <aclass=propertydata-link-type=propdeschref=#propdef-grid-templatetitle=grid-template>grid-template</a>.
1360
1361
1362
+
<pclass=issueid=issue-b47dff3b><aclass=self-linkhref=#issue-b47dff3b></a>Would be nice if <aclass=cssdata-link-type=maybehref=#propdef-gridtitle=grid>grid: subgrid</a> just worked.
<p>In addition to accepting the <aclass=propertydata-link-type=propdeschref=#propdef-grid-templatetitle=grid-template>grid-template</a> shorthand syntax for setting up the <ahref=#explicit-grid>explicit grid</a>,
1725
1729
the <aclass=propertydata-link-type=propdeschref=#propdef-gridtitle=grid>grid</a> shorthand can also easily set up parameters for an auto-formatted grid.
1726
-
For example, <aclass=cssdata-link-type=maybehref=#propdef-gridtitle=grid>grid: 1fr;</a> is equivalent to
1730
+
For example, <aclass=cssdata-link-type=maybehref=#propdef-gridtitle=grid>grid: rows 1fr;</a> is equivalent to
<tr><thscope=row><adata-property="">grid-row-start</a><td><aclass=productiondata-link-type=typehref=#typedef-grid-line><grid-line></a><td>auto<td><td>no<td>n/a<td>visual<td><ahref=#grid-item>grid items</a><td>specified value (almost)<td>
2929
2933
<tr><thscope=row><adata-property="">grid-column-start</a><td><aclass=productiondata-link-type=typehref=#typedef-grid-line><grid-line></a><td>auto<td><td>no<td>n/a<td>visual<td><ahref=#grid-item>grid items</a><td>specified value (almost)<td>
2930
2934
<tr><thscope=row><adata-property="">grid-row-end</a><td><aclass=productiondata-link-type=typehref=#typedef-grid-line><grid-line></a><td>auto<td><td>no<td>n/a<td>visual<td><ahref=#grid-item>grid items</a><td>specified value (almost)<td>
Make sure Flexbox and Grid Layout have consistent models for static position.
2949
2953
2950
-
<ahref=#issue-cc903511> ↵ </a><pclass=issue>
2954
+
<ahref=#issue-cc903511> ↵ </a><pclass=issue>Would be nice if <aclass=cssdata-link-type=maybehref=#propdef-gridtitle=grid>grid: subgrid</a> just worked.
2955
+
Investigate tweaking grammar for that.
2956
+
2957
+
<ahref=#issue-b47dff3b> ↵ </a><pclass=issue>
2951
2958
Win8 compat might require the <adata-link-for=grid-auto-flowdata-link-type=valuehref=#valuedef-none>none</a> value to stay the initial value,
2952
2959
but it’s not a very good value,
2953
2960
because by default the entire contents of a grid container will end up stacked on top of each other.
0 commit comments