[Webkit-unassigned] [Bug 50952] Inputs of type "text" and "search" should support interoperable "set direction" functionality

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 29 02:39:09 PDT 2011


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





--- Comment #3 from Aharon (Vladimir) Lanin <aharon at google.com>  2011-03-29 02:39:09 PST ---
(In reply to comment #2)
> Greetings,
> 
> This is just for clarification.
> The forminput event has been deleted from the HTML5 spec this month <http://www.w3.org/Bugs/Public/show_bug.cgi?id=11129>. Therefore, this issue is that we need to send an input event of HTML5 from this function when WebKit changes the text direction, right?

That is correct. The HTML5 spec before that change called for sending both input and forminput. After the change, it just calls for sending input. I am quoting from http://dev.w3.org/html5/spec/Overview.html#text-state-and-search-state:

"If the element is mutable, the user agent should allow the user to change the writing direction of the element, setting it either to a left-to-right writing direction or a right-to-left writing direction. If the user does so, the user agent must then run the following steps:

"Set the element's dir attribute to "ltr" if the user selected a left-to-right writing direction, and "rtl" if the user selected a right-to-left writing direction.

"Queue a task to fire a simple event that bubbles named input at the input element."

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