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

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

--- Comment #9 from Simon Pieters <simonp@opera.com> 2010-10-01 07:41:14 UTC ---
(In reply to comment #6)
> (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".

You could make the submitted metadata be something that the author cannot
generate. (For instance, using HTTP headers.)

-- 
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 Friday, 1 October 2010 07:41:18 UTC