Skip to content

Commit d0b1d6e

Browse files
committed
[css-position-3] Specify that auto margins are treated as zero for calculating static position. #665
1 parent 6ee3484 commit d0b1d6e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

css-position-3/Overview.bs

+2
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,8 @@ Resolving Automatic Insets</h4>
757757
is the [=initial containing block=] instead of the [=viewport=],
758758
and all [=scroll containers=] should be assumed
759759
to be scrolled to their [=initial scroll position=].
760+
Additionally, all ''margin/auto'' margins on the box itself
761+
are treated as zero.
760762

761763
<h4 id="abspos-breaking" oldids="breaking">
762764
Fragmenting Absolutely-positioned Elements</h4>

0 commit comments

Comments
 (0)