Bug 137729
| Summary: | Subpixel layout: pixelSnappedClientWidth/Height() and pixelSnappedOffsetWidth/Height() should use snapSizeToDevicePixel. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | alan <zalan> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | simon.fraser, zalan |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
alan
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)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |