Changeset 82343 in webkit
- Timestamp:
- Mar 29, 2011 3:55:37 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r82339 r82343 1 2011-03-24 Martin Robinson <mrobinson@igalia.com> 2 3 Reviewed by Xan Lopez. 4 5 [GTK] [DRT] GtkScrolledWindow adds three pixels of padding between the WebView and the scrollbar 6 https://bugs.webkit.org/show_bug.cgi?id=57067 7 8 Eliminate extra spacing between the DRT GtkScrolledWindow and the DRT WebView. This 9 will allow WebKit1GTK+ and WebKit2GTK+ to share test results. Followup commits will 10 update DRT and pixel results as hundreds of results will need to be updated. 11 12 * DumpRenderTree/gtk/DumpRenderTree.cpp: 13 (setDefaultsToConsistentStateValuesForTesting): Eliminate spacing on the GtkScrolledWindow 14 by overriding the theme RC/CSS files. 15 1 16 2011-03-29 Steve Falkenburg <sfalken@apple.com> 2 17 -
trunk/Tools/DumpRenderTree/gtk/DumpRenderTree.cpp
r82271 r82343 3 3 * Copyright (C) 2008 Alp Toker <alp@nuanti.com> 4 4 * Copyright (C) 2009 Jan Alonzo <jmalonzo@gmail.com> 5 * Copyright (C) 2010 Igalia S.L.5 * Copyright (C) 2010, 2011 Igalia S.L. 6 6 * 7 7 * Redistribution and use in source and binary forms, with or without … … 601 601 webkit_set_web_database_directory_path(databaseDirectory); 602 602 g_free(databaseDirectory); 603 604 #if defined(GTK_API_VERSION_2) 605 gtk_rc_parse_string("style \"nix_scrollbar_spacing\" " 606 "{ " 607 " GtkScrolledWindow::scrollbar-spacing = 0 " 608 "} " 609 "class \"GtkWidget\" style \"nix_scrollbar_spacing\""); 610 611 #else 612 GtkCssProvider* cssProvider = gtk_css_provider_new(); 613 gtk_css_provider_load_from_data(cssProvider, 614 " * { " 615 " -GtkScrolledWindow-scrollbar-spacing: 0;" 616 "} ", 617 -1, 0); 618 gtk_style_context_add_provider_for_screen(gdk_display_get_default_screen(gdk_display_get_default()), 619 GTK_STYLE_PROVIDER(cssProvider), 620 GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); 621 g_object_unref(cssProvider); 622 #endif 603 623 } 604 624
Note: See TracChangeset
for help on using the changeset viewer.