You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To find the inner <i>fill-available measure</i> of a box:
885
-
886
-
<ol>
887
-
<li>
888
-
If the measure of its containing block is <i>definite</i>,
889
-
use that measure.
890
-
891
-
<p>
892
-
Otherwise, use the inner <i>fill-available measure</i> of the element establishing its containing block.
893
-
894
-
<li>
895
-
If the computed 'max-measure' of the element establishing its containing block if that measure is <i>definite</i>,
896
-
and less than the measure found in the previous step,
897
-
use the computed 'max-measure' instead.
898
-
899
-
<li>
900
-
If the computed 'min-measure' of the element establishing its containing block if that measure is <i>definite</i>,
901
-
and greater than the measure found in the previous step,
902
-
use the computed 'min-measure' instead.
903
-
904
-
<li>
905
-
Subtract the box's inline-axis margins (after <a href="http://www.w3.org/TR/CSS21/box.html#collapsing-margins">margin collapsing</a>), borders, and padding from the measure found in the previous step.
906
-
</ol>
907
-
908
-
<hr>
909
-
910
-
<p>
911
-
The inner <i>fill-available measure</i> of a box is either
912
-
the measure of its containing block, if that is <i>definite</i>,
913
-
else the inner <i>fill-available measure</i> of the element establishing its containing block;
914
-
less the box's inline-axis margins (after <a href="http://www.w3.org/TR/CSS21/box.html#collapsing-margins">margin collapsing</a>), borders, and padding.
915
-
A containing block's size is <i>definite</i> if is established by an element
916
-
that is not inline and
917
-
whose computed measure, min-measure, and max-measure are <i>definite</i> (or, in the case of <i>max-measure</i>, ''none'').
918
-
-->
880
+
collapsing</a>, and treating ‘<codeclass=css>auto</code>’ margins as
881
+
zero), borders, and padding.
919
882
920
883
<p> The <ahref="#fill-available-extent"><i>fill-available extent</i></a>
921
884
of a box is defined analogously, but in the other dimension.
Copy file name to clipboardExpand all lines: css3-sizing/Overview.src.html
+3-40Lines changed: 3 additions & 40 deletions
Original file line number
Diff line number
Diff line change
@@ -607,47 +607,10 @@ <h2 id='extrinsic-sizing'>
607
607
and where the first value is used if it is <i>definite</i> and the second value otherwise.
608
608
</ul>
609
609
<p>
610
-
…less the box's inline-axis margins (after <ahref="http://www.w3.org/TR/CSS21/box.html#collapsing-margins">margin collapsing</a>), borders, and padding.
610
+
…less the box's inline-axis margins
611
+
(after any <ahref="http://www.w3.org/TR/CSS21/box.html#collapsing-margins">margin collapsing</a>, and treating ''auto'' margins as zero),
612
+
borders, and padding.
611
613
612
-
<!--
613
-
<hr>
614
-
615
-
<p>
616
-
To find the inner <i>fill-available measure</i> of a box:
617
-
618
-
<ol>
619
-
<li>
620
-
If the measure of its containing block is <i>definite</i>,
621
-
use that measure.
622
-
623
-
<p>
624
-
Otherwise, use the inner <i>fill-available measure</i> of the element establishing its containing block.
625
-
626
-
<li>
627
-
If the computed 'max-measure' of the element establishing its containing block if that measure is <i>definite</i>,
628
-
and less than the measure found in the previous step,
629
-
use the computed 'max-measure' instead.
630
-
631
-
<li>
632
-
If the computed 'min-measure' of the element establishing its containing block if that measure is <i>definite</i>,
633
-
and greater than the measure found in the previous step,
634
-
use the computed 'min-measure' instead.
635
-
636
-
<li>
637
-
Subtract the box's inline-axis margins (after <a href="http://www.w3.org/TR/CSS21/box.html#collapsing-margins">margin collapsing</a>), borders, and padding from the measure found in the previous step.
638
-
</ol>
639
-
640
-
<hr>
641
-
642
-
<p>
643
-
The inner <i>fill-available measure</i> of a box is either
644
-
the measure of its containing block, if that is <i>definite</i>,
645
-
else the inner <i>fill-available measure</i> of the element establishing its containing block;
646
-
less the box's inline-axis margins (after <a href="http://www.w3.org/TR/CSS21/box.html#collapsing-margins">margin collapsing</a>), borders, and padding.
647
-
A containing block's size is <i>definite</i> if is established by an element
648
-
that is not inline and
649
-
whose computed measure, min-measure, and max-measure are <i>definite</i> (or, in the case of <i>max-measure</i>, ''none'').
650
-
-->
651
614
<p>
652
615
The <i>fill-available extent</i> of a box is defined analogously,
0 commit comments