[PATCH] Remove relative offset calculation from RenderImage::nodeAtPoint()

Germain Garand germain at ebooksfrance.org
Tue Mar 16 07:57:23 GMT 2010


Le dimanche 14 mars 2010, Raphael Kubo da Costa a écrit :
> Hey there,
>

Hi Raphael,

> The attached patch removes the call to RenderBox::relativePositionOffset()
> from RenderImage::nodeAtPoint(). This fixes bug 134888 [1].
>
> I'm not 100% sure it doesn't break anything -- at least my usual navigation
> is still working fine after the change here.
>

yes the patch is correct... usage of this method is likely an old leftover 
from times where nodeAtPoint wasn't going through RenderLayer (which are 
already offsets according to 'position: relative')

Thanks,
Germain




More information about the kfm-devel mailing list