<?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>71189</bug_id>
          
          <creation_ts>2011-10-30 10:50:20 -0700</creation_ts>
          <short_desc>unicode-bidi:-webkit-plaintext should affect caret in textarea</short_desc>
          <delta_ts>2024-10-05 03:29:09 -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>CSS</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>BlinkMergeCandidate</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>50910</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Aharon (Vladimir) Lanin">aharon</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aharon</cc>
    
    <cc>ahmad.saleem792</cc>
    
    <cc>leviw</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>playmobil</cc>
    
    <cc>rniwa</cc>
    
    <cc>xji</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>493053</commentid>
    <comment_count>0</comment_count>
    <who name="Aharon (Vladimir) Lanin">aharon</who>
    <bug_when>2011-10-30 10:50:20 -0700</bug_when>
    <thetext>Currently, the caret in &lt;textarea&gt; is affected only by the CSS direction, even for unicode-bidi:-webkit-plaintext. It should work in an LTR manner in an LTR paragraph and in an RTL manner in an RTL paragraph, as determined by -webkit-plaintext.

Test case(s):
1. Navigate to data:text/html,&lt;textarea style=&quot;unicode-bidi:-webkit-plaintext; direction:rtl&quot;&gt;&lt;/textarea&gt; or data:text/html,&lt;textarea dir=auto&gt;&amp;#x05d0;!&lt;/textarea&gt;
2. Put the focus in the textarea, press End, and press Enter.
3. Type &quot;hello!&quot; and note that the text is rendered correctly LTR, i.e. as &quot;hello!&quot; and not as &quot;!hello&quot;.
4. However, note the visual location of the caret while typing. It stays to the left of the &quot;h&quot; throughout. It should be to the right of the last character typed in.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1910670</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-11-06 14:47:41 -0800</bug_when>
    <thetext>https://src.chromium.org/viewvc/blink?view=revision&amp;revision=176151

&amp; 

https://src.chromium.org/viewvc/blink?view=revision&amp;revision=181701

&amp; 

https://src.chromium.org/viewvc/blink?view=revision&amp;revision=192531</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2065670</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-10-05 03:29:09 -0700</bug_when>
    <thetext>(In reply to Ahmad Saleem from comment #1)
&gt; https://src.chromium.org/viewvc/blink?view=revision&amp;revision=176151
&gt; 
&gt; &amp; 
&gt; 
&gt; https://src.chromium.org/viewvc/blink?view=revision&amp;revision=181701
&gt; 
&gt; &amp; 
&gt; 
&gt; https://src.chromium.org/viewvc/blink?view=revision&amp;revision=192531

https://github.com/chromium/chromium/commit/5ad4b62b7504bd372e5e443b3a856bb5b40ed20c

https://github.com/chromium/chromium/commit/edfe20c546261a844a0f2b01e0addec9fef4c6d9

https://github.com/chromium/chromium/commit/68f6387af2be2aa63d02b5c66ca0c730ce528e59</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>