[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/khtml/rendering
From: İsmail Dönmez <ismail () kde ! org>
Date: 2006-10-07 10:40:15
Message-ID: 1160217615.701052.20828.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 593248 by cartman:
backport revision 593247
M +4 -3 render_layer.cpp
--- branches/KDE/3.5/kdelibs/khtml/rendering/render_layer.cpp #593247:593248
@@ -140,7 +140,8 @@
y += curr->yPos();
curr = curr->parent();
}
- y += curr->borderTopExtra();
+ if (curr)
+ y += curr->borderTopExtra();
}
if (m_object->isRelPositioned())
@@ -722,7 +723,7 @@
{
int rightPos = m_object->rightmostPosition(true);
int bottomPos = m_object->lowestPosition(true);
-
+
/* TODO
m_scrollLeft = m_object->leftmostPosition(true);
m_scrollTop = m_object->highestPosition(true);
@@ -1474,7 +1475,7 @@
if (shouldPaint)
write(ts, *l, layerBounds, damageRect, clipRectToApply, negList && \
negList->count() > 0, indent);
-
+
if (ovfList) {
for (QValueList<RenderLayer*>::iterator it = ovfList->begin(); it != \
ovfList->end(); ++it) writeLayers(ts, rootLayer, *it, paintDirtyRect, indent);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic