<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>24279</bug_id>
          
          <creation_ts>2009-03-01 15:23:40 -0800</creation_ts>
          <short_desc>RTL Regression: Caret position is wrong when typing LTR text in a RTL text box</short_desc>
          <delta_ts>2009-03-01 16:22:30 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>HTML Editing</component>
          <version>525.x (Safari 3.2)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>24278</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>PlatformOnly</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Xiaomei Ji">xji</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mitz</cc>
    
    <cc>playmobil</cc>
    
    <cc>xji</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>111753</commentid>
    <comment_count>0</comment_count>
    <who name="Xiaomei Ji">xji</who>
    <bug_when>2009-03-01 15:23:40 -0800</bug_when>
    <thetext>This is a regression.
It works correctly in Sarafi 3.2, but not in nightly r41128.

Test case is attached.

Type a English word in the text box of the test page. 

The caret should move to right, as that&apos;s where the last typed letter is.
(FF and IE behaves like this).

In Safari, the caret always stays at the very left.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111754</commentid>
    <comment_count>1</comment_count>
      <attachid>28155</attachid>
    <who name="Xiaomei Ji">xji</who>
    <bug_when>2009-03-01 15:25:11 -0800</bug_when>
    <thetext>Created attachment 28155
test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111758</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2009-03-01 15:38:48 -0800</bug_when>
    <thetext>The behavior is correct for Mac OS X. Note that in Firefox, the position (and shape, see bug 22386) of the insertion point changes depending on the active keyboard layout, so that in the attached test case, if one types LTR characters using the U.S. keyboard layout and then changes the keyboard layout to Hebrew, the insertion point moves to the left. In Mac OS X, the position to the left
may be indicated by a split caret (see bug 3710), but that does not depend on
the active keyboard layout.

I don&apos;t think this issue warrants two separate bugs (bug 24278 and this one).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111761</commentid>
    <comment_count>3</comment_count>
    <who name="Xiaomei Ji">xji</who>
    <bug_when>2009-03-01 16:22:30 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 24278 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>28155</attachid>
            <date>2009-03-01 15:25:11 -0800</date>
            <delta_ts>2009-03-01 15:25:11 -0800</delta_ts>
            <desc>test case</desc>
            <filename>2777.html</filename>
            <type>text/html</type>
            <size>167</size>
            <attacher name="Xiaomei Ji">xji</attacher>
            
              <data encoding="base64">77u/PCFET0NUWVBFIGh0bWw+DQo8aHRtbD4gDQo8aGVhZD4gDQo8c3R5bGU+DQp0ZXh0YXJlYQ0K
ew0KcGFkZGluZzogMHB4Ow0KZGlyZWN0aW9uOnJ0bDsNCn0NCjwvc3R5bGU+DQo8L2hlYWQ+IA0K
PGJvZHk+DQo8dGV4dGFyZWE+DQo8L3RleHRhcmVhPg0KDQo8L2JvZHk+IA0KPC9odG1sPiA=
</data>

          </attachment>
      

    </bug>

</bugzilla>