WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
47836
[GTK] Move input type=range rendering to RenderThemeGtk
https://bugs.webkit.org/show_bug.cgi?id=47836
Summary
[GTK] Move input type=range rendering to RenderThemeGtk
Martin Robinson
Reported
2010-10-18 10:46:11 PDT
This will be the first in a series of patches which move support for rendering widgets out of gtk2drawing.c and into RenderThemeGtk.
Attachments
Patch for this issue
(31.86 KB, patch)
2010-10-18 11:00 PDT
,
Martin Robinson
no flags
Details
Formatted Diff
Diff
Patch fixing several issues and updated to ToT
(32.81 KB, patch)
2010-10-27 17:00 PDT
,
Martin Robinson
gustavo
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Martin Robinson
Comment 1
2010-10-18 11:00:18 PDT
Created
attachment 71059
[details]
Patch for this issue
Martin Robinson
Comment 2
2010-10-27 17:00:12 PDT
Created
attachment 72116
[details]
Patch fixing several issues and updated to ToT
Gustavo Noronha (kov)
Comment 3
2010-12-06 05:17:31 PST
Comment on
attachment 72116
[details]
Patch fixing several issues and updated to ToT View in context:
https://bugs.webkit.org/attachment.cgi?id=72116&action=review
> WebCore/platform/gtk/RenderThemeGtk.cpp:548 > + shrink.setWidth(gtk_widget_get_style(widget)->ythickness);
Looks like we want xthickness here.
> WebCore/platform/gtk/RenderThemeGtk.cpp:618 > + GtkWidget* widget = part == SliderThumbHorizontalPart ? gtkHScale() : gtkVScale(); > + int length = 0, width = 0; > + gtk_widget_style_get(widget, > + "slider_length", &length, > + "slider_width", &width, > + NULL); > + o->style()->setWidth(Length(length, Fixed)); > + o->style()->setHeight(Length(width, Fixed));
This is very unintuitive. Is really height? Is it always height, or just when it's an horizontal slider? Looking at GTK+'s code, it looks like width is height when horizontal and width for real when vertical, and WebCore's style seems to be saner, and always treat width as width, so I think this is wrong. r=me with those two fixed =)
Eric Seidel (no email)
Comment 4
2010-12-14 15:14:36 PST
Attachment 72116
[details]
was posted by a committer and has review+, assigning to Martin Robinson for commit.
Martin Robinson
Comment 5
2010-12-15 11:19:20 PST
Committed
r74129
: <
http://trac.webkit.org/changeset/74129
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug