Back out fix for 3382926, since it breaks LTR text inside RTL contexts.
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Feb 2005 17:43:16 +0000 (17:43 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Feb 2005 17:43:16 +0000 (17:43 +0000)
        Reviewed by john

        * khtml/rendering/bidi.cpp:
        (khtml::BidiIterator::direction):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8693 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog-2005-08-23
WebCore/khtml/rendering/bidi.cpp

index ef9b8ec0420cca770b5e617f05c98d411bc10e91..90719657209123a3f89eea5d2705f0424ed64b3a 100644 (file)
@@ -1,3 +1,12 @@
+2005-02-25  David Hyatt  <hyatt@apple.com>
+
+       Back out fix for 3382926, since it breaks LTR text inside RTL contexts.
+       
+        Reviewed by john
+
+        * khtml/rendering/bidi.cpp:
+        (khtml::BidiIterator::direction):
+
 2005-02-25  David Hyatt  <hyatt@apple.com>
 
        Fix for 3975039, scrolling is slow in huge RSS views.  Optimize the calculation of clip rects for overflow:hidden
index 42d1e77fd1d56378bb3cfe66b3026be31ced50db..fcb8f47a21c43b06338d602f93689a8b3dd68617 100644 (file)
@@ -365,9 +365,6 @@ inline QChar::Direction BidiIterator::direction() const
     if ( pos >= renderTxt->stringLength() )
         return QChar::DirON;
         
-    if (obj->style()->direction() == RTL && pos == 0)
-        return QChar::DirR;
-        
     return renderTxt->text()[pos].direction();
 }