[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.15.1-1414-gc69ee75

eric at webkit.org eric at webkit.org
Thu Oct 29 20:50:52 UTC 2009


The following commit has been merged in the webkit-1.1 branch:
commit b03eb7944474d501b197cf372e250eaaf407b43a
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Oct 23 20:26:10 2009 +0000

    2009-10-23  Evan Martin  <evan at chromium.org>
    
            Reviewed by Eric Seidel.
    
            Chrome Linux: fix caret positioning in LTR complex languages
            The caret is positioned off by one in languages like Thai.
    
            https://bugs.webkit.org/show_bug.cgi?id=28284
    
            A group of us spent a while trying various approaches to write a test
            for this; however, since it is only that the blinking cursor is
            displayed incorrectly, we concluded it can not be tested.
    
            (Patch by Hironori Bono.)
    
            * platform/graphics/chromium/FontLinux.cpp:
            (WebCore::Font::selectionRectForComplexText):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49994 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 8ea7653..26a3842 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,21 @@
+2009-10-23  Evan Martin  <evan at chromium.org>
+
+        Reviewed by Eric Seidel.
+
+        Chrome Linux: fix caret positioning in LTR complex languages
+        The caret is positioned off by one in languages like Thai.
+
+        https://bugs.webkit.org/show_bug.cgi?id=28284
+
+        A group of us spent a while trying various approaches to write a test
+        for this; however, since it is only that the blinking cursor is
+        displayed incorrectly, we concluded it can not be tested.
+
+        (Patch by Hironori Bono.)
+
+        * platform/graphics/chromium/FontLinux.cpp:
+        (WebCore::Font::selectionRectForComplexText):
+
 2009-10-23  Tony Chang  <tony at chromium.org>
 
         Reviewed by David Levin.
diff --git a/WebCore/platform/graphics/chromium/FontLinux.cpp b/WebCore/platform/graphics/chromium/FontLinux.cpp
index 38e7682..a4526a8 100644
--- a/WebCore/platform/graphics/chromium/FontLinux.cpp
+++ b/WebCore/platform/graphics/chromium/FontLinux.cpp
@@ -668,8 +668,6 @@ FloatRect Font::selectionRectForComplexText(const TextRun& run,
 
     if (toX == -1 && !to)
         toX = rightEdge;
-    else if (!walker.rtl())
-        toX += truncateFixedPointToInteger(toAdvance);
 
     ASSERT(fromX != -1 && toX != -1);
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list