A regression at www.mobilmania.cz

Lars Knoll lars at trolltech.com
Wed Oct 30 08:52:02 GMT 2002


Hi Pavel,

I had a look at the page aswell, and all I could conclude is that their HTML 
is inproperly nested. I have no idea why it works in IE though, but I'd be 
really surprised if khtml from 3.0.x rendered it the way the authors 
intended.

Lars

> > > And it really worked before ? (i.e. it is in fact a regression ?)
> > >
> > > can you please do a testcase?
>
> Hi!
>   So there is the test case: http://sinux.sinus.cz/~patrol/mobilmania.html
> . I must apologise first - I was wrong when I told that it is a recent
> regression - now this problem appears in 3.0.3 konqueror too. However,
> there were cases when in 3.0.3 it was OK and in CVS wrong. They probably
> changed something on their pages.
>   I really don't understand - the original page renders OK in mozilla, but
> my test case renders wrong even in it.
>   The problem is located in the javascript. It generates (loads from
> external site) its own table but it is incorrectly nested to the html tree
> - it seems like its </td></tr></table> tags are placed AFTER the second
> table in the original file, which causes de facto that it (the second
> table) is embedded into the right column, which is wrong.
>   I did also a more simple test case, showing a similar problem:
>   http://sinux.sinus.cz/~patrol/scripttest.html . There is just one table
> containing a text element, this script and another text element, all this
> separated by <br>'s. I don't know why but the actual rendering is different
> - the first text element, the second one, and at the end, the script
> result. Why is the order changed ?
>   Maybe the script is wrong - but I don't know how to verify it.
>
>                                             With regards, Pavel Troller





More information about the kfm-devel mailing list