Skip to content

Commit 16b2ae4

Browse files
committed
[css-grid] Clarifications to application of automatic minimum size (issue #283)
1 parent 156c0aa commit 16b2ae4

File tree

4 files changed

+45
-11
lines changed

4 files changed

+45
-11
lines changed

css-flexbox/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -894,12 +894,12 @@ Implied Minimum Size of Flex Items</h3>
894894
<dd>
895895
On a <a>flex item</a> whose 'overflow' is ''overflow/visible'' in the <a>main axis</a>,
896896
when specified on the <a>flex item's</a> main-axis min-size property,
897-
specifies an <dfn dfn export>automatic minimum size</dfn>.
897+
specifies an <a>automatic minimum size</a>.
898898
It otherwise computes to ''0''
899899
(unless otherwise defined by a future specification).
900900
</dl>
901901

902-
In general, the <a>automatic minimum size</a>
902+
In general, the <dfn dfn export>automatic minimum size</dfn>
903903
is the smaller of its <a>content size</a> and its <a>specified size</a>.
904904
However, if the box has an aspect ratio and no <a>specified size</a>,
905905
its <a>automatic minimum size</a>

css-grid/Overview.bs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,13 +1282,13 @@ Z-axis Ordering: the 'z-index' property</h3>
12821282
Implied Minimum Size of Grid Items</h3>
12831283

12841284
To provide a more reasonable default minimum size for <a>grid items</a>,
1285-
this specification defines the effects of the 'min-width'/'min-height' ''min-width/auto'' value
1286-
for <a>grid items</a>.
1287-
1288-
When 'min-width'/'min-height' is set to ''min-width/auto'',
1289-
on a <a>grid item</a> whose 'overflow' is ''overflow/visible'',
1290-
this causes a <a>automatic minimum size</a>
1291-
(just as for <a>flex items</a>).
1285+
this specification defines
1286+
that the ''min-width/auto'' value of 'min-width'/'min-height'
1287+
also applies an <a>automatic minimum size</a>
1288+
in the specified axis
1289+
to <a>grid items</a> whose 'overflow' is ''overflow/visible''.
1290+
(The effect is analogous to the <a>automatic minimum size</a>
1291+
imposed on <a>flex items</a> in their <a>main axis</a>.)
12921292
[[!CSS-FLEXBOX-1]]
12931293

12941294
<div class="note" id="min-size-opt">
@@ -1309,6 +1309,8 @@ Implied Minimum Size of Grid Items</h3>
13091309
this traversal is trivial and therefore not a performance concern.)
13101310
</div>
13111311

1312+
Issue: Review sanity of <a href="https://github.com/w3c/csswg-drafts/issues/283">2D minimum sizing</a>.
1313+
13121314
<h2 id='grid-definition'>
13131315
Defining the Grid</h2>
13141316

css-grid/issues-wd-20160519.bsi

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,27 @@ From: Mats Palmgren
100100
Comment: https://github.com/w3c/csswg-drafts/issues/209
101101
Changes: https://hg.csswg.org/drafts/rev/0f620563bcd9
102102
Closed: Accepted
103-
Resolved: =WG= Discuss and accept?
103+
Resolved: TELCON 2016-07-13
104104
----
105105
Issue 14.
106106
Summary: Application of block-axis baselines
107107
From: Mats Palmgren
108108
Comment: https://github.com/w3c/csswg-drafts/issues/197
109109
Open
110110
----
111+
Issue 15.
112+
Summary: Clarifications to Implied Minimum Size of Grid Items
113+
From: Manuel Rego Casasnovas
114+
Comment: https://github.com/w3c/csswg-drafts/issues/283
115+
----
116+
Issue 16. Allow grid-positioning of indirect children
117+
From: Goetz Heller
118+
Comment: https://www.w3.org/blog/CSS/2015/08/10/css-grid-pls-review/comment-page-1/#comment-13462
119+
Comment: https://github.com/w3c/csswg-drafts/issues/313
120+
Open
121+
----
122+
Issue 17. Stretching Fixed-size Tracks
123+
From: fantasai
124+
Comment: https://github.com/w3c/csswg-drafts/issues/320
125+
open
126+
----

css-grid/issues-wd-20160519.html

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,13 +133,29 @@ <h1>CSS Grid Layout Level 1 Disposition of Comments for 2016-05-19 WD</h1>
133133
<span>Comment: <a href='https://github.com/w3c/csswg-drafts/issues/209'>https://github.com/w3c/csswg-drafts/issues/209</a></span>
134134
<span>Changes: <a href='https://hg.csswg.org/drafts/rev/0f620563bcd9'>https://hg.csswg.org/drafts/rev/0f620563bcd9</a></span>
135135
<span class="a">Closed: Accepted</span>
136-
<span>Resolved: =WG= Discuss and accept?</span></pre>
136+
<span>Resolved: TELCON 2016-07-13</span></pre>
137137
<pre class='open ' id='issue-14'>
138138
<span>Issue 14. <a href='#issue-14'>#</a></span>
139139
<span>Summary: Application of block-axis baselines</span>
140140
<span>From: Mats Palmgren</span>
141141
<span>Comment: <a href='https://github.com/w3c/csswg-drafts/issues/197'>https://github.com/w3c/csswg-drafts/issues/197</a></span>
142142
<span>Open</span></pre>
143+
<pre class=' ' id='issue-15'>
144+
<span>Issue 15. <a href='#issue-15'>#</a></span>
145+
<span>Summary: Clarifications to Implied Minimum Size of Grid Items</span>
146+
<span>From: Manuel Rego Casasnovas</span>
147+
<span>Comment: <a href='https://github.com/w3c/csswg-drafts/issues/283'>https://github.com/w3c/csswg-drafts/issues/283</a></span></pre>
148+
<pre class='open ' id='issue-16'>
149+
<span>Issue 16. <a href='#issue-16'>#</a> Allow grid-positioning of indirect children</span>
150+
<span>From: Goetz Heller</span>
151+
<span>Comment: <a href='https://www.w3.org/blog/CSS/2015/08/10/css-grid-pls-review/comment-page-1/#comment-13462'>https://www.w3.org/blog/CSS/2015/08/10/css-grid-pls-review/comment-page-1/#comment-13462</a></span>
152+
<span>Comment: <a href='https://github.com/w3c/csswg-drafts/issues/313'>https://github.com/w3c/csswg-drafts/issues/313</a></span>
153+
<span>Open</span></pre>
154+
<pre class=' ' id='issue-17'>
155+
<span>Issue 17. <a href='#issue-17'>#</a> Stretching Fixed-size Tracks</span>
156+
<span>From: fantasai</span>
157+
<span>Comment: <a href='https://github.com/w3c/csswg-drafts/issues/320'>https://github.com/w3c/csswg-drafts/issues/320</a></span>
158+
<span>open</span></pre>
143159
<script>
144160
(function () {
145161
var sheet = document.styleSheets[0];

0 commit comments

Comments
 (0)