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

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 UTC