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
Grid Containers: the <spandata-link-type=value>grid</span> and <spanclass=cssdata-link-type=maybe>inline-grid</span><spanclass=propertydata-link-type=propdesctitle=display>display</span> values</a></ul><li><ahref=#grid-items><spanclass=secno>4</span>
Reordered Grid Items: the <spanclass=propertydata-link-type=propdesctitle=order>order</span> property</a></ul><li><ahref=#grid-definition><spanclass=secno>5</span>
112
111
The Explicit Grid</a><ulclass=toc><li><ahref=#track-sizing><spanclass=secno>5.1</span>
113
112
Track Sizing: the <spanclass=propertydata-link-type=propdesctitle=grid-template-rows>grid-template-rows</span> and <spanclass=propertydata-link-type=propdesctitle=grid-template-columns>grid-template-columns</span> properties</a><ulclass=toc><li><ahref=#named-lines><spanclass=secno>5.1.1</span>
Line-based Placement: the <spanclass=propertydata-link-type=propdesctitle=grid-row-start>grid-row-start</span>, <spanclass=propertydata-link-type=propdesctitle=grid-column-start>grid-column-start</span>, <spanclass=propertydata-link-type=propdesctitle=grid-row-end>grid-row-end</span>, and <spanclass=propertydata-link-type=propdesctitle=grid-column-end>grid-column-end</span> properties</a><li><ahref=#placement-shorthands><spanclass=secno>7.2</span>
130
-
Placement Shorthands: the <spanclass=propertydata-link-type=propdesctitle=grid-column>grid-column</span>, <spanclass=propertydata-link-type=propdesctitle=grid-row>grid-row</span>, and <spanclass=propertydata-link-type=propdesctitle=grid-area>grid-area</span> properties</a></ul><li><ahref=#gutters><spanclass=secno>8</span>
Aligning with <spandata-link-for=margindata-link-type=value>auto</span> margins</a><li><ahref=#row-align><spanclass=secno>9.2</span>
134
-
Row-axis Alignment: the <spanclass=propertydata-link-type=propdesctitle=justify-self>justify-self</span> and <spanclass=propertydata-link-type=propdesctitle=justify-items>justify-items</span> properties</a><li><ahref=#column-align><spanclass=secno>9.3</span>
135
-
Column-axis Alignment: the <spanclass=propertydata-link-type=propdesctitle=align-self>align-self</span> and <spanclass=propertydata-link-type=propdesctitle=align-items>align-items</span> properties</a><li><ahref=#z-order><spanclass=secno>9.4</span>
136
-
Z-axis Ordering: the <spanclass=propertydata-link-type=propdesctitle=z-index>z-index</span> property</a><li><ahref=#grid-baselines><spanclass=secno>9.5</span>
Defining the Shrink-to-fit Behavior of Grid Elements</a></ul><li><ahref=#pagination><spanclass=secno>11</span>
129
+
Placement Shorthands: the <spanclass=propertydata-link-type=propdesctitle=grid-column>grid-column</span>, <spanclass=propertydata-link-type=propdesctitle=grid-row>grid-row</span>, and <spanclass=propertydata-link-type=propdesctitle=grid-area>grid-area</span> properties</a></ul><li><ahref=#alignment><spanclass=secno>8</span>
Aligning with <spandata-link-for=margindata-link-type=value>auto</span> margins</a><li><ahref=#row-align><spanclass=secno>8.2</span>
132
+
Row-axis Alignment: the <spanclass=propertydata-link-type=propdesctitle=justify-self>justify-self</span> and <spanclass=propertydata-link-type=propdesctitle=justify-items>justify-items</span> properties</a><li><ahref=#column-align><spanclass=secno>8.3</span>
133
+
Column-axis Alignment: the <spanclass=propertydata-link-type=propdesctitle=align-self>align-self</span> and <spanclass=propertydata-link-type=propdesctitle=align-items>align-items</span> properties</a><li><ahref=#z-order><spanclass=secno>8.4</span>
134
+
Z-axis Ordering: the <spanclass=propertydata-link-type=propdesctitle=z-index>z-index</span> property</a><li><ahref=#grid-baselines><spanclass=secno>8.5</span>
Collapsed Grid Items: the <aclass=propertydata-link-type=propdeschref=http://www.w3.org/TR/CSS21/visufx.html#propdef-visibilitytitle=visibility>visibility</a> property</span><aclass=section-linkhref=#visibility-collapse>§</a></h3>
788
-
<!--
789
-
<p>
790
-
Specifying <span data-link-type="maybe" class="css">visibility: collapse</span> on a <a>grid item</a> causes it to become a <dfn export title="collapsed grid item|collapsed">collapsed grid item</dfn>.
791
-
This has the same effect as <span data-link-type="maybe" class="css">visibility: hidden</span>,
792
-
except that if all the <a>grid items</a> spanning a track are <a>collapsed</a>,
793
-
the track's intrinsic size becomes zero.
794
-
-->
795
-
<pclass=issue>
796
-
We want the ability to collapse grid tracks (similar to collapsing flex items or table rows/columns), but we're not sure exactly how to do it.
Should <aclass=propertydata-link-type=propdeschref=#propdef-grid-areatitle=grid-area>grid-area</a> be <aclass=propertydata-link-type=propdesctitle=grid-field>grid-field</a>?
Row-axis Alignment: the <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-align-3/#justify-selftitle=justify-self>justify-self</a> and <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-align-3/#justify-itemstitle=justify-items>justify-items</a> properties</span><aclass=section-linkhref=#row-align>§</a></h3>
Column-axis Alignment: the <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-align-3/#align-selftitle=align-self>align-self</a> and <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-align-3/#align-itemstitle=align-items>align-items</a> properties</span><aclass=section-linkhref=#column-align>§</a></h3>
or <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-align-3/#align-itemstitle=align-items>align-items</a> property on the <ahref=#grid-container>grid container</a>,
1984
1953
as defined in <adata-biblio-type=normativedata-link-type=bibliohref=#css3-aligntitle=CSS3-ALIGN>[CSS3-ALIGN]</a>.
Z-axis Ordering: the <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-position-3/#z-indextitle=z-index>z-index</a> property</span><aclass=section-linkhref=#z-order>§</a></h3>
Defining the Shrink-to-fit Behavior of Grid Elements</span><aclass=section-linkhref=#shrink-to-fit>§</a></h3>
2568
2537
2569
2538
<p>
2570
2539
The <ahref=http://www.w3.org/TR/css3-box/#shrink-to-fit>CSS3 Box Model</a> defines the shrink-to-fit behavior of an element as min(max(preferred minimum width, available width), preferred width), with available width defined in the Box Model spec. Accordingly, for the <ahref=#grid-container>grid container</a> we define the preferred minimum width as the sum of the UsedBreadths of the <ahref=#grid-track>Grid tracks</a> just before step 3 in ComputeUsedBreadthOfGridTracks, and the preferred width as the sum of the UsedBreadths of the <ahref=#grid-track>Grid tracks</a> after the entire track sizing algorithm has been run with infinite space.
Copy file name to clipboardExpand all lines: css-grid/Overview.src.html
-29Lines changed: 0 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -696,19 +696,6 @@ <h3 id="abspos-items">
696
696
elements that are absolutely-positioned to a <a>grid container</a>
697
697
do not take up space or otherwise participate in the layout of the grid.
698
698
699
-
<h3id="visibility-collapse">
700
-
Collapsed Grid Items: the 'visibility' property</h3>
701
-
<!--
702
-
<p>
703
-
Specifying ''visibility: collapse'' on a <a>grid item</a> causes it to become a <dfn export title="collapsed grid item|collapsed">collapsed grid item</dfn>.
704
-
This has the same effect as ''visibility: hidden'',
705
-
except that if all the <a>grid items</a> spanning a track are <a>collapsed</a>,
706
-
the track's intrinsic size becomes zero.
707
-
-->
708
-
<pclass='issue'>
709
-
We want the ability to collapse grid tracks (similar to collapsing flex items or table rows/columns), but we're not sure exactly how to do it.
0 commit comments