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

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

Aharon Lanin <aharon.lists.lanin@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aharon.lists.lanin@gmail.co
                   |                            |m

--- Comment #13 from Aharon Lanin <aharon.lists.lanin@gmail.com> 2010-10-06 18:06:27 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.)

An interesting suggestion. Would anyone care to suggest a specific header and
syntax? Wouldn't the HTML spec have to include this to get interoperability?

-- 
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 Wednesday, 6 October 2010 18:06:29 UTC