@@ -4170,19 +4170,119 @@ Acknowledgements</h2>
41704170Changes</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> … 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+ …</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> …
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+
41864286Privacy and Security Considerations {#priv-sec}
41874287===============================================
41884288
0 commit comments