mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 18:02:20 +00:00
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. :^)
8 lines
175 B
HTML
8 lines
175 B
HTML
<!doctype html><style>
|
|
* { outline: 1px solid black; }
|
|
body {
|
|
position: absolute;
|
|
min-height: 50%;
|
|
display: flex;
|
|
}
|
|
</style><body><div>Sup
|