File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -885,12 +885,16 @@ See <a href="https://www.w3.org/TR/CSS2/visudet.html">CSS2§10</a>.
885
885
886
886
This specification does not define how to determine the sizes of floats.
887
887
Please refer to [[CSS2]] .
888
- However, the [=max-content size =] of a [=replaced element =] with no [=natural size =]
889
- is defined below:
888
+ However, the [=intrinsic sizes =] of [=replaced elements =] without [=natural sizes =]
889
+ are defined below:
890
890
891
891
<dl>
892
- <dt> For [=replaced=] elements with a [=preferred aspect ratio=] :
892
+ <dt> If it has a [=preferred aspect ratio=] :
893
893
<dd>
894
+ For the [=min-content size=] , use zero.
895
+
896
+ For the [=max-content size=] :
897
+
894
898
* If the <a>available space</a> is <a>definite</a>
895
899
in the <a>inline axis</a> ,
896
900
use the <a>stretch fit</a> into that size for the inline size
@@ -917,8 +921,10 @@ is defined below:
917
921
and calculate the other dimension using the aspect ratio.
918
922
<!-- More brand-new behavior, to prevent max-content size from going infinite. -->
919
923
920
- <dt> For [=replaced elements=] without a [=preferred aspect ratio=] :
924
+ <dt> If it has no [=preferred aspect ratio=] :
921
925
<dd>
926
+ For both the [=min-content size=] and [=max-content size=] :
927
+
922
928
* If the box has a <<length>> as its [=computed value|computed=]
923
929
[=minimum size=] ('min-width' /'min-height' ) in that dimension,
924
930
use that size.
You can’t perform that action at this time.
0 commit comments