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 @@ -909,19 +909,19 @@ Absolute Positioning Layout Model</h2>
909
909
<h3 id="abspos-auto-size">
910
910
Automatic Sizes of Absolutely-Positioned Boxes</h3>
911
911
912
- The [=automatic size=] of an [=absolutely positioned box=] is resolved against its [=inset-modified containing block=] as follows
913
- (treating ''margin/auto'' [=margins =] as zero) :
912
+ The [=automatic size=] of an [=absolutely positioned box=]
913
+ is resolved against its [=inset-modified containing block =] as follows :
914
914
915
915
<dl class=switch>
916
916
: If its [=self-alignment property=] in the relevant axis is ''align-self/stretch''
917
+ and neither of its [=inset properties=] nor [=margins=] in that axis are ''margin/auto''
917
918
: Or if it is ''align-self/normal''
918
919
and the box is [=non-replaced=] ,
919
920
not a [=table wrapper box=] ,
920
921
and has no ''inset/auto'' [=inset property|inset=] in the relevant axis
921
922
::
922
923
Its [=automatic size=] is its [=stretch-fit size=] .
923
924
924
-
925
925
: Otherwise
926
926
::
927
927
Its [=automatic size=] is its [=fit-content size=] .
@@ -937,6 +937,9 @@ Automatic Sizes of Absolutely-Positioned Boxes</h3>
937
937
An [=automatic size=] in the [=ratio-determining axis=]
938
938
is determined as above.
939
939
940
+ For the purpose of computing these sizes,
941
+ any ''margin/auto'' [=margins=] are treated as zero.
942
+
940
943
The [=automatic minimum size=] of an absolutely-positioned box is always zero.
941
944
942
945
Note: To the extent that form controls can be resized
You can’t perform that action at this time.
0 commit comments