ladybird/Tests/LibWeb/Layout/input/block-and-inline/clear-both-without-introducing-clearance.html
Aliaksandr Kalenik 7cc20f4cb5 LibWeb: Reset margin collapsing state only if box indeed add clearance
This fixes the issue when margin collapsing state was always reset if
a box has clear property not equal to none even if it does not actually
introduce clearance.
2023-05-26 18:11:35 +02:00

8 lines
No EOL
184 B
HTML

<!doctype html><style>
.upper {
margin-bottom: 75px;
}
.mystery {
clear: both;
}
</style><body><div class="upper">upper</div><div class="mystery"></div><div class="lower">lower