Fix PlacementAmongFloats to avoid missing some bands (#30280)

PlacementAmongFloats would stop iterating when current_bands would be
empty, even if next_band wasn't at infinity.

Then the BFC root or replaced block was placed after all the floats,
even if it could fit next to some of them.

This patch moves the next_band into current_bands so that the loop
keeps considering bands.
This commit is contained in:
Oriol Brufau 2023-09-01 22:18:19 +02:00 committed by GitHub
parent efa8433548
commit a4fdbc30ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 63 additions and 4 deletions

View file

@ -1,2 +0,0 @@
[c414-flt-fit-001.xht]
expected: FAIL