Skip to content

Commit 90e6353

Browse files
committed
[css-sizing-4] Define effect of aspect-ratio on margin collapsing. w3c#5328
1 parent b5a3659 commit 90e6353

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

css-sizing-4/Overview.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,10 @@ Intrinsic Aspect Ratios: the 'aspect-ratio' property</h3>
216216
at least one of these sizes must be ''width/auto'' (/''flex-basis/content'')
217217
for the <a>preferred aspect ratio</a> to have an impact on sizing.
218218

219+
For the purpose of margin collapsing ([[css2/box#collapsing-margins]]),
220+
if the [=block axis=] is the [=ratio-dependent axis=],
221+
it is not considered to have a [=computed value|computed=] 'block-size' of ''height/auto''.
222+
219223
If a replaced element's only [=intrinsic dimension=]
220224
is an intrinsic width or an intrinsic height,
221225
giving it a [=preferred aspect ratio=]

0 commit comments

Comments
 (0)