Skip to content

Commit c9e2334

Browse files
committed
[css-sizing-4] Remove cyclic a-r section. It's old text, and somewhat confused, from before we laid out the ordering of size transfers more explicitly. (It seems to be assuming that we apply min/max to an axis's size *then* transfer it, which would indeed by cyclic, but that's not how this works.)
1 parent 954102c commit c9e2334

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

css-sizing-4/Overview.bs

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -447,40 +447,6 @@ Min/Max Size Transfers</h3>
447447
to the width of the word “content”.
448448
</div>
449449

450-
<h4 id='aspect-ratio-cyclic'>
451-
Cyclic Aspect-Ratio Calculations</h4>
452-
453-
On non-replaced elements with an ''width/auto'' <a>inline size</a>
454-
(or any replaced element whose intrinsic <a>block size</a>
455-
depends on its <a>inline size</a>),
456-
the intrinsic <a>block sizes</a> of the box
457-
are assumed to be zero
458-
when applying 'min-block-size' to the aspect ratio calculations,
459-
and assumed to be infinity
460-
when applying 'max-block-size' to the aspect ratio calculations.
461-
These limits take effect as usual for non-replaced elements
462-
once the <a>inline size</a> is resolved.
463-
464-
<div class="example">
465-
For example, given a (<a>horizontal writing mode</a>) element with
466-
467-
<pre highlight=css>
468-
width: auto;
469-
min-height: min-content;
470-
aspect-ratio: 1/1;
471-
</pre>
472-
473-
using the aspect ratio to resolve the width
474-
would require knowing the min-content height of the element.
475-
476-
Since for a non-replaced element,
477-
this value is not known until the width is resolved,
478-
we assume the 'min-height' value is zero
479-
while resolving the width.
480-
481-
Then, once the width is known, we resolve the height,
482-
taking into account the ''height/min-content'' minimum.
483-
</div>
484450

485451
<!--
486452
████ ██ ██ ████████ ████████ ████ ██ ██ ██████ ████ ██████

0 commit comments

Comments
 (0)