Skip to content

Commit 534f792

Browse files
committed
[css-sizing-3] Handle automatic minimum sizes alongside other intrinsic sizes in cyclic percentage handling. w3c#2674
1 parent 92a3d3a commit 534f792

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

css-sizing-3/Overview.bs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,8 @@ Extrinsic Size Determination</h2>
948948
Sometimes the size of a percentage-sized box’s <a>containing block</a>
949949
depends on the intrinsic size contribution of the box itself,
950950
creating a cyclic dependency.
951-
When calculating the <a>intrinsic size contribution</a> of such a box,
951+
When calculating the <a>intrinsic size contribution</a> of such a box
952+
(including any calculations for a content-based <a>automatic minimum size</a>),
952953
a <dfn>cyclic percentage</dfn>--
953954
that is,
954955
a percentage value that would resolve against a containing block size
@@ -993,6 +994,10 @@ Extrinsic Size Determination</h2>
993994
The UA may additionally floor this size based on UI considerations,
994995
such as ensuring certain UI elements remain visible
995996
(for example, the dropdown arrow on a <{select}>).
997+
This rule also applies when calculating
998+
a content-based <a>automatic minimum size</a>
999+
or its corresponding size contribution,
1000+
yielding a <a>definite</a> “specified size suggestion”.
9961001

9971002
<div class=example>
9981003
For example,
@@ -1221,7 +1226,8 @@ Changes</h2>
12211226
<li>More rigorously specified handling of <a>cyclic percentages</a>.
12221227
(<a href="https://github.com/w3c/csswg-drafts/issues/1132">#1132</a>,
12231228
<a href="https://github.com/w3c/csswg-drafts/issues/2384">#2384</a>,
1224-
<a href="https://github.com/w3c/csswg-drafts/issues/2297">#2297</a>)
1229+
<a href="https://github.com/w3c/csswg-drafts/issues/2297">#2297</a>,
1230+
<a href="https://github.com/w3c/csswg-drafts/issues/2674">#2674</a>)
12251231
<li>Changed the ''*-content'' values applied to the bock axis
12261232
to not compute to the property’s initial value,
12271233
but to rather “behave as” the property’s initial value.

0 commit comments

Comments
 (0)