[PATCH] a fix for bug #42681 : CSS positionning : relative translations don't apply to HREF links

Germain Garand germain at ebooksfrance.com
Fri Jul 5 16:00:01 BST 2002


Hello there,

I'm quite new to KDE development (got in a few weeks ago for the PerlQt/Smoke 
project) so I'm not very used to the bug fixes process.
Anyway, I've started investigating my old bug reports for Khtml and here is  a 
first result :

Bug #42681 is due to a problem in RenderObject::nodeAtPoint()  
(render_object.cpp)

This method tells if the current mouse coordinates translates to the inside of 
a box which contains a link (->hasLink() ).
In other words, it decides if the cursor should change to reflect a "mouse 
hover" on a link.

It iterates over all childs of the node to find the inner one that has a link.
The problem is : it only takes Relatively Positioned boxes into account for 
the parent node and then call itself recursively ignoring the translation 
that occured in coordinates.

So the patch is just one line : could you please review and tell me if I shall 
commit ?

Cheers,
Germain

-------------- next part --------------
A non-text attachment was scrubbed...
Name: render_object.cpp.patch
Type: text/x-diff
Size: 874 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20020705/d440c8b0/attachment.patch>


More information about the kfm-devel mailing list