mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-04-21 03:10:26 +00: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
No EOL
511 B
HTML
22 lines
No EOL
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> |