Index: LayoutTests/paint/invalidation/spv2/fixed-move-after-scroll.html |
diff --git a/LayoutTests/fast/repaint/fixed-move-after-scroll.html b/LayoutTests/paint/invalidation/spv2/fixed-move-after-scroll.html |
similarity index 72% |
copy from LayoutTests/fast/repaint/fixed-move-after-scroll.html |
copy to LayoutTests/paint/invalidation/spv2/fixed-move-after-scroll.html |
index 8d2cd1627cdfab0f7211de47b8de5ce172f49732..8f0c5887d020b71793bb0d460ecdc3b01c84dbb4 100644 |
--- a/LayoutTests/fast/repaint/fixed-move-after-scroll.html |
+++ b/LayoutTests/paint/invalidation/spv2/fixed-move-after-scroll.html |
@@ -1,14 +1,18 @@ |
+<!-- Based on fast/repaint/fixed-move-after-scroll.html --> |
<html> |
<head> |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
- <script src="resources/text-based-repaint.js"></script> |
+ <script src="resources/paint-invalidation-test.js"></script> |
<script type="text/javascript"> |
function scrollAndRepaint() |
{ |
scrollBy(0, 200); |
- runRepaintTest(); |
+ runPaintInvalidationTest(); |
} |
- function repaintTest() |
+ window.expectedPaintInvalidationObjects = [ |
+ "LayoutBlockFlow (positioned) DIV id='toMove'", |
+ ]; |
+ function paintInvalidationTest() |
{ |
document.getElementById('toMove').style.left = "150px"; |
document.getElementById('toMove').style.backgroundColor = "green"; |