Index: LayoutTests/paint/invalidation/spv2/add-table-overpaint.html |
diff --git a/LayoutTests/fast/repaint/add-table-overpaint.html b/LayoutTests/paint/invalidation/spv2/add-table-overpaint.html |
similarity index 54% |
copy from LayoutTests/fast/repaint/add-table-overpaint.html |
copy to LayoutTests/paint/invalidation/spv2/add-table-overpaint.html |
index d2da3d10412332aa1fd71cded3e0c02ba788d277..3b9604d37232c9e44a6eef69be663099e98ed9a4 100644 |
--- a/LayoutTests/fast/repaint/add-table-overpaint.html |
+++ b/LayoutTests/paint/invalidation/spv2/add-table-overpaint.html |
@@ -1,8 +1,9 @@ |
+<!-- Based on fast/repaint/add-table-overpaint.html --> |
<!DOCTYPE html> |
<html> |
-<body onload="runRepaintTest()" style="margin: 0px"> |
-<script src="resources/text-based-repaint.js"></script> |
+<body onload="runPaintInvalidationTest()" style="margin: 0px"> |
+<script src="resources/paint-invalidation-test.js"></script> |
<style> |
td { |
height: 150px; |
@@ -20,9 +21,15 @@ function addTable() { |
} |
addTable(); |
addTable(); |
-if (window.testRunner) |
- testRunner.dumpAsTextWithPixelResults(); // We don't care about the rendering tree dump, just the pixel dump. |
-function repaintTest() { |
+window.expectedPaintInvalidationObjects = [ |
+ "LayoutBlockFlow DIV", |
+ "LayoutTable TABLE", |
+ "LayoutTableCell TD", |
+ "LayoutTableSection TBODY", |
+ "LayoutTableRow TR", |
+ "LayoutTableCell TD", |
+]; |
+function paintInvalidationTest() { |
addTable(); |
} |
</script> |