Summary: | Fix LayoutUnit usage and rounding in RenderBlock and RenderEmbeddedObject | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Emil A Eklund <eae> | ||||
Component: | Layout and Rendering | Assignee: | Emil A Eklund <eae> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | eric, leviw, webkit.review.bot | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 60318 | ||||||
Attachments: |
|
Description
Emil A Eklund
2012-04-05 18:41:53 PDT
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? |