[Bug 10821] i18n comment 17 : setting input and textarea element direction through browser UI should set the dir attribute and trigger oninput event

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10821

--- Comment #10 from Aryeh Gregor <Simetrical+w3cbug@gmail.com> 2010-10-19 16:44:57 UTC ---
No, because maybe the user explicitly set the direction in a way that
contradicts the Unicode bidi rules.  For instance, if the overall page
direction is LTR and I type something in a field in RTL, that will be displayed
LTR as I type it, which is weird if there's punctuation at the beginning or
end:

Logical: HEBREW!
Correct display: !WERBEH
Actual display: WERBEH!

Thus I might use a keyboard shortcut like Ctrl-Shift-X in Firefox to switch
direction.  (Although that actually seems to do something other than simply set
dir="rtl" -- it looks more like it sets dir="rtl" only for paragraphs
containing an RTL character, or something.)  This is information that could be
useful to scripts, e.g., so that when the value is later output it can be given
the correct direction, a la bug 10809.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 19 October 2010 16:45:02 UTC