Patch the floatBottom function and its friends. Rename them and consolidate them to be block-flow-aware.
Created attachment 69526 [details] Patch
Comment on attachment 69526 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=69526&action=review > WebCore/rendering/RenderBlock.cpp:3296 > -int > -RenderBlock::floatBottom() const > +int RenderBlock::lowestFloatLogicalBottom(FloatingObject::Type floatType) const Finally! > WebCore/rendering/RenderBlock.cpp:3304 > + if (r->type() & floatType) Kind of ugly. I’d like at least to see a comment about the definition of the FloatingObject::Type enum saying that it’s a bitfield.
(In reply to comment #2) > I’d like at least to see a comment about the definition of the FloatingObject::Type enum saying that it’s a bitfield. s/about/above/
Fixed in r68957.