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

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

--- Comment #10 from Ehsan Akhgari [:ehsan] <ehsan@mozilla.com> 2010-10-01 16:05:13 UTC ---
(In reply to comment #9)
> (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.)

True, but that would be really strange, as it would be different to any other
type of form data that is usually submitted.

-- 
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 Friday, 1 October 2010 16:05:15 UTC