Title: [196914] releases/WebKitGTK/webkit-2.10/Source/WebCore
- Revision
- 196914
- Author
- carlo...@webkit.org
- Date
- 2016-02-22 01:19:01 -0800 (Mon, 22 Feb 2016)
Log Message
Merge r196172 - [GTK] Scrollbars incorrectly rendered with older versions of GTK+
https://bugs.webkit.org/show_bug.cgi?id=153861
Reviewed by Michael Catanzaro.
The theme doesn't really know it's a scrollbar. Older versions of
GTK+ require to explicitly add the scrollbar style class to the
child GtkStyleContext.
* platform/gtk/ScrollbarThemeGtk.cpp:
(WebCore::createChildStyleContext):
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.10/Source/WebCore/ChangeLog (196913 => 196914)
--- releases/WebKitGTK/webkit-2.10/Source/WebCore/ChangeLog 2016-02-22 09:18:01 UTC (rev 196913)
+++ releases/WebKitGTK/webkit-2.10/Source/WebCore/ChangeLog 2016-02-22 09:19:01 UTC (rev 196914)
@@ -1,5 +1,19 @@
2016-02-05 Carlos Garcia Campos <cgar...@igalia.com>
+ [GTK] Scrollbars incorrectly rendered with older versions of GTK+
+ https://bugs.webkit.org/show_bug.cgi?id=153861
+
+ Reviewed by Michael Catanzaro.
+
+ The theme doesn't really know it's a scrollbar. Older versions of
+ GTK+ require to explicitly add the scrollbar style class to the
+ child GtkStyleContext.
+
+ * platform/gtk/ScrollbarThemeGtk.cpp:
+ (WebCore::createChildStyleContext):
+
+2016-02-05 Carlos Garcia Campos <cgar...@igalia.com>
+
[GTK] Scrollbars not correctly rendered in non GNOME environments
https://bugs.webkit.org/show_bug.cgi?id=153860
Modified: releases/WebKitGTK/webkit-2.10/Source/WebCore/platform/gtk/ScrollbarThemeGtk.cpp (196913 => 196914)
--- releases/WebKitGTK/webkit-2.10/Source/WebCore/platform/gtk/ScrollbarThemeGtk.cpp 2016-02-22 09:18:01 UTC (rev 196913)
+++ releases/WebKitGTK/webkit-2.10/Source/WebCore/platform/gtk/ScrollbarThemeGtk.cpp 2016-02-22 09:19:01 UTC (rev 196914)
@@ -208,6 +208,7 @@
#if GTK_CHECK_VERSION(3, 19, 2)
gtk_widget_path_iter_set_object_name(path.get(), -1, name);
#else
+ gtk_widget_path_iter_add_class(path.get(), -1, GTK_STYLE_CLASS_SCROLLBAR);
gtk_widget_path_iter_add_class(path.get(), -1, name);
#endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes