Skip to content

Commit bdc1f30

Browse files
committed
[css-sizing-4] Define that stretch sizing treats auto margins as 0 (since sizing wins against margins, while alignment loses). #9902
1 parent caa961e commit bdc1f30

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

css-sizing-4/Overview.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,8 +1474,9 @@ Stretch-fit Sizing: filling the containing block</h3>
14741474
Typically produces the same size that would be obtained
14751475
by the [=self-alignment property=] in that axis
14761476
being set to ''justify-self/stretch''
1477-
and all [=sizing properties=] and 'aspect-ratio'
1478-
being set to their initial values.
1477+
all [=sizing properties=] and 'aspect-ratio'
1478+
being set to their initial values,
1479+
and ''margin/auto'' margins treated as zero.
14791480

14801481
Note: In [=multi-line flex container|multi-line=] [=flex layout=],
14811482
the [=stretch-fit size=] resolves against the [=containing block=]

0 commit comments

Comments
 (0)