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

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

--- Comment #30 from Ian 'Hixie' Hickson <ian@hixie.ch> 2010-11-02 23:50:18 UTC ---
(In reply to comment #25)
> I think it boils down to more than that, but let me answer you. LRE, RLE, LRO,
> RLO and PDF are evil in HTML for many reasons, but one of them is that it is
> impossible to give a reasonable definition of how they should interact with
> direction specified by mark-up

That's not true, since we in fact define everything in terms of these
characters in CSS. It's not only possible, it's literally the only way it is
done.

It seems like the simplest solution here, especially considering <textarea>s
and multiple paragraphs with different directionality, is to have an attribute
that, if present, causes the user agent to include the relevant bidi formatting
characters in the submission of the control's value. I don't really see how
else we could do it... I mean, we could submit a second value that just had a
list of character ranges labeled as ltr or rtl, but that would be even harder
to manage, as far as I can tell (and easier to implement incorrectly — e.g. you
could trick a site by sending overlapping ranges).

-- 
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 Tuesday, 2 November 2010 23:50:20 UTC