Layout 2020: Properly calculate clearance

calculate_clearance() was not taking into account that adding clearance
prevents top margin from collapsing with earlier margins.
This commit is contained in:
Oriol Brufau 2023-06-23 19:56:55 +02:00
parent 47faf83a1e
commit 95832c999b
6 changed files with 66 additions and 35 deletions

View file

@ -1,2 +0,0 @@
[clear-on-child-with-margins.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clear-on-parent-with-margins.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[negative-clearance-after-bottom-margin.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[nested-clearance-new-formatting-context.html]
expected: FAIL