Skip to content

Commit 2cbe6b3

Browse files
committed
[css-flexbox-1] Mention aspect ratio as a case where the main size depends on the cross size. #6109
1 parent a5044be commit 2cbe6b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

css-flexbox-1/Overview.bs

+2-1
Original file line numberDiff line numberDiff line change
@@ -2588,7 +2588,8 @@ Line Length Determination</h3>
25882588
using its used <a>flex basis</a> in place of its <a>main size</a>,
25892589
treating a value of ''content'' as ''width/max-content''.
25902590
If a <a>cross size</a> is needed to determine the <a>main size</a>
2591-
(e.g. when the <a>flex item</a>’s <a>main size</a> is in its block axis)
2591+
(e.g. when the <a>flex item</a>’s <a>main size</a> is in its block axis,
2592+
or when it has a [=preferred aspect ratio=])
25922593
and the <a>flex item</a>’s cross size is ''auto'' and not <a>definite</a>,
25932594
in this calculation use ''width/fit-content'' as the <a>flex item</a>’s <a>cross size</a>.
25942595
The <a>flex base size</a> is the item's resulting <a>main size</a>.

0 commit comments

Comments
 (0)