Skip to content

Commit 1fd0c86

Browse files
committed
[css-grid][css-flexbox] Clarify that content-based minimum size is an intrinsic size contribution and thus special rules in css-sizing-3 (like cyclic percentage resolution) apply. w3c#5665"
1 parent 999f10d commit 1fd0c86

3 files changed

Lines changed: 37 additions & 0 deletions

File tree

css-flexbox-1/Overview.bs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,9 @@ Automatic Minimum Size of Flex Items</h3>
966966
is a <dfn>content-based minimum size</dfn>;
967967
for <a>scroll containers</a> the <a>automatic minimum size</a> is zero, as usual.
968968

969+
Note: The [=content-based minimum size=] is a type of [=intrinsic size contribution=],
970+
and thus the provisions in [[css-sizing-3#intrinsic-contribution]] apply.
971+
969972
In general, the <a>content-based minimum size</a> of a <a>flex item</a>
970973
is the smaller of its <a>content size suggestion</a> and its <a>specified size suggestion</a>.
971974
However, if the box has an [=preferred aspect ratio|aspect ratio=] and no <a>specified size suggestion</a>,
@@ -3762,6 +3765,12 @@ Changes since the <a href="https://www.w3.org/TR/2018/CR-css-flexbox-1-20181119/
37623765
its used <del>inner</del> cross size
37633766
and the flex item’s intrinsic aspect ratio.
37643767
</blockquote>
3768+
3769+
<li id="change-2018-auto-min-contribution">
3770+
Clarified that the [=content-based minimum size=] of a flex item
3771+
is a type of [=intrinsic size contribution=],
3772+
and thus impacted by associated rules in [[css-sizing-3]].
3773+
(<a href="https://github.com/w3c/csswg-drafts/issues/5665#issuecomment-738391191">Issue 5665</a>)
37653774
</ul>
37663775

37673776
<h3 id="changes-20171016">

css-grid-1/Overview.bs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,6 +1305,9 @@ Automatic Minimum Size of Grid Items</h3>
13051305

13061306
Otherwise, the [=automatic minimum size=] is zero, as usual.
13071307

1308+
Note: The [=content-based minimum size=] is a type of [=intrinsic size contribution=],
1309+
and thus the provisions in [[css-sizing-3#intrinsic-contribution]] apply.
1310+
13081311
The <dfn>content-based minimum size</dfn> for a <a>grid item</a> in a given dimension is
13091312
its <a>specified size suggestion</a> if it exists,
13101313
otherwise its <a>transferred size suggestion</a> if that exists,
@@ -4674,6 +4677,17 @@ Changes</h2>
46744677

46754678
This section documents the changes since previous publications.
46764679

4680+
<h3 id="changes-202012">
4681+
Changes since the <a href="https://www.w3.org/TR/2020/CRD-css-grid-1-20201218/">18 December 2020 CR</a></h3>
4682+
4683+
<ul class="non-normative">
4684+
<li id="change-2020-auto-min-contribution">
4685+
Clarified that the [=content-based minimum size=] of a grid item
4686+
is a type of [=intrinsic size contribution=],
4687+
and thus impacted by associated rules in [[CSS-SIZING-3]].
4688+
(<a href="https://github.com/w3c/csswg-drafts/issues/5665#issuecomment-738391191">Issue 5665</a>)
4689+
</ul>
4690+
46774691
<h3 id="changes-202008">
46784692
Changes since the <a href="https://www.w3.org/TR/2020/CR-css-grid-1-20200818/">18 August 2020 CR</a></h3>
46794693

css-grid-2/Overview.bs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,6 +1351,9 @@ Automatic Minimum Size of Grid Items</h3>
13511351

13521352
Otherwise, the [=automatic minimum size=] is zero, as usual.
13531353

1354+
Note: The [=content-based minimum size=] is a type of [=intrinsic size contribution=],
1355+
and thus the provisions in [[css-sizing-3#intrinsic-contribution]] apply.
1356+
13541357
The <dfn>content-based minimum size</dfn> for a <a>grid item</a> in a given dimension is
13551358
its <a>specified size suggestion</a> if it exists,
13561359
otherwise its <a>transferred size suggestion</a> if that exists,
@@ -5310,6 +5313,17 @@ Privacy and Security Considerations {#priv-sec}
53105313
<h2 id="changes">
53115314
Changes</h2>
53125315

5316+
<h3 id="changes-202012">
5317+
Changes since the <a href="https://www.w3.org/TR/2020/CRD-css-grid-2-20201218/">18 December 2020 CR</a></h3>
5318+
5319+
<ul class="non-normative">
5320+
<li id="change-2020-auto-min-contribution">
5321+
Clarified that the [=content-based minimum size=] of a grid item
5322+
is a type of [=intrinsic size contribution=],
5323+
and thus impacted by associated rules in [[CSS-SIZING-3]].
5324+
(<a href="https://github.com/w3c/csswg-drafts/issues/5665#issuecomment-738391191">Issue 5665</a>)
5325+
</ul>
5326+
53135327
<h3 id="changes-202008">
53145328
Changes since the <a href="https://www.w3.org/TR/2020/CR-css-grid-2-20200818/">August 2020 CR</a></h3>
53155329

0 commit comments

Comments
 (0)