File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -409,17 +409,20 @@ Extrinsic Size Determination</h2>
409
409
<h3 id="stretch-fit-sizing">
410
410
Stretch-fit Sizing</h3>
411
411
412
- <p>
413
412
The inner <a>stretch-fit inline size</a> of a box is…
413
+
414
+ <!-- Based on https://lists.w3.org/Archives/Public/www-style/2009Nov/0286.html -->
415
+
414
416
<ul>
415
417
<li>
416
418
If the box is the root or is absolutely-positioned, the inline-size of its containing block, else
417
419
<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>
419
421
where the sizes are inner inline-sizes of the element establishing the box's <a>containing block</a> ,
420
422
and where the first value is used if it is <a>definite</a> and the second value otherwise.
421
423
</ul>
422
- <p>
424
+
425
+
423
426
…less the box's <a>inline-axis</a> margins
424
427
(after any <a href="https://www.w3.org/TR/CSS21/box.html#collapsing-margins">margin collapsing</a> , and treating ''margin/auto'' margins as zero),
425
428
borders, and padding,
You can’t perform that action at this time.
0 commit comments