W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > August 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:01 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QvA81-0002Vx-1v@jessica.w3.org>

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 the QA contact for the bug.
Received on Sunday, 21 August 2011 15:40:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:01 UTC