Skip to content

Commit e1dc34d

Browse files
committed
[css-flexbox-1] Use term preferred aspect ratio. #4962
1 parent 6768582 commit e1dc34d

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

css-flexbox-1/Overview.bs

+13-9
Original file line numberDiff line numberDiff line change
@@ -973,10 +973,10 @@ Automatic Minimum Size of Flex Items</h3>
973973

974974
In general, the <a>content-based minimum size</a> of a <a>flex item</a>
975975
is the smaller of its <a>content size suggestion</a> and its <a>specified size suggestion</a>.
976-
However, if the box has an aspect ratio and no <a>specified size suggestion</a>,
976+
However, if the box has an [=preferred aspect ratio|aspect ratio=] and no <a>specified size suggestion</a>,
977977
its <a>content-based minimum size</a>
978978
is the smaller of its <a>content size suggestion</a> and its <a>transferred size suggestion</a>.
979-
If the box has neither a <a>specified size suggestion</a> nor an aspect ratio,
979+
If the box has neither a <a>specified size suggestion</a> nor an [=preferred aspect ratio|aspect ratio=],
980980
its <a>content-based minimum size</a> is the <a>content size suggestion</a>.
981981

982982
The <a>content size suggestion</a>, <a>specified size suggestion</a>, and <a>transferred size suggestion</a>
@@ -994,7 +994,7 @@ Automatic Minimum Size of Flex Items</h3>
994994

995995
<dt><dfn>transferred size suggestion</dfn>
996996
<dd>
997-
If the item has an intrinsic aspect ratio
997+
If the item has a [=preferred aspect ratio=]
998998
and its computed <a>cross size property</a> is <a>definite</a>,
999999
then the <a>transferred size suggestion</a> is that size
10001000
(clamped by its <a lt="min cross size property">min and max cross size properties</a> if they are <a>definite</a>),
@@ -1004,7 +1004,8 @@ Automatic Minimum Size of Flex Items</h3>
10041004
<dt><dfn>content size suggestion</dfn>
10051005
<dd>
10061006
The <a>content size suggestion</a> is the <a>min-content size</a> in the <a>main axis</a>,
1007-
clamped, if it has an aspect ratio, by any <a>definite</a> <a lt="min cross size property">min and max cross size properties</a> converted through the aspect ratio,
1007+
clamped, if it has a [=preferred aspect ratio=],
1008+
by any <a>definite</a> <a lt="min cross size property">min and max cross size properties</a> converted through the aspect ratio,
10081009
and then further clamped by the <a>max main size property</a> if that is <a>definite</a>.
10091010
</dl>
10101011

@@ -1739,7 +1740,7 @@ The 'flex' Shorthand</h3>
17391740
Indicates an <a href="#algo-main-item">automatic size</a>
17401741
based on the <a>flex item</a>’s content.
17411742
(It is typically equivalent to the <a>max-content size</a>,
1742-
but with adjustments to handle aspect ratios,
1743+
but with adjustments to handle [=preferred aspect ratios=],
17431744
intrinsic sizing constraints,
17441745
and orthogonal flows;
17451746
see <a href="#algo-main-item">details</a> in [[#layout-algorithm]].)
@@ -2550,13 +2551,13 @@ Line Length Determination</h3>
25502551
<li>
25512552
If the flex item has ...
25522553
<ul>
2553-
<li>an intrinsic aspect ratio,
2554+
<li>a [=preferred aspect ratio=],
25542555
<li>a used <a>flex basis</a> of ''content'', and
25552556
<li>a <a>definite</a> <a>cross size</a>,
25562557
</ul>
25572558
then the <a>flex base size</a> is calculated from
25582559
its <a lt="used value">used</a> <a>cross size</a>
2559-
and the <a>flex item</a>’s intrinsic aspect ratio.
2560+
and the <a>flex item</a>’s aspect ratio.
25602561

25612562
<li>
25622563
If the used <a>flex basis</a> is ''content'' or depends on its <a>available space</a>,
@@ -2755,7 +2756,7 @@ Cross Size Determination</h3>
27552756

27562757
<p class='note'>
27572758
Note that this step does not affect the <a>main size</a> of the flex item,
2758-
even if it has an intrinsic aspect ratio.
2759+
even if it has a [=preferred aspect ratio=].
27592760
</ol>
27602761

27612762
<h3 id='main-alignment'>
@@ -3699,9 +3700,12 @@ Boris Zbarsky.
36993700
Changes since the <a href="https://www.w3.org/TR/2018/CR-css-flexbox-1-20181119/">19 November 2018 CR</a></h3>
37003701

37013702
<ul>
3702-
<li id="change-2019-bracket-range-notation">
3703+
<li id="change-2018-bracket-range-notation">
37033704
Changed syntax to use <a>CSS bracketed range notation</a> to reflect the prose restrictions on negative values.
37043705

3706+
<li id="change-2018-preferred-aspect-ratio">
3707+
Update aspect ratio terminology to use the term [=preferred aspect ratio=].
3708+
37053709
<li id="change-2018-used-cross-size">
37063710
Clarified that the [=flex base size=] calculations
37073711
rely on the <em>used</em> [=cross size=].

0 commit comments

Comments
 (0)