W3C home > Mailing lists > Public > public-i18n-bidi@w3.org > July to September 2010

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 30 Sep 2010 16:06:49 +0000
To: public-i18n-bidi@w3.org
Message-Id: <E1P1Lej-0006bE-Ir@jessica.w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 30 September 2010 16:06:54 GMT