mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Fix interaction of margins and clearance for PlacementAmongFloats (#30038)
Consumers of PlacementAmongFloats weren't handling margins properly. They were assuming that they would either get a positive adjustment, or zero for no-op. However, just like the regular clearance triggered by 'clear', the clearance added onto blocks that establish an independent FC can be zero or negative, and the effect is different than having no clearance.
This commit is contained in:
parent
00241e84bc
commit
9e4377af47
5 changed files with 117 additions and 150 deletions
|
@ -1,2 +0,0 @@
|
|||
[new-fc-separates-from-float-2.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[new-fc-separates-from-float-3.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[new-fc-separates-from-float.html]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue