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: Mon, 29 Nov 2010 09:00:45 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PMzbJ-0008Ez-3f@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10808

--- Comment #45 from Aharon Lanin <aharon.lists.lanin@gmail.com> 2010-11-29 09:00:36 UTC ---
(In reply to comment #40)
> Checked in as WHATWG revision r5673.
> Check-in comment: An example of dir=auto. Since I don't speak Arabic and am
> relying on Wikipedia, a close review by Arabic speakers would be even more
> welcome than usual.
> http://html5.org/tools/web-apps-tracker?from=5672&to=5673

While I am not an Arabic speaker and thus can not vouch for that aspect, kudos
on both the description of dir=auto and the example.

Nevertheless, there is a small logical problems in the definition of the text
elements considered by dir=auto. The bdi element should be added to the list of
cases whose descendant text is excluded from the scan (and which currently
includes the script and style elements). This is necessary because although bdi
is supposed to behave as if it had dir=auto when its dir attribute does not
have a defined state, formally it still does not have a defined dir attribute
state, so the "element with a dir attribute in a defined state" rule does not
actually apply to it. Without this change, the IM example will not work
properly.

-- 
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 Monday, 29 November 2010 09:00:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 29 November 2010 09:00:47 GMT