mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00

Fixes a bug that if box creates new formatting context then all already collapsed margins are ignored and only margin_top is used.
15 lines
No EOL
321 B
HTML
15 lines
No EOL
321 B
HTML
<!doctype html><style>
|
|
.upper {
|
|
margin-bottom: 50px;
|
|
height: 20px;
|
|
background: lime;
|
|
}
|
|
.bfc {
|
|
display: flow-root;
|
|
}
|
|
.inner {
|
|
width: 20px;
|
|
height: 20px;
|
|
background: black;
|
|
}
|
|
</style><div class="upper"></div><div class=bfc><div class="inner"> |