WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
71189
unicode-bidi:-webkit-plaintext should affect caret in textarea
https://bugs.webkit.org/show_bug.cgi?id=71189
Summary
unicode-bidi:-webkit-plaintext should affect caret in textarea
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>א!</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
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-11-06 14:47:41 PST
https://src.chromium.org/viewvc/blink?view=revision&revision=176151
&
https://src.chromium.org/viewvc/blink?view=revision&revision=181701
&
https://src.chromium.org/viewvc/blink?view=revision&revision=192531
Ahmad Saleem
Comment 2
2024-10-05 03:29:09 PDT
(In reply to Ahmad Saleem from
comment #1
)
>
https://src.chromium.org/viewvc/blink?view=revision&revision=176151
> > & > >
https://src.chromium.org/viewvc/blink?view=revision&revision=181701
> > & > >
https://src.chromium.org/viewvc/blink?view=revision&revision=192531
https://github.com/chromium/chromium/commit/5ad4b62b7504bd372e5e443b3a856bb5b40ed20c
https://github.com/chromium/chromium/commit/edfe20c546261a844a0f2b01e0addec9fef4c6d9
https://github.com/chromium/chromium/commit/68f6387af2be2aa63d02b5c66ca0c730ce528e59
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug