[Webkit-unassigned] [Bug 25222] RTL: extending selection after change text directionality behaves differently for textarea and div element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 26 12:35:14 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=25222


Levi Weintraub <leviw at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |leviw at chromium.org




--- Comment #5 from Levi Weintraub <leviw at chromium.org>  2011-01-26 12:35:14 PST ---
> My question is:
> 1. Is the webkit handling difference by intention? or it is a bug?
> 2. If it is by intention, why? why 'textarea' and 'input type' are  handled differently than 'div'?

There was definitely a conscious decision made in r34935 to handle text inputs differently, but it seems inconsistent that the function changes the writing direction for all contents of the textarea, but only acts paragraph-level for the div.

If we want the difference in behavior I just mentioned but want consistent selection behavior, we can explicitly update the selection in the special case for text inputs, but it seems hacky.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list