Bug 126658

Summary: Subpixel layout: RenderSlider's thumb position needs flooring.
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED INVALID    
Severity: Normal CC: jonlee, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 126283    
Attachments:
Description Flags
slider knob position none

zalan
Reported 2014-01-08 13:24:00 PST
LayoutUnit offset = percentageOffset * availableExtent; with the following test case <input type=range value=75 style="-webkit-transform: rotate(30deg)"> produces an off by one result when subpixel is on. failed case: fast/forms/range/input-appearance-range.html
Attachments
slider knob position (193.43 KB, image/jpeg)
2014-01-15 11:50 PST, zalan
no flags
Radar WebKit Bug Importer
Comment 1 2014-01-14 10:23:35 PST
zalan
Comment 2 2014-01-15 11:50:09 PST
Created attachment 221289 [details] slider knob position
zalan
Comment 3 2014-01-15 11:51:19 PST
The new position does not make the slider's knob look less centered. It is just a different position. Prefer subpixel layout. (Can't compare to FF as this is a custom control)
Note You need to log in before you can comment on or make changes to this bug.