ladybird/Tests/LibWeb/Layout/input/abspos-non-bfc-root-with-min-height-constraint.html
Andreas Kling ad9d9bb684 LibWeb: Ensure size constraints apply to non-BFC-root abspos boxes
BFC roots behave differently in that their height is computed twice,
before and after inside layout, since automatic height depends on the
results of inside layout. Other formatting contexts only require the
"before" pass, and so we can treat their content sizes as definite
before proceeding with inside layout.

This makes https://play.tailwind.com/ look beautiful. :^)
2025-01-30 19:31:07 +01:00

8 lines
175 B
HTML

<!doctype html><style>
* { outline: 1px solid black; }
body {
position: absolute;
min-height: 50%;
display: flex;
}
</style><body><div>Sup