[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

cblu cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:52:42 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 5305332617887e0a7b15d26973e740cb19f7d785
Author: cblu <cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Jul 26 23:13:48 2004 +0000

    	Fixed: WebView scrolls to the top after making an editing change via drag & drop
    
            Fixed by Ken, reviewed by me.
    
            * kwq/WebCoreBridge.mm:
            (-[WebCoreBridge ensureCaretVisible]): do nothing if the selection is not a caret
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@7127 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 3d52ce6..8cf9fc7 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,12 @@
+2004-07-26  Chris Blumenberg  <cblu at apple.com>
+
+	Fixed: WebView scrolls to the top after making an editing change via drag & drop
+
+        Fixed by Ken, reviewed by me.
+
+        * kwq/WebCoreBridge.mm:
+        (-[WebCoreBridge ensureCaretVisible]): do nothing if the selection is not a caret
+
 === Safari-153 ===
 
 2004-07-26  Maciej Stachowiak  <mjs at apple.com>
diff --git a/WebCore/kwq/WebCoreBridge.mm b/WebCore/kwq/WebCoreBridge.mm
index a8fb357..2ec7a76 100644
--- a/WebCore/kwq/WebCoreBridge.mm
+++ b/WebCore/kwq/WebCoreBridge.mm
@@ -1571,7 +1571,7 @@ static HTMLFormElementImpl *formElementFromDOMElement(DOMElement *element)
 
 - (void)ensureCaretVisible
 {
-    if (!_part)
+    if (!_part || _part->selection().state() != Selection::CARET)
         return;
     
     KHTMLView *v = _part->view();

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list