mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-04-21 03:10:26 +00:00
This change removes premature reset of `block_container_y_position_update_callback`. Also makes callback private in `BlockMarginState`, because resetting it independently of currently accumulated margins is incorrect. Lots of test expectations are updated, but there is no visual difference. Fixes https://github.com/LadybirdBrowser/ladybird/issues/6074
14 lines
No EOL
235 B
HTML
14 lines
No EOL
235 B
HTML
<!DOCTYPE html><style>
|
|
body {
|
|
margin: 0;
|
|
}
|
|
.bump {
|
|
margin-top: 100px;
|
|
}
|
|
.content {
|
|
background: green;
|
|
width: 100px;
|
|
height: 100px;
|
|
margin-top: 200px;
|
|
}
|
|
</style><div class="bump"></div><div class="content"></div> |