Index: LayoutTests/paint/invalidation/spv2/repaint-table-row-in-composited-document.html |
diff --git a/LayoutTests/fast/repaint/repaint-table-row-in-composited-document.html b/LayoutTests/paint/invalidation/spv2/repaint-table-row-in-composited-document.html |
similarity index 63% |
copy from LayoutTests/fast/repaint/repaint-table-row-in-composited-document.html |
copy to LayoutTests/paint/invalidation/spv2/repaint-table-row-in-composited-document.html |
index e6360390058e83e90bc8ed2a5cd805b6b90852de..f5be754e3904aa49cae29df9083a1cde37f7768a 100644 |
--- a/LayoutTests/fast/repaint/repaint-table-row-in-composited-document.html |
+++ b/LayoutTests/paint/invalidation/spv2/repaint-table-row-in-composited-document.html |
@@ -1,7 +1,8 @@ |
+<!-- Based on fast/repaint/repaint-table-row-in-composited-document.html --> |
<!DOCTYPE html> |
<html> |
<head> |
-<script src="resources/text-based-repaint.js" type="text/javascript"></script> |
+<script src="resources/paint-invalidation-test.js" type="text/javascript"></script> |
<style> |
td { |
width: 200px; |
@@ -12,7 +13,13 @@ body { |
} |
</style> |
<script type="text/javascript"> |
-function repaintTest() |
+window.expectedPaintInvalidationObjects = [ |
+ "LayoutTableCell TD id='target'", |
+ "LayoutTableRow TR", |
+ "LayoutTableCell TD", |
+ "LayoutTableCell TD", |
+]; |
+function paintInvalidationTest() |
{ |
// The sizes on this test are deliberate to ensure that we don't trigger |
// any repaints within the tile the green td starts in, otherwise the |
@@ -23,7 +30,7 @@ function repaintTest() |
} |
</script> |
</head> |
-<body onload="runRepaintTest();"> |
+<body onload="runPaintInvalidationTest();"> |
<table> |
<tr> |
<td id="target"> |