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:
Oriol Brufau 2023-07-31 23:07:24 +02:00 committed by GitHub
parent 00241e84bc
commit 9e4377af47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 117 additions and 150 deletions

View file

@ -1,2 +0,0 @@
[new-fc-separates-from-float-2.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[new-fc-separates-from-float-3.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[new-fc-separates-from-float.html]
expected: FAIL