Skip to content

Commit d0b1d6e

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

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

css-position-3/Overview.bs

Lines changed: 2 additions & 0 deletions
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)