ladybird/Tests/LibWeb/Layout/input/block-and-inline/atomic-inline-with-aspect-ratio-2.html
Andreas Kling d37c0a2cab LibWeb: Don't make flex layout responsible for flex container cross size
Although the flex algorithm as specified does say to determine the cross
size of the flex container, this is not how our layout engine works.

The parent formatting context is responsible for sizing its children,
and since that's already happening, we can simply remove the cross
sizing step from FFC.
2024-03-27 16:43:04 +01:00

10 lines
No EOL
135 B
HTML

<!DOCTYPE html><style>
* {
outline: 1px solid black;
}
body {
aspect-ratio: 1;
width: 100px;
display: flex;
}
</style>b