Bug 69935

Summary: [test case] KHTML breaks when rendering <html dir="rtl"> (regression)
Product: [Applications] konqueror Reporter: Oded Arbel <oded>
Component: khtml rendererAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: grave    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: test case

Description Oded Arbel 2003-12-09 16:58:11 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.3.1 
OS:          Linux

When trying to render even simple pages with dir="rtl" in the <html> tag, khtml behaves very abronmally, and fails to display the page.

The display jitter erraticly but I think what happens is that khtml decides the page it too wide and adds a horizontal scroll bar. as a result it decides its too high and adds a vertical scroll bar. then for some reason it removes both scroll bars and then starts the process again. it all happens very quickly so I can't be sure.

This is a regression. at the past this situation would rerely happen, and was hard to reproduce. with current CVS I can reproduce it simply by having a file with dir="rtl" in the HTML tag.
Comment 1 Oded Arbel 2003-12-09 16:58:50 UTC
Created attachment 3632 [details]
test case

test case that triggers this effect on my computer.
Comment 2 Thiago Macieira 2003-12-10 00:08:50 UTC
Confirmed for HEAD 20031201.
Comment 3 Stephan Kulow 2003-12-10 10:37:44 UTC
I guess it's a duplicate of the other "scrollbar flicker" bug.
Comment 4 Oded Arbel 2003-12-11 13:08:29 UTC
This is the same behavior as Bug 69613 's latest test case. although it is caused by different HTML, and IMO the test case in this bug is more common (specifically, squirellmail uses this when its language is set to either Arabic or Hebrew).

I suggest to leave both bugs open.
Comment 5 Stephan Kulow 2004-01-12 00:11:09 UTC

*** This bug has been marked as a duplicate of 68268 ***
Comment 6 Oded Arbel 2004-01-12 09:09:23 UTC
I don't think this bug is the same as Bug 68268.
in 68268 KHTML starts flashing without showing anything from the file. in this bug the document is loaded properly, is partially rendered properly and then the scrollbars start flashing. for example - if the test case in 68268 had links, I wouldn't be able to follow them outside, while in this bug I would be able to click on them.

Even if it is the same bug, I suggest to close 68268 amd leave this one open as it has by far the simpler and more common test case. 
Comment 7 Stephan Kulow 2004-01-13 09:09:32 UTC
for what it's worth: the bug is fixed for 3.2
Comment 8 Oded Arbel 2004-01-13 14:50:04 UTC
Do you mean "it is already fixed in the CVS branch of 3.2" or "it will be fixed by the time 3.2 is released" ?

Because in HEAD 20040111 its still broken.
Comment 9 Stephan Kulow 2004-01-13 21:42:30 UTC
Subject: Re:  [test case] KHTML breaks when rendering <html dir="rtl"> (regression)

Am Dienstag 13 Januar 2004 14:50 schrieb Oded Arbel:
> Because in HEAD 20040111 its still broken.
That's 2 days old! :)

Greetings, Stephan