mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
FFC expects parent formatting context to mark size as definite if that's the case, because otherwise it cannot figure cross line size correctly. Fixes incorrect alignment when FFC is nested in GFC. Progress on https://web.telegram.org/a/ layout.
22 lines
511 B
HTML
22 lines
511 B
HTML
<!DOCTYPE html><style>
|
|
html,body {
|
|
background-color: #99ba92;
|
|
height: 100%;
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
#Main {
|
|
height: 100%;
|
|
display: grid;
|
|
grid-template-rows: 100%;
|
|
}
|
|
#MiddleColumn {
|
|
display: flex;
|
|
background-color: mediumslateblue;
|
|
}
|
|
.MiddleHeader {
|
|
width: 100px;
|
|
height: 100px;
|
|
background: pink;
|
|
}
|
|
</style><div id="Main"><div id="MiddleColumn"><div class="MiddleHeader"></div></div> |