[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:50:06 PST 2011


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





--- Comment #6 from Xiaomei Ji <xji at chromium.org>  2011-01-26 12:50:05 PST ---
(In reply to comment #5)
> > 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.


Feedback from Uri who's been a go-to person of RTL editing in Mozilla:
"Behavior on text area is correct, behavior on div is incorrect.", from which I imply that the behavior of textarea and div on this matter should be consistent.

-- 
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