Summary: | Margin tiles are not created for top and left sides when there is a < 1.0 scale factor | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Beth Dakin <bdakin> | ||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | bdakin, simon.fraser, thorton | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Beth Dakin
2014-02-14 14:01:03 PST
Created attachment 224252 [details]
Patch
Comment on attachment 224252 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=224252&action=review > Source/WebCore/platform/graphics/ca/mac/TileController.mm:474 > + topLeft.setX(floor((float)clampedRect.x() / leftMarginWidth())); floorf? > Source/WebCore/platform/graphics/ca/mac/TileController.mm:479 > + topLeft.setY(floor((float)clampedRect.y() / topMarginHeight())); Ditto. |