[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
rjw
rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:50:00 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 1caa0d8f548ae41559d10dace82def53f8f95d02
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Mon Aug 4 20:20:28 2003 +0000
Fixed 3223989. Pass key down events to super if scrolling is disabled.
Reviewed by Chris (Welcome back!).
* WebView.subproj/WebFrameView.m:
(-[WebFrameView keyDown:]):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4762 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index a224ec9..b361ee9 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,12 @@
+2003-08-04 Richard Williamson <rjw at apple.com>
+
+ Fixed 3223989. Pass key down events to super if scrolling is disabled.
+
+ Reviewed by Chris (Welcome back!).
+
+ * WebView.subproj/WebFrameView.m:
+ (-[WebFrameView keyDown:]):
+
2003-08-01 Richard Williamson <rjw at apple.com>
Fixed 3095376. Implemented correct selection behavior for rtl scripts.
diff --git a/WebKit/WebView.subproj/WebFrameView.m b/WebKit/WebView.subproj/WebFrameView.m
index 8caa4ec..9b9e60f 100644
--- a/WebKit/WebView.subproj/WebFrameView.m
+++ b/WebKit/WebView.subproj/WebFrameView.m
@@ -151,6 +151,10 @@ enum {
callSuper = NO;
break;
case SpaceKey:
+ if (![self allowsScrolling]) {
+ callSuper = YES;
+ break;
+ }
if ([event modifierFlags] & NSShiftKeyMask) {
[self scrollPageUp:nil];
} else {
@@ -159,22 +163,42 @@ enum {
callSuper = NO;
break;
case NSPageUpFunctionKey:
+ if (![self allowsScrolling]) {
+ callSuper = YES;
+ break;
+ }
[self scrollPageUp:nil];
callSuper = NO;
break;
case NSPageDownFunctionKey:
+ if (![self allowsScrolling]) {
+ callSuper = YES;
+ break;
+ }
[self scrollPageDown:nil];
callSuper = NO;
break;
case NSHomeFunctionKey:
+ if (![self allowsScrolling]) {
+ callSuper = YES;
+ break;
+ }
[self _scrollToTopLeft];
callSuper = NO;
break;
case NSEndFunctionKey:
+ if (![self allowsScrolling]) {
+ callSuper = YES;
+ break;
+ }
[self _scrollToBottomLeft];
callSuper = NO;
break;
case NSUpArrowFunctionKey:
+ if (![self allowsScrolling]) {
+ callSuper = YES;
+ break;
+ }
if ([event modifierFlags] & NSCommandKeyMask) {
[self _scrollToTopLeft];
} else if ([event modifierFlags] & NSAlternateKeyMask) {
@@ -185,6 +209,10 @@ enum {
callSuper = NO;
break;
case NSDownArrowFunctionKey:
+ if (![self allowsScrolling]) {
+ callSuper = YES;
+ break;
+ }
if ([event modifierFlags] & NSCommandKeyMask) {
[self _scrollToBottomLeft];
} else if ([event modifierFlags] & NSAlternateKeyMask) {
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list