Index: LayoutTests/paint/invalidation/spv2/layer-full-repaint.html |
diff --git a/LayoutTests/fast/repaint/layer-full-repaint.html b/LayoutTests/paint/invalidation/spv2/layer-full-repaint.html |
similarity index 66% |
copy from LayoutTests/fast/repaint/layer-full-repaint.html |
copy to LayoutTests/paint/invalidation/spv2/layer-full-repaint.html |
index c0de5ea9b4ec63dd254c633bc6188b3e33d1c224..17ad28c80576c944937c9b9214c8bb6b3a6f5bba 100644 |
--- a/LayoutTests/fast/repaint/layer-full-repaint.html |
+++ b/LayoutTests/paint/invalidation/spv2/layer-full-repaint.html |
@@ -1,3 +1,4 @@ |
+<!-- Based on fast/repaint/layer-full-repaint.html --> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
<head> |
@@ -15,15 +16,18 @@ |
text-shadow: red 5px 5px 0; |
} |
</style> |
- <script src="resources/text-based-repaint.js" type="text/javascript"></script> |
+ <script src="resources/paint-invalidation-test.js" type="text/javascript"></script> |
<script> |
- function repaintTest() |
+ window.expectedPaintInvalidationObjects = [ |
+ "LayoutBlockFlow (relative positioned) DIV id='test' class='selected'", |
+ ]; |
+ function paintInvalidationTest() |
{ |
document.getElementById('test').className = "selected"; |
} |
</script> |
</head> |
-<body onload="runRepaintTest();"> |
+<body onload="runPaintInvalidationTest();"> |
<div id="test"></div> |
</body> |
</html> |