Fix LayoutUnit usage and rounding in RenderBlock and RenderEmbeddedObject
Created attachment 135963 [details] Patch
Comment on attachment 135963 [details] Patch Clearing flags on attachment: 135963 Committed r113471: <http://trac.webkit.org/changeset/113471>
All reviewed patches have been landed. Closing bug.
Comment on attachment 135963 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=135963&action=review > Source/WebCore/rendering/RenderEmbeddedObject.cpp:267 > + IntPoint roundedPoint = roundedIntPoint(pointInContainer); > > if (Scrollbar* horizontalScrollbar = view->horizontalScrollbar()) { > - if (horizontalScrollbar->shouldParticipateInHitTesting() && horizontalScrollbar->frameRect().contains(pointInContainer)) { > + if (horizontalScrollbar->shouldParticipateInHitTesting() && horizontalScrollbar->frameRect().contains(roundedPoint)) { I am curious, why is this rounding necessary?