Skip to content

Commit bb110db

Browse files
committed
[css-grid] Update Changes list
1 parent 8fa1f0c commit bb110db

File tree

3 files changed

+141
-21
lines changed

3 files changed

+141
-21
lines changed

css-grid/Overview.bs

Lines changed: 106 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4170,19 +4170,119 @@ Acknowledgements</h2>
41704170
Changes</h2>
41714171

41724172
Changes since the <a href="https://www.w3.org/TR/2016/CR-css-grid-1-20160929/">29 September 2016 Candidate Recommendation</a> are:
4173+
41734174
<ul>
4174-
<li>Applied flex factor clamping to 1 also to indefinite case.
4175-
(See <a href="https://lists.w3.org/Archives/Public/www-style/2015Sep/0032.html">discussion</a>.)
4176-
<li>Fixed <a href="#grid-item-sizing">automatic sizing</a>
4177-
of grid items with an intrinsic ratio
4178-
so that they maintain their intrinsic ratio
4175+
<li>
4176+
Deferred ''subgrid'' feature to Level 2
4177+
due to lack of implementation and desire for further discussion.
4178+
(<a href="https://github.com/w3c/csswg-drafts/issues/958">Issue 958</a>)
4179+
4180+
<li>
4181+
Applied flex factor clamping to 1 also to indefinite case
4182+
(<a href="https://drafts.csswg.org/css-grid-1/issues-cr-2016#issue-26">Issue 26</a>,
4183+
see <a href="https://lists.w3.org/Archives/Public/www-style/2015Sep/0032.html">discussion</a>):
4184+
4185+
<blockquote>
4186+
<p><del>Each flexible track's <a>base size</a> divided by its <a>flex factor</a>.</del>
4187+
<ins>If the flexible track's <a>flex factor</a> is greater than one,
4188+
the result of dividing the track's <a>base size</a> by its <a>flex factor</a>;
4189+
otherwise,
4190+
the track's <a>base size</a>.</ins></p>
4191+
</blockquote>
4192+
4193+
<li>
4194+
Changed <a href="#grid-item-sizing">automatic sizing</a>
4195+
of grid items (such as images) with an intrinsic size or ratio
4196+
so that they maintain their intrinsic size/ratio
41794197
whenever the alignment properties are ''align-self/normal'' (the default case).
41804198
(<a href="https://github.com/w3c/csswg-drafts/issues/523">Issue #523</a>)
4199+
See <a href="#grid-item-sizing"></a>
4200+
(vs. <a href="https://www.w3.org/TR/2016/CR-css-grid-1-20160929/#grid-item-sizing">original</a>).
4201+
4202+
<li>
4203+
Adjusted <a href="#min-size-auto">automatic minimum size</a> of grid items
4204+
to only trigger when spanning ''grid-template-columns/auto'' tracks
4205+
(<a href="https://drafts.csswg.org/css-grid-1/issues-cr-2016#issue-12">Issue 12</a>)
4206+
and ensured that this correctly affects the transferred size when the item has an aspect ratio
4207+
(<a href="https://drafts.csswg.org/css-grid-1/issues-cr-2016#issue-11">Issue 11</a>)
4208+
so that this implied minimum does not end up forcing overflow:
4209+
4210+
<blockquote>
4211+
<p>&hellip; the ''min-width/auto'' value of 'min-width'/'min-height'
4212+
also applies an <a>automatic minimum size</a>
4213+
in the specified axis
4214+
to <a>grid items</a> whose 'overflow' is ''overflow/visible''
4215+
<ins>and which span at least one <a>track</a> whose <a>min track sizing function</a> is ''grid-template-rows/auto''</ins>.
4216+
&hellip;</p>
4217+
<p>However, if the <a>grid item</a> spans only <a>grid tracks</a>
4218+
that have a <a lt="fixed sizing function">fixed</a> <a>max track sizing function</a>,
4219+
its <del><a>automatic minimum size</a></del> <ins><a>specified size</a> and <a>content size</a></ins> in that dimension
4220+
<ins>(and the input to the <a>transferred size</a> in the other dimension)</ins>
4221+
are further clamped to less than or equal to the <a>stretch fit</a>
4222+
the <a>grid area</a>’s size
4223+
<ins>(so as to prevent the <a>automatic minimum size</a> from forcing overflow of its fixed-size grid area)</ins>.</p>
4224+
</blockquote>
4225+
4226+
<li>
4227+
Fixed error in algorithm’s handling of ''grid-template-columns/auto'' min track sizes
4228+
where it didn't correctly handle max-content constraints;
4229+
and also made some editorial improvements.
4230+
(<a href="https://drafts.csswg.org/css-grid-1/issues-cr-2016#issue-5">Issue 5</a>)
4231+
4232+
<blockquote>
4233+
<ol start=2>
4234+
<li><strong>Increase sizes to accommodate spanning items:</strong>
4235+
Next, consider the items with a span of 2
4236+
that do not span a track with a <a>flexible sizing function</a><ins>,
4237+
treating a <a>min track sizing function</a> of ''auto''
4238+
as ''min-content''/''max-content''
4239+
when the grid container is being sized under a
4240+
<a lt="min-content constraint">min</a>/<a>max-content constraint</a> (respectively)</ins>:
4241+
<ol>
4242+
<li>&hellip;
4243+
<li><strong>For content-based minimums:</strong>
4244+
Next continue to increase the <a>base size</a> of tracks with
4245+
a <a>min track sizing function</a> of ''min-content'' or ''max-content''<del>,
4246+
and tracks with a <a>min track sizing function</a> of ''auto''
4247+
if the <a>grid container</a> is being sized under a <a>min-content constraint</a>,</del>
4248+
by <a href="#extra-space">distributing extra space</a> as needed
4249+
to account for these items' <a>min-content contributions</a>.
4250+
<li><strong>For max-content minimums:</strong>
4251+
Third continue to increase the <a>base size</a> of tracks with
4252+
a <a>min track sizing function</a> of ''max-content''<del>,
4253+
and tracks with a <a>max track sizing function</a> of ''auto''
4254+
if the <a>grid container</a> is being sized under a <a>max-content constraint</a>,</del>
4255+
by <a href="#extra-space">distributing extra space</a> as needed
4256+
to account for these items' <a>max-content contributions</a>.
4257+
</ol>
4258+
</ol>
4259+
</blockquote>
4260+
41814261
<li>Clarified definition of <a>min-size contribution</a>.
41824262
(<a href="https://github.com/w3c/csswg-drafts/issues/507">Issue #507</a>)
4183-
<li>Miscellaneous trivial fixes: broken references, typos, etc.
4263+
<blockquote>
4264+
<p>Otherwise,
4265+
set its <a>base size</a>
4266+
to the maximum of its items’ <a>min-size contributions</a><del>:</del><ins>.
4267+
The <a>min-size contribution</a> of an item is</ins>
4268+
the <del>value specified by its respective</del> <ins>outer size that would result from assuming
4269+
the item’s</ins> 'min-width' or 'min-height' value
4270+
(whichever matches the relevant axis)
4271+
<ins>as its specified size</ins>
4272+
if its specified size
4273+
<ins>('width' or 'height', whichever matches the relevant axis)</ins>
4274+
is ''width/auto'',
4275+
or else the item’s <a>min-content contribution</a>.
4276+
</blockquote>
4277+
4278+
<li>Miscellaneous trivial fixes: broken references, typos, etc.
41844279
</ul>
41854280

4281+
A <a href="https://drafts.csswg.org/css-grid-1/issues-cr-2016">Disposition of Comments</a> is available.
4282+
There remains an open issue on
4283+
<a href="https://drafts.csswg.org/css-grid-1/issues-cr-2016#issue-15">percentages inside shrink-wrapped grid containers</a>
4284+
at the time of publication.
4285+
41864286
Privacy and Security Considerations {#priv-sec}
41874287
===============================================
41884288

css-grid/issues-cr-2016.bsi

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ From: Ollie Williams
88
Comment: https://lists.w3.org/Archives/Public/www-style/2016Oct/0076.html
99
Response: https://lists.w3.org/Archives/Public/www-style/2017Feb/0021.html
1010
Closed: Rejected
11-
Resolved: 2017-03-15
11+
Resolved: https://lists.w3.org/Archives/Public/www-style/2017Mar/0060.html
1212
Notes: Refiled as https://github.com/w3c/csswg-drafts/issues/1102 for L2
1313
----
1414
Issue 2.
@@ -67,7 +67,7 @@ From: Mats Palmgren
6767
Comment: https://github.com/w3c/csswg-drafts/issues/798
6868
Closed: Out-of-scope
6969
Notes: Fixed in css-inline-3
70-
Resolved: 2017-03-15
70+
Resolved: https://lists.w3.org/Archives/Public/www-style/2017Mar/0060.html
7171
----
7272
Issue 9.
7373
Summary: Intrinsic size compuation depends on layout for orthogonal flows
@@ -83,6 +83,7 @@ From: Mats Palmgren
8383
Comment: https://github.com/w3c/csswg-drafts/issues/507
8484
Response: https://github.com/w3c/csswg-drafts/issues/507#issuecomment-277084365
8585
Closed: Accepted
86+
Resolved: Editorial
8687
----
8788
Issue 11.
8889
Summary: Clamping should transfer through aspect ratio in automatic min size
@@ -133,7 +134,7 @@ Summary: Defer subgrid
133134
From: Mats Palmgren
134135
Comment: https://github.com/w3c/csswg-drafts/issues/958
135136
Closed: Accepted
136-
Resolved: 2017-03-15
137+
Resolved: https://lists.w3.org/Archives/Public/www-style/2017Mar/0060.html
137138
----
138139
Issue 17.
139140
Summary: Is fr a length?
@@ -143,7 +144,7 @@ Response: https://github.com/w3c/csswg-drafts/issues/955#issuecomment-274615190
143144
Comment: https://github.com/w3c/csswg-drafts/issues/955#issuecomment-276587187
144145
Changes: https://github.com/w3c/csswg-drafts/commit/afbc29e526603bf3893484011f47fc5b7c370032
145146
Closed: Accepted
146-
Resolved: 2017-03-15
147+
Resolved: https://lists.w3.org/Archives/Public/www-style/2017Mar/0060.html
147148
----
148149
Issue 18.
149150
Summary: Clarify behavior of fixed grid items
@@ -173,9 +174,18 @@ Verified: Commenter sent edits. :)
173174
Issue 21.
174175
Summary: Stretch vs. start is replaced elements or boxes with aspect ratio?
175176
From: Mats Palmgren
176-
Comment: https://github.com/w3c/csswg-drafts/issues/523#issuecomment-275869984
177-
Response: https://github.com/w3c/csswg-drafts/issues/523#issuecomment-277103785
177+
Comment: https://github.com/w3c/csswg-drafts/issues/523
178+
Response: https://github.com/w3c/csswg-drafts/issues/523#issuecomment-274928367
179+
Response: https://github.com/w3c/csswg-drafts/issues/523#issuecomment-280096562
178180
Closed: Accepted
179-
Changes: https://github.com/w3c/csswg-drafts/commit/98893bcba70c5d503f34f5c39c718f5af1c8b9c0
180181
Resolved: https://lists.w3.org/Archives/Public/www-style/2017Feb/0069.html
181182
----
183+
Issue 26.
184+
Summary: Flex factor error
185+
From: Javier Fernandez
186+
Comment: https://lists.w3.org/Archives/Public/www-style/2015Sep/0018.html
187+
Response: https://lists.w3.org/Archives/Public/www-style/2015Sep/0032.html
188+
Closed: Accepted
189+
Changes: https://hg.csswg.org/drafts/diff/42427088d71f/css-grid/Overview.bs
190+
Resolved: Editor discretion
191+
----

css-grid/issues-cr-2016.html

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ <h1>CSS Grid Layout Level 1 Disposition of Comments for 2016-09-29 CR</h1>
4141
<span>Comment: <a href='https://lists.w3.org/Archives/Public/www-style/2016Oct/0076.html'>https://lists.w3.org/Archives/Public/www-style/2016Oct/0076.html</a></span>
4242
<span>Response: <a href='https://lists.w3.org/Archives/Public/www-style/2017Feb/0021.html'>https://lists.w3.org/Archives/Public/www-style/2017Feb/0021.html</a></span>
4343
<span class="r">Closed: Rejected</span>
44-
<span>Resolved: 2017-03-15</span>
44+
<span>Resolved: <a href='https://lists.w3.org/Archives/Public/www-style/2017Mar/0060.html'>https://lists.w3.org/Archives/Public/www-style/2017Mar/0060.html</a></span>
4545
<span>Notes: Refiled as <a href='https://github.com/w3c/csswg-drafts/issues/1102'>https://github.com/w3c/csswg-drafts/issues/1102</a> for L2</span></pre>
4646
<pre class=' a' id='issue-2'>
4747
<span>Issue 2. <a href='#issue-2'>#</a></span>
@@ -100,7 +100,7 @@ <h1>CSS Grid Layout Level 1 Disposition of Comments for 2016-09-29 CR</h1>
100100
<span>Comment: <a href='https://github.com/w3c/csswg-drafts/issues/798'>https://github.com/w3c/csswg-drafts/issues/798</a></span>
101101
<span class="">Closed: Out-of-scope</span>
102102
<span>Notes: Fixed in css-inline-3</span>
103-
<span>Resolved: 2017-03-15</span></pre>
103+
<span>Resolved: <a href='https://lists.w3.org/Archives/Public/www-style/2017Mar/0060.html'>https://lists.w3.org/Archives/Public/www-style/2017Mar/0060.html</a></span></pre>
104104
<pre class=' oi' id='issue-9'>
105105
<span>Issue 9. <a href='#issue-9'>#</a></span>
106106
<span>Summary: Intrinsic size compuation depends on layout for orthogonal flows</span>
@@ -115,7 +115,8 @@ <h1>CSS Grid Layout Level 1 Disposition of Comments for 2016-09-29 CR</h1>
115115
<span>From: Mats Palmgren</span>
116116
<span>Comment: <a href='https://github.com/w3c/csswg-drafts/issues/507'>https://github.com/w3c/csswg-drafts/issues/507</a></span>
117117
<span>Response: <a href='https://github.com/w3c/csswg-drafts/issues/507#issuecomment-277084365'>https://github.com/w3c/csswg-drafts/issues/507#issuecomment-277084365</a></span>
118-
<span class="a">Closed: Accepted</span></pre>
118+
<span class="a">Closed: Accepted</span>
119+
<span>Resolved: Editorial</span></pre>
119120
<pre class=' a' id='issue-11'>
120121
<span>Issue 11. <a href='#issue-11'>#</a></span>
121122
<span>Summary: Clamping should transfer through aspect ratio in automatic min size</span>
@@ -166,7 +167,7 @@ <h1>CSS Grid Layout Level 1 Disposition of Comments for 2016-09-29 CR</h1>
166167
<span>From: Mats Palmgren</span>
167168
<span>Comment: <a href='https://github.com/w3c/csswg-drafts/issues/958'>https://github.com/w3c/csswg-drafts/issues/958</a></span>
168169
<span class="a">Closed: Accepted</span>
169-
<span>Resolved: 2017-03-15</span></pre>
170+
<span>Resolved: <a href='https://lists.w3.org/Archives/Public/www-style/2017Mar/0060.html'>https://lists.w3.org/Archives/Public/www-style/2017Mar/0060.html</a></span></pre>
170171
<pre class=' a' id='issue-17'>
171172
<span>Issue 17. <a href='#issue-17'>#</a></span>
172173
<span>Summary: Is fr a length?</span>
@@ -176,7 +177,7 @@ <h1>CSS Grid Layout Level 1 Disposition of Comments for 2016-09-29 CR</h1>
176177
<span>Comment: <a href='https://github.com/w3c/csswg-drafts/issues/955#issuecomment-276587187'>https://github.com/w3c/csswg-drafts/issues/955#issuecomment-276587187</a></span>
177178
<span>Changes: <a href='https://github.com/w3c/csswg-drafts/commit/afbc29e526603bf3893484011f47fc5b7c370032'>https://github.com/w3c/csswg-drafts/commit/afbc29e526603bf3893484011f47fc5b7c370032</a></span>
178179
<span class="a">Closed: Accepted</span>
179-
<span>Resolved: 2017-03-15</span></pre>
180+
<span>Resolved: <a href='https://lists.w3.org/Archives/Public/www-style/2017Mar/0060.html'>https://lists.w3.org/Archives/Public/www-style/2017Mar/0060.html</a></span></pre>
180181
<pre class=' oi' id='issue-18'>
181182
<span>Issue 18. <a href='#issue-18'>#</a></span>
182183
<span>Summary: Clarify behavior of fixed grid items</span>
@@ -206,11 +207,20 @@ <h1>CSS Grid Layout Level 1 Disposition of Comments for 2016-09-29 CR</h1>
206207
<span>Issue 21. <a href='#issue-21'>#</a></span>
207208
<span>Summary: Stretch vs. start is replaced elements or boxes with aspect ratio?</span>
208209
<span>From: Mats Palmgren</span>
209-
<span>Comment: <a href='https://github.com/w3c/csswg-drafts/issues/523#issuecomment-275869984'>https://github.com/w3c/csswg-drafts/issues/523#issuecomment-275869984</a></span>
210-
<span>Response: <a href='https://github.com/w3c/csswg-drafts/issues/523#issuecomment-277103785'>https://github.com/w3c/csswg-drafts/issues/523#issuecomment-277103785</a></span>
210+
<span>Comment: <a href='https://github.com/w3c/csswg-drafts/issues/523'>https://github.com/w3c/csswg-drafts/issues/523</a></span>
211+
<span>Response: <a href='https://github.com/w3c/csswg-drafts/issues/523#issuecomment-274928367'>https://github.com/w3c/csswg-drafts/issues/523#issuecomment-274928367</a></span>
212+
<span>Response: <a href='https://github.com/w3c/csswg-drafts/issues/523#issuecomment-280096562'>https://github.com/w3c/csswg-drafts/issues/523#issuecomment-280096562</a></span>
211213
<span class="a">Closed: Accepted</span>
212-
<span>Changes: <a href='https://github.com/w3c/csswg-drafts/commit/98893bcba70c5d503f34f5c39c718f5af1c8b9c0'>https://github.com/w3c/csswg-drafts/commit/98893bcba70c5d503f34f5c39c718f5af1c8b9c0</a></span>
213214
<span>Resolved: <a href='https://lists.w3.org/Archives/Public/www-style/2017Feb/0069.html'>https://lists.w3.org/Archives/Public/www-style/2017Feb/0069.html</a></span></pre>
215+
<pre class=' a' id='issue-26'>
216+
<span>Issue 26. <a href='#issue-26'>#</a></span>
217+
<span>Summary: Flex factor error</span>
218+
<span>From: Javier Fernandez</span>
219+
<span>Comment: <a href='https://lists.w3.org/Archives/Public/www-style/2015Sep/0018.html'>https://lists.w3.org/Archives/Public/www-style/2015Sep/0018.html</a></span>
220+
<span>Response: <a href='https://lists.w3.org/Archives/Public/www-style/2015Sep/0032.html'>https://lists.w3.org/Archives/Public/www-style/2015Sep/0032.html</a></span>
221+
<span class="a">Closed: Accepted</span>
222+
<span>Changes: <a href='https://hg.csswg.org/drafts/diff/42427088d71f/css-grid/Overview.bs'>https://hg.csswg.org/drafts/diff/42427088d71f/css-grid/Overview.bs</a></span>
223+
<span>Resolved: Editor discretion</span></pre>
214224
<script>
215225
(function () {
216226
var sheet = document.styleSheets[0];

0 commit comments

Comments
 (0)