[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
darin
darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:17:20 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 76241c272db4c69bad3c934feae069c6100f12ee
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Dec 9 23:39:56 2003 +0000
Reviewed by Dave.
- fixed 3505391: REGRESSION (100-116): pages that move cells around don't repaint correctly
* khtml/rendering/render_table.cpp: (RenderTableSection::layoutRows): Added code
similar to the code in RenderBlock::layoutBlock, but for table cells.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5734 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index cfbdf2c..a6f61dc 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,5 +1,14 @@
2003-12-09 Darin Adler <darin at apple.com>
+ Reviewed by Dave.
+
+ - fixed 3505391: REGRESSION (100-116): pages that move cells around don't repaint correctly
+
+ * khtml/rendering/render_table.cpp: (RenderTableSection::layoutRows): Added code
+ similar to the code in RenderBlock::layoutBlock, but for table cells.
+
+2003-12-09 Darin Adler <darin at apple.com>
+
Reviewed by Maciej.
* khtml/ecma/kjs_events.cpp: (JSEventListener::handleEvent): Add locking around the call to
diff --git a/WebCore/khtml/rendering/render_table.cpp b/WebCore/khtml/rendering/render_table.cpp
index 559163a..4be9d27 100644
--- a/WebCore/khtml/rendering/render_table.cpp
+++ b/WebCore/khtml/rendering/render_table.cpp
@@ -1356,6 +1356,11 @@ int RenderTableSection::layoutRows( int toAdd )
cell->setCellBottomExtra( rHeight - cell->height() - te);
}
+#ifdef INCREMENTAL_REPAINTING
+ int oldCellX = cell->xPos();
+ int oldCellY = cell->yPos();
+#endif
+
if (style()->direction()==RTL) {
cell->setPos(
table()->columnPos[(int)totalCols] -
@@ -1365,6 +1370,14 @@ int RenderTableSection::layoutRows( int toAdd )
} else {
cell->setPos( table()->columnPos[c] + leftOffset, rowPos[rindx] );
}
+
+#ifdef INCREMENTAL_REPAINTING
+ // If the cell moved, we have to repaint it as well as any floating/positioned
+ // descendants. An exception is if we need a layout. In this case, we know we're going to
+ // repaint ourselves (and the cell) anyway.
+ if (!selfNeedsLayout() && checkForRepaintDuringLayout())
+ cell->repaintDuringLayoutIfMoved(oldCellX, oldCellY);
+#endif
}
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list