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

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

SVN commit 1104042 by rkcosta:

Backport r1104041.

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.

CCBUG: 134388


 M  +0 -2      render_image.cpp  


--- branches/KDE/4.4/kdelibs/khtml/rendering/render_image.cpp #1104041:1104042
@@ -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