Skip to content

Commit d69d836

Browse files
committed
[css-grid] Rephrase collapsing issue to be a more general issue about the feature, per WG resolution.
1 parent 094ae99 commit d69d836

2 files changed

Lines changed: 14 additions & 20 deletions

File tree

css-grid/Overview.html

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,18 +1173,17 @@ <h3 id=abspos-items><span class=secno>4.2. </span> Absolutely-positioned
11731173

11741174
<h3 id=visibility-collapse><span class=secno>4.3. </span> Collapsed Grid
11751175
Items: the ‘<code class=property>visibility</code>’ property</h3>
1176+
<!--
1177+
<p>
1178+
Specifying ''visibility: collapse'' on a <i>grid item</i> causes it to become a <dfn title="collapsed grid item|collapsed">collapsed grid item</dfn>.
1179+
This has the same effect as ''visibility: hidden'',
1180+
except that if all the <i>grid items</i> spanning a track are <i>collapsed</i>,
1181+
the track's intrinsic size becomes zero.
1182+
-->
11761183

1177-
<p> Specifying ‘<code class=css>visibility: collapse</code>’ on a <a
1178-
href="#grid-item"><i>grid item</i></a> causes it to become a <dfn
1179-
id=collapsed-grid-item title="collapsed grid item|collapsed">collapsed
1180-
grid item</dfn>. This has the same effect as ‘<code
1181-
class=css>visibility: hidden</code>’, except that if all the <a
1182-
href="#grid-item"><i>grid items</i></a> spanning a track are <a
1183-
href="#collapsed-grid-item"><i>collapsed</i></a>, the track's intrinsic
1184-
size becomes zero.
1185-
1186-
<p class=issue> Or should the track size be set to 0 regardless of its
1187-
sizing function?
1184+
<p class=issue> We want the ability to collapse grid tracks (similar to
1185+
collapsing flex items or table rows/columns), but we're not sure exactly
1186+
how to do it. Ideas welcome, please post them to the list.
11881187

11891188
<h3 id=order-property><span class=secno>4.4. </span> Reordered Grid Items:
11901189
the ‘<a href="#order"><code class=property>order</code></a>’ property</h3>
@@ -3754,12 +3753,6 @@ <h2 class=no-num id=index> Index</h2>
37543753
href="#function-CalculateNormalizedFlexBreadth"
37553754
title="section 8.2."><strong>8.2.</strong></a>
37563755

3757-
<li>collapsed, <a href="#collapsed-grid-item"
3758-
title="section 4.3."><strong>4.3.</strong></a>
3759-
3760-
<li>collapsed grid item, <a href="#collapsed-grid-item"
3761-
title="section 4.3."><strong>4.3.</strong></a>
3762-
37633756
<li>column, <a href="#columns" title="section 2."><strong>2.</strong></a>
37643757

37653758
<li><code class=css>columns</code>’, <a href="#columns0"

css-grid/Overview.src.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -848,15 +848,16 @@ <h3 id="abspos-items">
848848

849849
<h3 id="visibility-collapse">
850850
Collapsed Grid Items: the 'visibility' property</h3>
851-
851+
<!--
852852
<p>
853853
Specifying ''visibility: collapse'' on a <i>grid item</i> causes it to become a <dfn title="collapsed grid item|collapsed">collapsed grid item</dfn>.
854854
This has the same effect as ''visibility: hidden'',
855855
except that if all the <i>grid items</i> spanning a track are <i>collapsed</i>,
856856
the track's intrinsic size becomes zero.
857-
857+
-->
858858
<p class='issue'>
859-
Or should the track size be set to 0 regardless of its sizing function?
859+
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.
860+
Ideas welcome, please post them to the list.
860861

861862

862863
<h3 id='order-property'>

0 commit comments

Comments
 (0)