Bug 47435

Summary: [GTK] Slider padding translate into a larger track rect
Product: WebKit Reporter: Martin Robinson <mrobinson>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Severity: Normal Keywords: Gtk
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Description Flags
Screenshot showing padding issue
Patch for this issue none

Description Martin Robinson 2010-10-08 15:55:31 PDT
When a range widget has padding, the padding is added to the track rect drawing area. For some themes this results in wildy incorrect rendering. See attached render.
Comment 1 Martin Robinson 2010-10-08 15:56:24 PDT
Created attachment 70307 [details]
Screenshot showing padding issue
Comment 2 Martin Robinson 2010-10-08 16:01:36 PDT
Created attachment 70310 [details]
Patch for this issue
Comment 3 Martin Robinson 2010-10-08 16:02:42 PDT
I've uploaded a patch for this issue. The rectangle size is still not entirely correct (we should be getting some padding values from the widget style to inflate the track rect), but with this patch it is much closer.
Comment 4 Martin Robinson 2010-10-09 08:17:33 PDT
Comment on attachment 70310 [details]
Patch for this issue

Clearing flags on attachment: 70310

Committed r69447: <http://trac.webkit.org/changeset/69447>
Comment 5 Martin Robinson 2010-10-09 08:17:37 PDT
All reviewed patches have been landed.  Closing bug.