Skip to content

Commit 558e46b

Browse files
committed
[css-grid] Update Changes list
1 parent 2d39813 commit 558e46b

1 file changed

Lines changed: 74 additions & 13 deletions

File tree

css-grid-1/Overview.bs

Lines changed: 74 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -891,8 +891,8 @@ Sizing Grid Containers</h3>
891891

892892
<ul>
893893
<li>
894-
As a block-level box in a <a>block formatting context</a>,
895-
it is sized like a block box that establishes a formatting context,
894+
As a <a>block-level</a> box in a <a>block formatting context</a>,
895+
it is sized like a <a>block box</a> that establishes a formatting context,
896896
with an ''auto'' <a>inline size</a> calculated as for non-replaced block boxes.
897897
<li>
898898
As an inline-level box in an <a>inline formatting context</a>,
@@ -4257,8 +4257,8 @@ Major Changes</h4>
42574257
(<a href="https://github.com/w3c/csswg-drafts/issues/1036">Issue 1036</a>)
42584258

42594259
<li id="change-2016-grid-gap">
4260-
Removed 'grid-row-gap', 'grid-column-gap', and 'grid-gap' properties,
4261-
replacing with 'row-gap', 'column-gap', and 'gap'
4260+
<strong>Removed 'grid-row-gap', 'grid-column-gap', and 'grid-gap' properties,
4261+
replacing with 'row-gap', 'column-gap', and 'gap'</strong>
42624262
which are now defined in <a href="http://www.w3.org/TR/css-align-3/">CSS Box Alignment</a>.
42634263
(<a href="https://github.com/w3c/csswg-drafts/issues/1696">Issue 1696</a>)
42644264

@@ -4329,7 +4329,7 @@ Significant Adjustments and Fixes</h4>
43294329
<li id="change-2016-stretch-algo">
43304330
Better integrated ''justify-content/stretch'' sizing of grid tracks
43314331
into the track sizing algorithm.
4332-
(<a href="https://github.com/w3c/csswg-drafts/issues/1150">Issue 1150</a>)
4332+
(<a href="https://github.com/w3c/csswg-drafts/issues/1150">Issue 1150</a>, <a href="https://github.com/w3c/csswg-drafts/issues/1866">Issue 1866</a>)
43334333
<blockquote>
43344334
<p>and the tracks are aligned within the <a>grid container</a>
43354335
according to the 'align-content' and 'justify-content' properties.
@@ -4360,7 +4360,11 @@ Significant Adjustments and Fixes</h4>
43604360
<p>This step sizes expands tracks that have
43614361
an ''grid-template-columns/auto'' <a>max track sizing function</a>
43624362
by dividing any remaining positive, <a>definite</a> <a>free space</a>
4363-
equally amongst them.</p>
4363+
equally amongst them.
4364+
If the <a>free space</a> is <a>indefinite</a>,
4365+
but the <a>grid container</a> has a <a>definite</a> <a property lt=min-width>min-width/height</a>,
4366+
use that size to calculate the <a>free space</a> for this step instead.
4367+
</p>
43644368
</ins>
43654369
</blockquote>
43664370

@@ -4527,22 +4531,64 @@ Significant Adjustments and Fixes</h4>
45274531
</ol>
45284532
</blockquote>
45294533

4534+
<li id="change-2016-definite-tracks">
4535+
Specified that <a>grid areas</a> are considered <a>definite</a>
4536+
for the purpose of laying out <a>grid items</a>
4537+
after track sizing is done.
4538+
(<a href="https://github.com/w3c/csswg-drafts/issues/1319">Issue 1319</a>,
4539+
<a href="https://github.com/w3c/csswg-drafts/issues/1320">Issue 1320</a>)
4540+
<blockquote>
4541+
<p>Once the size of each <a>grid area</a> is thus established,
4542+
the <a>grid items</a> are laid out into their respective containing blocks.
4543+
<ins>The <a>grid area’s</a> width and height are considered <a>definite</a> for this purpose.</ins></p>
4544+
<ins><!-- empty line for Bikeshed to generate Note correctly -->
4545+
4546+
Note: Since formulas calculated using only definite sizes,
4547+
such as the <a>stretch fit</a> formula,
4548+
are also definite,
4549+
the size of a grid item which is stretched
4550+
is also considered definite.
4551+
</ins>
4552+
</blockquote>
4553+
<li id="change-2016-in-flow-block">
4554+
Fixed error in <a>block-level</a> <a>grid container</a> sizing definition:
4555+
in-flow block-level <a>grid containers</a> use the <a>stretch-fit size</a>
4556+
while out-of-flow block-level grids use the <a>fit-content size</a>,
4557+
exactly as non-replaced <a>block boxes</a> do.
4558+
(<a href="https://github.com/w3c/csswg-drafts/issues/1734">Issue 1734</a>)
4559+
<blockquote>
4560+
As a <a>block-level</a> box in a <a>block formatting context</a>,
4561+
it is sized like a <a>block box</a> that establishes a formatting context,
4562+
with an ''auto'' <a>inline size</a> calculated as for <del>in-flow</del><ins>non-replaced</a> block boxes.
4563+
</blockquote>
4564+
<li id="change-2016-tracks-before">
4565+
Fixed error in pattern repetition for finding <a>implicit grid track</a> sizes.
4566+
(<a href="https://github.com/w3c/csswg-drafts/issues/1356">Issue 1356</a>)
4567+
<blockquote>
4568+
<p>If multiple track sizes are given, the pattern is repeated as necessary
4569+
to find the size of the implicit tracks.
4570+
The first <a>implicit grid track</a> <del>before</del> <ins>after</ins> the <a>explicit grid</a>
4571+
receives the first specified size, and so on forwards;
4572+
and the last <a>implicit grid track</a> before the <a>explicit grid</a>
4573+
receives the last specified size, and so on backwards.
4574+
</blockquote>
4575+
</ul>
4576+
4577+
<h4 id="clarify-2016">
4578+
Clarifications</h4>
4579+
4580+
<ul id="change-2016-auto-min-editorial">
45304581
<li id="change-2016-fit-content-stretch">
45314582
Clarified that ''fit-content()'' is not affected by ''align-content/stretch'' 'align-content'/'justify-content'.
4532-
(<a href="https://github.com/w3c/csswg-drafts/issues/1732">Issue 1732</a>
4583+
(<a href="https://github.com/w3c/csswg-drafts/issues/1732">Issue 1732</a>)
45334584
<blockquote>
45344585
<p>Represents the formula
45354586
<code>min(''max-content'', max(''auto'', <var>argument</var>))</code>,
45364587
which is calculated <ins>like</ins> <del>similar to ''auto'' (i.e.</del> ''minmax(auto, max-content)''<del>)</del>,
45374588
except that the track size is clamped at <var>argument</var>
45384589
if it is greater than the ''auto'' minimum.
45394590
</blockquote>
4540-
</ul>
45414591

4542-
<h4 id="clarify-2016">
4543-
Clarifications</h4>
4544-
4545-
<ul id="change-2016-auto-min-editorial">
45464592
<li>
45474593
Clarified definition of <a>min-size contribution</a>.
45484594
(<a href="https://github.com/w3c/csswg-drafts/issues/507">Issue #507</a>)
@@ -4581,7 +4627,22 @@ Clarifications</h4>
45814627
and treating <a>collapsed gutters</a>
45824628
as a single opportunity for space insertion.</ins>
45834629
</blockquote>
4584-
<li>Miscellaneous trivial fixes: broken references, typos, etc.
4630+
<li id="change-2016-leftover-space">
4631+
Changed description of <a>flexible length</a>
4632+
to use “leftover space” instead of “free space”
4633+
to avoid mixing up concepts under the same name.
4634+
(<a href="https://github.com/w3c/csswg-drafts/issues/1120">Issue #1120</a>)
4635+
<li id="change-2016-maximize-base-sizes">
4636+
Clarified that the <a href="#algo-grow-tracks">Maximize Tracks</a> step
4637+
grows the <a>base sizes</a> of the tracks.
4638+
(<a href="https://github.com/w3c/csswg-drafts/issues/1120">Issue #1120</a>)
4639+
<blockquote>
4640+
If the <a>free space</a> is positive, distribute it equally
4641+
to <ins>the <a>base sizes</a> of</ins> all tracks,
4642+
freezing tracks as they reach their <a>growth limits</a>
4643+
(and continuing to grow the unfrozen tracks as needed).
4644+
</blockquote>
4645+
<li>Miscellaneous trivial fixes and minor editorial improvements.
45854646
</ul>
45864647

45874648

0 commit comments

Comments
 (0)