<?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>8158</bug_id>
          
          <creation_ts>2006-04-03 10:31:32 -0700</creation_ts>
          <short_desc>REGRESSION: Clicking past RTL text in a new text field puts the caret on the wrong side of the text</short_desc>
          <delta_ts>2006-04-07 12:16:49 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Forms</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mitz</reporter>
          <assigned_to name="Adele Peterson">adele</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>38399</commentid>
    <comment_count>0</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-04-03 10:31:32 -0700</bug_when>
    <thetext>Clicking to the left (resp. right) or RTL text puts the caret to the right (resp. left) of the text. The caret should be positioned at the edge of the text which is closer to the click position. See the attached test case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38400</commentid>
    <comment_count>1</comment_count>
      <attachid>7484</attachid>
    <who name="">mitz</who>
    <bug_when>2006-04-03 10:32:07 -0700</bug_when>
    <thetext>Created attachment 7484
Test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38530</commentid>
    <comment_count>2</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2006-04-04 11:06:07 -0700</bug_when>
    <thetext>this is also reproducible with contenteditable divs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38531</commentid>
    <comment_count>3</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2006-04-04 11:23:30 -0700</bug_when>
    <thetext>I&apos;m pretty sure the problem is in RenderText::positionForCoordinates</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38554</commentid>
    <comment_count>4</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2006-04-04 16:16:00 -0700</bug_when>
    <thetext>I have a fix for this... just working on a test now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38751</commentid>
    <comment_count>5</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-04-07 12:16:49 -0700</bug_when>
    <thetext>Verified in r13271 nightly. I think this fix is even more important for Mail!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>7484</attachid>
            <date>2006-04-03 10:32:07 -0700</date>
            <delta_ts>2006-04-03 10:32:07 -0700</delta_ts>
            <desc>Test case</desc>
            <filename>8158 - click past RTL text.html</filename>
            <type>text/html</type>
            <size>548</size>
            <attacher>mitz</attacher>
            
              <data encoding="base64">PHA+CiAgICBDbGljayBpbiB0aGUgbWlkZGxlIG9mIHRoZSBmaWVsZCwgdGhlbiBjbGljayBpbiB0
aGUgcmlnaHRtb3N0IHBvc2l0aW9uIGluIHRoZSBmaWVsZAogICAgd2hlcmUgdGhlIG1vdXNlIHBv
aW50ZXIgaXMgc3RpbGwgYW4gSS1iZWFtLgo8L3A+CjxpbnB1dCBzdHlsZT0iZGlyZWN0aW9uOiBy
dGw7IiB2YWx1ZT0iJiN4MDVlOTsmI3gwNWQzOyYjeDA1ZDQ7ICYjeDA1ZDE7JiN4MDVkNTsmI3gw
NWU4OyI+CjxwPgogICAgQ2xpY2sgaW4gdGhlIG1pZGRsZSBvZiB0aGUgZmllbGQsIHRoZW4gY2xp
Y2sgaW4gdGhlIGxlZnRtb3N0IHBvc2l0aW9uIGluIHRoZSBmaWVsZAogICAgd2hlcmUgdGhlIG1v
dXNlIHBvaW50ZXIgaXMgc3RpbGwgYW4gSS1iZWFtLgo8L3A+CjxpbnB1dCB2YWx1ZT0iJiN4MDVl
OTsmI3gwNWQzOyYjeDA1ZDQ7ICYjeDA1ZDE7JiN4MDVkNTsmI3gwNWU4OyI+CjxwPgogICAgRXhw
ZWN0ZWQgcmVzdWx0OiBUaGUgY2FyZXQgc2hvdWxkIGJlIG9uIHRoZSBlZGdlIG9mIHRoZSB0ZXh0
IGNsb3NlciB0byB3aGVyZSB5b3UgY2xpY2tlZC4KPC9wPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>