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

[Bug 10808] text with unknown direction gets corrupted when inserted in content with opposite direction

From: <bugzilla@jessica.w3.org>
Date: Fri, 19 Nov 2010 00:21:04 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PJEiu-0001lU-Cp@jessica.w3.org>

Aryeh Gregor <Simetrical+w3cbug@gmail.com> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #43 from Aryeh Gregor <Simetrical+w3cbug@gmail.com> 2010-11-19 00:20:58 UTC ---
I would like to add a further use-case: users might submit content that's a mix
of directions.  This isn't uncommon on forums, e.g.:


dir=auto as specced doesn't handle this at all.  Instead, you'd want the
computed direction of the element to be a new value, "auto", which would
propagate to children like the "ltr" and "rtl" values do.  Each UBA paragraph
with computed direction "auto" should then independently decide its direction
based on first-strong (or whatever).  This way, separate paragraphs that are
either RTL or LTR will align themselves appropriately.  Moreover, if you aren't
worried about the first-strong heuristic failing, you can just set <html
dir=auto> and not need to specify direction anywhere else on the page.

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, 19 November 2010 00:21:06 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:01 UTC