mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Fix incorrect margin collapsing behavior [BFC]
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
This commit is contained in:
committed by
Alexander Kalenik
parent
01bfb5bc81
commit
e2eb8716e5
Notes:
github-actions[bot]
2025-09-08 12:10:16 +00:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/LadybirdBrowser/ladybird/commit/e2eb8716e59 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6114
@@ -2,5 +2,5 @@ Harness status: OK
|
||||
|
||||
Found 1 tests
|
||||
|
||||
1 Fail
|
||||
Fail CSSOM View - 5 - extensions to the Document interface
|
||||
1 Pass
|
||||
Pass CSSOM View - 5 - extensions to the Document interface
|
||||
Reference in New Issue
Block a user