Title: [122349] trunk/Tools
Revision
122349
Author
zandober...@gmail.com
Date
2012-07-11 11:42:07 -0700 (Wed, 11 Jul 2012)

Log Message

[Gtk] fast/events/keydown-function-keys.html is failing
https://bugs.webkit.org/show_bug.cgi?id=90891

Reviewed by Martin Robinson.

Work around the context menu being shown on F10 key being pressed by
unbiding the key when running tests in DumpRenderTree. The problem
appears when using a recent version of the xkeyboard-config package.

* DumpRenderTree/gtk/DumpRenderTree.cpp:
(setDefaultsToConsistentStateValuesForTesting):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (122348 => 122349)


--- trunk/Tools/ChangeLog	2012-07-11 18:30:19 UTC (rev 122348)
+++ trunk/Tools/ChangeLog	2012-07-11 18:42:07 UTC (rev 122349)
@@ -1,3 +1,17 @@
+2012-07-11  Zan Dobersek  <zandober...@gmail.com>
+
+        [Gtk] fast/events/keydown-function-keys.html is failing
+        https://bugs.webkit.org/show_bug.cgi?id=90891
+
+        Reviewed by Martin Robinson.
+
+        Work around the context menu being shown on F10 key being pressed by
+        unbiding the key when running tests in DumpRenderTree. The problem
+        appears when using a recent version of the xkeyboard-config package.
+
+        * DumpRenderTree/gtk/DumpRenderTree.cpp:
+        (setDefaultsToConsistentStateValuesForTesting):
+
 2012-07-11  No'am Rosenthal  <noam.rosent...@nokia.com>
 
         [Qt] QRawWebView should notify when rendering is done, so that pixel results can be grabbed at the appropriate moment.

Modified: trunk/Tools/DumpRenderTree/gtk/DumpRenderTree.cpp (122348 => 122349)


--- trunk/Tools/DumpRenderTree/gtk/DumpRenderTree.cpp	2012-07-11 18:30:19 UTC (rev 122348)
+++ trunk/Tools/DumpRenderTree/gtk/DumpRenderTree.cpp	2012-07-11 18:42:07 UTC (rev 122349)
@@ -663,8 +663,12 @@
 #else
     GtkCssProvider* cssProvider = gtk_css_provider_new();
     gtk_css_provider_load_from_data(cssProvider,
+                                    "@binding-set NoKeyboardNavigation {        "
+                                    "   unbind \"<shift>F10\";                  "
+                                    "}                                          "
                                     " * {                                       "
                                     "   -GtkScrolledWindow-scrollbar-spacing: 0;"
+                                    "   gtk-key-bindings: NoKeyboardNavigation; "
                                     "}                                          ",
                                     -1, 0);
     gtk_style_context_add_provider_for_screen(gdk_display_get_default_screen(gdk_display_get_default()),
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to