NEW 48106
RTL: text begins with unicode bidi control character without ending pdf ignores the control characters
https://bugs.webkit.org/show_bug.cgi?id=48106
Summary RTL: text begins with unicode bidi control character without ending pdf ignor...
Xiaomei Ji
Reported 2010-10-21 18:35:47 PDT
The problem happens in both rendering and editing. Open the above test case, 1. the 1st div has RLE characters but no PDF, and the RLE is ignored by rendering, while FireFox displayed "b!" as RTL. 2. try to type the same in 2nd div as what is in 1st div (after the fix of 25321, which will preserve RLE in editing), the whole text showed as LTR, while Firefox displayed "b!" as RTL. Changing text direction to RTL when RLE is encountered is the behavior of Mac TextEdit as well.
Attachments
test file (143 bytes, text/html)
2010-10-22 10:24 PDT, Xiaomei Ji
no flags
Xiaomei Ji
Comment 1 2010-10-22 10:24:47 PDT
Created attachment 71572 [details] test file
mitz
Comment 2 2010-10-22 10:34:12 PDT
Note that this happens when the line ends with a run of neutral characters, but not if you replace the ! with a RTL character.
Note You need to log in before you can comment on or make changes to this bug.