Index: LayoutTests/paint/invalidation/spv2/table-outer-border.html |
diff --git a/LayoutTests/fast/repaint/table-outer-border.html b/LayoutTests/paint/invalidation/spv2/table-outer-border.html |
similarity index 56% |
copy from LayoutTests/fast/repaint/table-outer-border.html |
copy to LayoutTests/paint/invalidation/spv2/table-outer-border.html |
index bafdb2f6335a7152e59c42fdc55ec41b62ae14a1..117ded392a28d0808f75d5df1271af86284fac91 100644 |
--- a/LayoutTests/fast/repaint/table-outer-border.html |
+++ b/LayoutTests/paint/invalidation/spv2/table-outer-border.html |
@@ -1,3 +1,4 @@ |
+<!-- Based on fast/repaint/table-outer-border.html --> |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
<html> |
<head> |
@@ -18,9 +19,27 @@ |
border-color: green; |
} |
</style> |
- <script src="resources/text-based-repaint.js"></script> |
+ <script src="resources/paint-invalidation-test.js"></script> |
<script> |
- function repaintTest() |
+ window.expectedPaintInvalidationObjects = [ |
+ "LayoutTableCell TD", |
+ "LayoutTableRow TR", |
+ "LayoutTableCell TD", |
+ "LayoutTableRow TR", |
+ "LayoutTableSection TBODY", |
+ "LayoutTable TABLE id='table'", |
+ "LayoutTableCell TD", |
+ "LayoutTableCell TD", |
+ "LayoutTable TABLE id='table' class='green'", |
+ "LayoutTableCell TD", |
+ "LayoutTableCell TD", |
+ "LayoutTableSection TBODY", |
+ "LayoutTableRow TR", |
+ "LayoutTableCell TD", |
+ "LayoutTableRow TR", |
+ "LayoutTableCell TD", |
+ ]; |
+ function paintInvalidationTest() |
{ |
var container = document.getElementById('container'); |
var table = document.getElementById('table'); |
@@ -30,7 +49,7 @@ |
} |
</script> |
</head> |
-<body onload="runRepaintTest();"> |
+<body onload="runPaintInvalidationTest();"> |
<div id="container" style="width: 500px;"> |
<table id="table"> |
<tr> |