Index: LayoutTests/paint/invalidation/spv2/scroll-fixed-reflected-layer.html |
diff --git a/LayoutTests/fast/repaint/scroll-fixed-reflected-layer.html b/LayoutTests/paint/invalidation/spv2/scroll-fixed-reflected-layer.html |
similarity index 61% |
copy from LayoutTests/fast/repaint/scroll-fixed-reflected-layer.html |
copy to LayoutTests/paint/invalidation/spv2/scroll-fixed-reflected-layer.html |
index 26c2077332c0651d1c5e8fe84d0ef41b8e518429..2403730e2cd84bdb18d99396c3568fcd012ad0d7 100644 |
--- a/LayoutTests/fast/repaint/scroll-fixed-reflected-layer.html |
+++ b/LayoutTests/paint/invalidation/spv2/scroll-fixed-reflected-layer.html |
@@ -1,17 +1,18 @@ |
+<!-- Based on fast/repaint/scroll-fixed-reflected-layer.html --> |
<html> |
<head> |
- <link rel="stylesheet" href="resources/default.css"></style> |
- <script src="resources/text-based-repaint.js" type="text/javascript"></script> |
+ <link rel="stylesheet" href="../../../fast/repaint/resources/default.css"></style> |
+ <script src="resources/paint-invalidation-test.js" type="text/javascript"></script> |
<script type="text/javascript"> |
- if (window.testRunner) |
- testRunner.dumpAsTextWithPixelResults(); |
- |
window.onload = function() { |
window.scrollTo(100, 180); |
- runRepaintTest(); |
+ runPaintInvalidationTest(); |
}; |
- function repaintTest() |
+ window.expectedPaintInvalidationObjects = [ |
+ "LayoutBlockFlow (positioned) DIV id='hideMe' class='absolute red'", |
+ ]; |
+ function paintInvalidationTest() |
{ |
document.getElementById("hideMe").style.zIndex = "-5"; |
} |