Bug 71189

Summary: unicode-bidi:-webkit-plaintext should affect caret in textarea
Product: WebKit Reporter: Aharon (Vladimir) Lanin <aharon>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: aharon, ahmad.saleem792, leviw, mmaxfield, playmobil, rniwa, xji
Priority: P2 Keywords: BlinkMergeCandidate
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 50910    

Aharon (Vladimir) Lanin
Reported 2011-10-30 10:50:20 PDT
Currently, the caret in <textarea> 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,<textarea style="unicode-bidi:-webkit-plaintext; direction:rtl"></textarea> or data:text/html,<textarea dir=auto>&#x05d0;!</textarea> 2. Put the focus in the textarea, press End, and press Enter. 3. Type "hello!" and note that the text is rendered correctly LTR, i.e. as "hello!" and not as "!hello". 4. However, note the visual location of the caret while typing. It stays to the left of the "h" throughout. It should be to the right of the last character typed in.
Attachments
Note You need to log in before you can comment on or make changes to this bug.