Bug 137729

Summary: Subpixel layout: pixelSnappedClientWidth/Height() and pixelSnappedOffsetWidth/Height() should use snapSizeToDevicePixel.
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: simon.fraser, zalan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

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)