Changeset 196172 in webkit


Ignore:
Timestamp:
Feb 5, 2016 6:04:27 AM (8 years ago)
Author:
Carlos Garcia Campos
Message:

[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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r196171 r196172  
     12016-02-05  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [GTK] Scrollbars incorrectly rendered with older versions of GTK+
     4        https://bugs.webkit.org/show_bug.cgi?id=153861
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        The theme doesn't really know it's a scrollbar. Older versions of
     9        GTK+ require to explicitly add the scrollbar style class to the
     10        child GtkStyleContext.
     11
     12        * platform/gtk/ScrollbarThemeGtk.cpp:
     13        (WebCore::createChildStyleContext):
     14
    1152016-02-05  Carlos Garcia Campos  <cgarcia@igalia.com>
    216
  • trunk/Source/WebCore/platform/gtk/ScrollbarThemeGtk.cpp

    r196171 r196172  
    221221    gtk_widget_path_iter_set_object_name(path.get(), -1, name);
    222222#else
     223    gtk_widget_path_iter_add_class(path.get(), -1, GTK_STYLE_CLASS_SCROLLBAR);
    223224    gtk_widget_path_iter_add_class(path.get(), -1, name);
    224225#endif
Note: See TracChangeset for help on using the changeset viewer.