Skip to content

Commit 0e99b14

Browse files
committed
[css-flexbox] Add clarifying note about stretch inheriting definite size from its container.
1 parent c9f26fe commit 0e99b14

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

css-flexbox/Overview.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3063,9 +3063,11 @@ <h2 id=layout-algorithm><span class=secno>9. </span> Flex Layout Algorithm</h2>
30633063
href="#flex-container"><i>flex container</i></a> has a definite cross
30643064
size, any <a href="#flex-item"><i>flex items</i></a> with ‘<code
30653065
class=css>align-self: stretch</code>’ must also be treated as having a
3066-
definite cross size. An <dfn id=indefinite-size
3067-
title="indefinite|indefinite size">indefinite size</dfn> is one that is
3068-
not <a href="#definite-size"><i>definite</i></a>.
3066+
definite cross size (since its size is determined from the size of the <a
3067+
href="#flex-container"><i>flex container</i></a>). An <dfn
3068+
id=indefinite-size title="indefinite|indefinite size">indefinite
3069+
size</dfn> is one that is not <a
3070+
href="#definite-size"><i>definite</i></a>.
30693071

30703072
<p> The following sections define the algorithm for laying out a flex
30713073
container and its contents.

css-flexbox/Overview.src.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2324,7 +2324,8 @@ <h2 id='layout-algorithm'>
23242324
a size of the initial containing block,
23252325
or a <var>&lt;percentage></var> that is resolved against a definite size.
23262326
If a <i>single-line</i> <i>flex container</i> has a definite cross size,
2327-
any <i>flex items</i> with ''align-self: stretch'' must also be treated as having a definite cross size.
2327+
any <i>flex items</i> with ''align-self: stretch'' must also be treated as having a definite cross size
2328+
(since its size is determined from the size of the <i>flex container</i>).
23282329
An <dfn title="indefinite|indefinite size">indefinite size</dfn> is one that is not <i>definite</i>.
23292330

23302331
<p>

css-flexbox/issues-cr-2012.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ From: Tab Aktins
156156
Comment: http://lists.w3.org/Archives/Public/www-style/2013May/0342.html
157157
Proposal: http://lists.w3.org/Archives/Public/www-style/2013May/0511.html
158158
Response: http://lists.w3.org/Archives/Public/www-style/2013Jul/0463.html
159-
Open
159+
Closed: Accepted
160160
----
161161
Issue 21.
162162
Summary: Clarify interaction of table fixup and flex itemizing

0 commit comments

Comments
 (0)