W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2010

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 02 Nov 2010 23:50:18 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PDQcM-0008WR-VP@jessica.w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 November 2010 23:50:24 GMT