Skip to content

Commit cf2d1b4

Browse files
committed
[css-sizing-3] Fix error in algo; link to original email message defining algo https://lists.w3.org/Archives/Public/www-style/2009Nov/0286.html
1 parent d09288f commit cf2d1b4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

css-sizing-3/Overview.bs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -409,17 +409,20 @@ Extrinsic Size Determination</h2>
409409
<h3 id="stretch-fit-sizing">
410410
Stretch-fit Sizing</h3>
411411

412-
<p>
413412
The inner <a>stretch-fit inline size</a> of a box is&hellip;
413+
414+
<!-- Based on https://lists.w3.org/Archives/Public/www-style/2009Nov/0286.html -->
415+
414416
<ul>
415417
<li>
416418
If the box is the root or is absolutely-positioned, the inline-size of its containing block, else
417419
<li>
418-
<code>max(<a>min-content inline size</a>|0, min(<a>max-content inline size</a>|infinity, <a>inline size</a>|<a>stretch-fit inline size</a>))</code>
420+
<code>max(<a>min inline size</a>|0, min(<a>max inline size</a>|infinity, <a>inline size</a>|<a>stretch-fit inline size</a>))</code>
419421
where the sizes are inner inline-sizes of the element establishing the box's <a>containing block</a>,
420422
and where the first value is used if it is <a>definite</a> and the second value otherwise.
421423
</ul>
422-
<p>
424+
425+
423426
&hellip;less the box's <a>inline-axis</a> margins
424427
(after any <a href="https://www.w3.org/TR/CSS21/box.html#collapsing-margins">margin collapsing</a>, and treating ''margin/auto'' margins as zero),
425428
borders, and padding,

0 commit comments

Comments
 (0)