[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/khtml/rendering
From:       Raphael Kubo da Costa <kubito () gmail ! com>
Date:       2010-03-16 14:53:13
Message-ID: 1268751193.491293.19115.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1104041 by rkcosta:

Do not call RenderBox::relativePositionOffset() from RenderImage::nodeAtPoint().

That call, acording to Germain, is likely to be a remnant of the times when \
nodeAtPoint didn't pass through RenderLayer.

BUG: 134388


 M  +0 -2      render_image.cpp  


--- trunk/KDE/kdelibs/khtml/rendering/render_image.cpp #1104040:1104041
@@ -383,8 +383,6 @@
     if (inside && element()) {
         int tx = _tx + m_x;
         int ty = _ty + m_y;
-        if (isRelPositioned())
-            relativePositionOffset(tx, ty);
 
         HTMLImageElementImpl* i = element()->id() == ID_IMG ? \
static_cast<HTMLImageElementImpl*>(element()) : 0;  HTMLMapElementImpl* map;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic