Version: (using KDE KDE 3.1.3) Installed from: Mandrake RPMs Compiler: gcc 3.3 OS: Linux When khtml is used to render text that contains block that have a forced directionality which is different then the implied directionality of the sorounding block, the embeded block jumps to the end of the line instead of being rendered in the proper position test case with hebrew words (which imply RTL directionality) will be attached later, but here is a simple case with no need for RTL characters : <p dir=RTL> aaaa bbbb <span dir=RTL>cccc</span> dddd eeee </p> what should be displayed is this : dddd eeee cccc aaaa bbbb as there should actually be 4 blocks - the <p> block which is RTL and contains the other blocks, the 'aaaa bbbb' block which LTR, the 'cccc' which is RTL (and maybe contains an additional implied LTR block) and lastly (to the left most) the LTR block 'dddd eeee'. What actually displayed is this: cccc dddd eeee aaaa bbbb as the RTL block jumps out of the line. This bug is mainly triggered by MS-Office generated HTML which contains forced directionality blocks such as this around a block that has a directionality reversed from the rest of the paragraph. All the test cases are rendered correctly on Mozilla (just in case you where wondering)
Created an attachment (id=2266) [details] testcase The text is encoded using UTF-8
Hi Konqueror Developers. I'd appreciate it if someone can have a look at the test case. I know this is 3.2 time and features need to be implemented, show stoppers to resolve, etc'. but this issue is a real problem for RTL speaking folks who who happen to need access to MS generated HTML - which you can find anywhere in the hebrew speaking world: especially in email and government web sites. Really really really thank you :-)
CVS commit by carewolf: Big Bad Bidi Merge. Merging all changes in bidi.cpp from Webcore/125, and selected ones from Webcore/146. This results in 2182 benign changes in regression outputs. BUG: 54916 BUG: 59476 BUG: 62904 BUG: 64506 BUG: 69806 BUG: 74800 BUG: 79365 BUG: 86157 M +15 -1 ChangeLog 1.315 M +976 -592 rendering/bidi.cpp 1.197 M +25 -57 rendering/bidi.h 1.19 M +3 -3 rendering/render_block.h 1.20 M +3 -1 rendering/render_list.h 1.36 M +4 -3 rendering/render_object.h 1.198
You need to log in before you can comment on or make changes to this bug.