Bug 137729 - Subpixel layout: pixelSnappedClientWidth/Height() and pixelSnappedOffsetWidth/Height() should use snapSizeToDevicePixel.
Summary: Subpixel layout: pixelSnappedClientWidth/Height() and pixelSnappedOffsetWidth...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-14 19:48 PDT by zalan
Modified: 2014-10-14 19:48 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zalan 2014-10-14 19:48:00 PDT
instead of just rounding the width/height values.

snapSizeToDevicePixel() requires absolute coordinates, while RenderBox has relative coordinates only (absolute coordinates are computed at painting time)