[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 08:09:56 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 67296de6b71fb29e2acfc6b028df8f7e773987d5
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Nov 7 00:40:03 2003 +0000

    	Fixed 3476393.  Call scrollPoint: recursively up the view hierarchy to ensure point is visible.
    
            Reviewed by Ken.
    
            * Misc.subproj/WebNSViewExtras.h:
            * Misc.subproj/WebNSViewExtras.m:
            (-[NSView _web_scrollPointToVisible:fromView:]):
            * WebView.subproj/WebHTMLView.m:
            (-[WebHTMLView scrollPoint:]):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5413 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index c30a1c0..139a610 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,15 @@
+2003-11-06  Richard Williamson   <rjw at apple.com>
+
+	Fixed 3476393.  Call scrollPoint: recursively up the view hierarchy to ensure point is visible.
+
+        Reviewed by Ken.
+
+        * Misc.subproj/WebNSViewExtras.h:
+        * Misc.subproj/WebNSViewExtras.m:
+        (-[NSView _web_scrollPointToVisible:fromView:]):
+        * WebView.subproj/WebHTMLView.m:
+        (-[WebHTMLView scrollPoint:]):
+
 === Safari-113 ===
 
 2003-11-05  Darin Adler  <darin at apple.com>
diff --git a/WebKit/Misc.subproj/WebNSViewExtras.h b/WebKit/Misc.subproj/WebNSViewExtras.h
index d402679..69520e7 100644
--- a/WebKit/Misc.subproj/WebNSViewExtras.h
+++ b/WebKit/Misc.subproj/WebNSViewExtras.h
@@ -46,4 +46,6 @@
                    URL:(NSURL *)URL
                  title:(NSString *)title
                  event:(NSEvent *)event;
+
+- (void)_web_scrollPointToVisible:(NSPoint)p fromView:(NSView *)view;
 @end
diff --git a/WebKit/Misc.subproj/WebNSViewExtras.m b/WebKit/Misc.subproj/WebNSViewExtras.m
index 279c00c..6d0ceed 100644
--- a/WebKit/Misc.subproj/WebNSViewExtras.m
+++ b/WebKit/Misc.subproj/WebNSViewExtras.m
@@ -63,6 +63,13 @@
     return nil;
 }
 
+- (void)_web_scrollPointToVisible:(NSPoint)p fromView:(NSView *)view
+{
+    p = [self convertPoint: p fromView:view];
+    [self scrollPoint: p];
+    [[self superview] _web_scrollPointToVisible:p fromView: self];
+}
+
 /* Determine whether a mouse down should turn into a drag; started as copy of NSTableView code */
 - (BOOL)_web_dragShouldBeginFromMouseDown:(NSEvent *)mouseDownEvent
                            withExpiration:(NSDate *)expiration
diff --git a/WebKit/WebView.subproj/WebHTMLView.m b/WebKit/WebView.subproj/WebHTMLView.m
index d1e5221..97022c8 100644
--- a/WebKit/WebView.subproj/WebHTMLView.m
+++ b/WebKit/WebView.subproj/WebHTMLView.m
@@ -328,6 +328,7 @@ static BOOL forceRealHitTest = NO;
     }
     
     [super scrollPoint:point];
+    [[self superview] _web_scrollPointToVisible:point fromView: self];
 }
 
 - (NSView *)hitTest:(NSPoint)point

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list