Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed2011-09-22 15:21:36 -0400
committerGrant Gayed2011-10-21 15:38:42 -0400
commitf32dd164a74a61d4604211d7305a48ded07cbcce (patch)
tree908badf805858d82c985143ca29fb40e9b5b85c0
parent5e2e078df6c0aa8281d0fc285d953cc09fa04485 (diff)
downloadeclipse.platform.swt-f32dd164a74a61d4604211d7305a48ded07cbcce.tar.gz
eclipse.platform.swt-f32dd164a74a61d4604211d7305a48ded07cbcce.tar.xz
eclipse.platform.swt-f32dd164a74a61d4604211d7305a48ded07cbcce.zip
Bug 354745 - keyboard navigation in Browser widget broken with IE 9 on
some pages
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java b/bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java
index 81413c1093..8372d2cc44 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java
@@ -335,6 +335,16 @@ int TranslateAccelerator(int /*long*/ lpMsg, int /*long*/ pguidCmdGroup, int nCm
* if it will be within IE or out to another Control.
*/
break;
+ case OS.VK_UP:
+ case OS.VK_DOWN:
+ case OS.VK_LEFT:
+ case OS.VK_RIGHT:
+ case OS.VK_HOME:
+ case OS.VK_END:
+ case OS.VK_PRIOR:
+ case OS.VK_NEXT:
+ /* Do not translate/consume IE's keys for scrolling content. */
+ break;
case OS.VK_BACK:
case OS.VK_RETURN:
/*

Back to the top