Skip to content

Commit

Permalink
[css-sizing-4] Define effect of aspect-ratio on margin collapsing. #5328
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasai committed Oct 5, 2020
1 parent b5a3659 commit 90e6353
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions css-sizing-4/Overview.bs
Expand Up @@ -216,6 +216,10 @@ Intrinsic Aspect Ratios: the 'aspect-ratio' property</h3>
at least one of these sizes must be ''width/auto'' (/''flex-basis/content'')
for the <a>preferred aspect ratio</a> to have an impact on sizing.

For the purpose of margin collapsing ([[css2/box#collapsing-margins]]),
if the [=block axis=] is the [=ratio-dependent axis=],
it is not considered to have a [=computed value|computed=] 'block-size' of ''height/auto''.

If a replaced element's only [=intrinsic dimension=]
is an intrinsic width or an intrinsic height,
giving it a [=preferred aspect ratio=]
Expand Down

0 comments on commit 90e6353

Please sign in to comment.