Skip to content

Commit

Permalink
[css-sizing-3] Handle automatic minimum sizes alongside other intrins…
Browse files Browse the repository at this point in the history
…ic sizes in cyclic percentage handling. #2674
  • Loading branch information
fantasai committed Feb 20, 2019
1 parent 92a3d3a commit 534f792
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions css-sizing-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,8 @@ Extrinsic Size Determination</h2>
Sometimes the size of a percentage-sized box’s <a>containing block</a>
depends on the intrinsic size contribution of the box itself,
creating a cyclic dependency.
When calculating the <a>intrinsic size contribution</a> of such a box,
When calculating the <a>intrinsic size contribution</a> of such a box
(including any calculations for a content-based <a>automatic minimum size</a>),
a <dfn>cyclic percentage</dfn>--
that is,
a percentage value that would resolve against a containing block size
Expand Down Expand Up @@ -993,6 +994,10 @@ Extrinsic Size Determination</h2>
The UA may additionally floor this size based on UI considerations,
such as ensuring certain UI elements remain visible
(for example, the dropdown arrow on a <{select}>).
This rule also applies when calculating
a content-based <a>automatic minimum size</a>
or its corresponding size contribution,
yielding a <a>definite</a> “specified size suggestion”.

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

0 comments on commit 534f792

Please sign in to comment.