Small test case for bug in renderer floats

Koos Vriezen koos.vriezen at xs4all.nl
Thu Aug 8 16:56:26 BST 2002


On Thu, 8 Aug 2002, Vadim Plessky wrote:

> On Thursday 08 August 2002 12:24 am, Koos Vriezen wrote:

> Rendering in Konq/KDE 3.0.2 and Mozilla 1.0 is *different*.
> Pls compare by yourself. (I don't run HEAD CVS and haven't tested your patch)

I only run HEAD.

> you can see with help of borders around <div> and <table> , that in Mozilla
> both <div> and <table> start at the same horizontal line, while in Konqueror
> <table> is placed *above* (starts before) <div>.

Good news, in HEAD it's rendered the same as mozilla; DIV and TABLE are
starting on the same line (tested it with my posted patch).

> |  The floating table can go over the text in the div. Also it behaves
> |  erratically, if the mouse hovers the link.
>
> Do you have same behavior on modified testcase?
> Can you add :hover class to anchor, and see wether this helps to identify
> wrong piece of code?

I think this erratical behaviour is some other bug. Seen it on
list.kde.org too. What imo happens is that if the mouse hovers a link it
gets underlined. This triggers a relayout, such that the mouse is not
above this link anymore. So the link is not underlined anymore and a
relayout occurs. Now the mouse is on top of a link etc. etc.
Somehow the dimensions of an underlined link is different than when its
not underlined, causing this behaviour in some cases.

Regards,

Koos





More information about the kfm-devel mailing list