mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
PlacementAmongFloats was assuming that there would always be a FloatBand at a position smaller than or equal to the given ceiling, but this was not the case for negative ceilings. The reason is that the FloatContext initialized the FloatBandTree with a band at 0, and another at +∞. This patch changes the initial bands to −∞ and +∞. This seems more consistent and matches the expectation of PlacementAmongFloats. |
||
---|---|---|
.. | ||
construct.rs | ||
float.rs | ||
inline.rs | ||
mod.rs | ||
root.rs |