[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-10851-g50815da

yurys at chromium.org yurys at chromium.org
Wed Dec 22 18:48:48 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit ddeaef10084c58df590b5ab4cde8a779f04e99b8
Author: yurys at chromium.org <yurys at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Dec 20 08:53:18 2010 +0000

    2010-12-20  Yury Semikhatsky  <yurys at chromium.org>
    
            Reviewed by Pavel Feldman.
    
            Web Inspector: After a multiline command execution Console does not show the command prompt
            https://bugs.webkit.org/show_bug.cgi?id=51257
    
            * inspector/front-end/TextPrompt.js:
            (WebInspector.TextPrompt.prototype._moveBackInHistory):
            (WebInspector.TextPrompt.prototype._moveForwardInHistory):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74333 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 621606f..c18fe90 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,14 @@
+2010-12-20  Yury Semikhatsky  <yurys at chromium.org>
+
+        Reviewed by Pavel Feldman.
+
+        Web Inspector: After a multiline command execution Console does not show the command prompt
+        https://bugs.webkit.org/show_bug.cgi?id=51257
+
+        * inspector/front-end/TextPrompt.js:
+        (WebInspector.TextPrompt.prototype._moveBackInHistory):
+        (WebInspector.TextPrompt.prototype._moveForwardInHistory):
+
 2010-12-19  Helder Correia  <helder at sencha.com>
 
         Reviewed by Ariya Hidayat.
diff --git a/WebCore/inspector/front-end/TextPrompt.js b/WebCore/inspector/front-end/TextPrompt.js
index e9a73fe..21a5bde 100644
--- a/WebCore/inspector/front-end/TextPrompt.js
+++ b/WebCore/inspector/front-end/TextPrompt.js
@@ -419,7 +419,7 @@ WebInspector.TextPrompt.prototype = {
         ++this.historyOffset;
         this.text = this.history[this.history.length - this.historyOffset];
 
-        this.element.scrollIntoViewIfNeeded();
+        this.element.scrollIntoView(true);
         var firstNewlineIndex = this.text.indexOf("\n");
         if (firstNewlineIndex === -1)
             this.moveCaretToEndOfPrompt();
@@ -451,6 +451,6 @@ WebInspector.TextPrompt.prototype = {
         }
 
         this.text = this.history[this.history.length - this.historyOffset];
-        this.element.scrollIntoViewIfNeeded();
+        this.element.scrollIntoView();
     }
 }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list