Skip to content

Commit afbc29e

Browse files
committed
[css-grid] Clarify that <<flex>> cannot be represented in calc() expressions. #955
1 parent e18d702 commit afbc29e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

css-grid/Overview.bs

+2
Original file line numberDiff line numberDiff line change
@@ -1675,6 +1675,8 @@ Flexible Lengths: the ''fr'' unit</h4>
16751675
A <dfn export>flexible length</dfn> or <dfn><<flex>></dfn> is a dimension with the ''fr'' unit,
16761676
which represents a fraction of the <a>free space</a> in the <a>grid container</a>.
16771677

1678+
Note: Unlike <<percentage>> values, <<flex>> values cannot be represented in or combined with other unit types in ''calc()'' expressions.
1679+
16781680
The distribution of <a>free space</a> occurs after all non-flexible <a>track sizing functions</a> have reached their maximum.
16791681
The total size of such rows or columns is subtracted from the available space, yielding the <a>free space</a>,
16801682
which is then divided among the flex-sized rows and columns in proportion to their <a>flex factor</a>.

0 commit comments

Comments
 (0)