<?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>48139</bug_id>
          
          <creation_ts>2010-10-22 10:42:07 -0700</creation_ts>
          <short_desc>RTL: right/left arrow keys ignore unicode bidi control characters</short_desc>
          <delta_ts>2010-10-22 10:45:15 -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>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>25321</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Xiaomei Ji">xji</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mitz</cc>
    
    <cc>playmobil</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>298057</commentid>
    <comment_count>0</comment_count>
      <attachid>71575</attachid>
    <who name="Xiaomei Ji">xji</who>
    <bug_when>2010-10-22 10:42:07 -0700</bug_when>
    <thetext>Created attachment 71575
test file

After the fix of 25321, unicode bidi control characters are included in InlineTextBox, arrow key should be able to move caret around them.

Given the test file which contains &lt;div contenteditable&gt;a&amp;#x202b;b!&amp;#x202c;c&lt;/div&gt;,
the visual display from left to right is:
a!&amp;#x202b;b&amp;#x202c;c


left/right arrow keys could place caret before and after &amp;#202c;, (moving caret from before &apos;b&apos; to after &apos;c&apos; takes 3 right-arrow movements).
but neither is able to distinguish caret before and after &amp;#x202b; (moving caret from before &apos;!&apos; to after &apos;b&apos; takes only 2 right-arrow movements).</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>71575</attachid>
            <date>2010-10-22 10:42:07 -0700</date>
            <delta_ts>2010-10-22 10:42:07 -0700</delta_ts>
            <desc>test file</desc>
            <filename>test_rtl.html</filename>
            <type>text/html</type>
            <size>109</size>
            <attacher name="Xiaomei Ji">xji</attacher>
            
              <data encoding="base64">PGh0bWw+Cjxib2R5Pgo8ZGl2IGNvbnRlbnRlZGl0YWJsZSBzdHlsZT0iYm9yZGVyOiAycHggc29s
aWQgcmVkOyI+YSYjeDIwMmI7YiEmI3gyMDJjO2M8L2Rpdj4KPC9ib2R5Pgo8L2h0bWw+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>