W3C home > Mailing lists > Public > public-i18n-bidi@w3.org > July to September 2011

[Bug 11234] Invalidate documents whose text content contains improperly balanced bidi formatting characters

From: <bugzilla@jessica.w3.org>
Date: Sun, 21 Aug 2011 15:40:00 +0000
To: public-i18n-bidi@w3.org
Message-Id: <E1QvA80-0002Vn-Mo@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11234

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

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

--- Comment #17 from Aharon Lanin <aharon.lists.lanin@gmail.com> 2011-08-21 15:39:59 UTC ---
The change looks great, with two small flaws:

1. The treatment given to an element that is flow content but is not also
phrasing content should be extended to <br>, which also serves as a bidi
paragraph break, and thus (by design) terminates the effects of the bidi
formatting characters.

2. The comment that the formatting characters interact poorly with CSS is too
narrow - they also interact poorly with some HTML features (even when used as
currently spec'ed). An example:

<div dir=rtl>&#x202A;If this works I will eat my <input />.&#x202C;</div>

The <input> will have RTL directionality despite being between an LRE and its
matching PDF.

I am not suggesting adding this example or changing the validity spec - just
expanding the note to include some unspecified HTML features (as opposed to
just CSS).

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Sunday, 21 August 2011 15:40:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 21 August 2011 15:40:08 GMT