ladybird/Tests/LibWeb/Layout/input/block-and-inline/negative-margin-with-padding.html
Jelle Raaijmakers 170e599bd9 LibWeb: Always set the Y offset of the current block in BFC
Originally part of a fix in 15103d172c, it
appears that this is no longer necessary and received a better fix in a
more recent commit. Resolves a visual regression with the ACID3 test.
2025-05-16 20:33:27 +02:00

16 lines
200 B
HTML

<!DOCTYPE html>
<style>
body {
border: 10px solid red;
}
#a {
padding-bottom: 150px;
}
#b {
font-size: 5em;
margin: -240px 0 0;
}
</style>
<div id="a"></div>
<div id="b">foo</div>
bar