Bug 126663
Summary: | Subpixel layout: SliderThumbElement value needs flooring. | ||
---|---|---|---|
Product: | WebKit | Reporter: | zalan <zalan> |
Component: | Layout and Rendering | Assignee: | zalan <zalan> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | jonlee, simon.fraser, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 126283 |
zalan
While calculating the thumb value at SliderThumbElement::setPositionFromPoint() as the result of a (touch) event, the subpixel on result is off by one.
position = offset.y() - (renderBox()->height() / 2) - trackBoundingBox.y() - renderBox()->marginBottom();
This is similar to bug 126658
failed case:
fast/forms/range/slider-transformed.html
fast/forms/range/slider-zoomed.html
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
Prefer new behavior.
Radar WebKit Bug Importer
<rdar://problem/15815554>