While the PlacedFloatsTree uses LayoutUnits, when the intervals are added for a floating object, the endpoints of the interval are floored before being added to the tree. This is the way to not lose the fix from Bug 112744 when a float has a fractional height that is an exact multiple of the line height. There really should be a better solution that doesn't require this truncation.
Created attachment 464162 [details] WIP patch
Created attachment 464172 [details] WIP patch