[Bug 10809] i18n comment 3 : new attribute: submitdir

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

--- Comment #6 from Ehsan Akhgari [:ehsan] <ehsan@mozilla.com> 2010-09-30 16:06:49 UTC ---
(In reply to comment #5)
> It seems to me that this doesn't need to be an attribute, just that the browser
> generates the direction metadata for any field for which the user has changed
> direction, without having the author having to opt-in to that behavior.

That's not a good choice, because of possible cases like this:

<input type="hidden" name="foo_dir" value="bar">
<input type="text" name="foo">

This form will submit "foo_dir=bar" if the browser does not support this
proposal, but if it does and the user submits the form with the direction of
the second input changed, the form will submit "foo_dir=rtl" or "foo_dir=ltr".

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

Received on Thursday, 30 September 2010 16:06:52 UTC