Index: LayoutTests/paint/invalidation/spv2/fixed-child-of-transformed-move-after-scroll-expected.html |
diff --git a/LayoutTests/fast/repaint/fixed-child-of-transformed-move-after-scroll.html b/LayoutTests/paint/invalidation/spv2/fixed-child-of-transformed-move-after-scroll-expected.html |
similarity index 50% |
copy from LayoutTests/fast/repaint/fixed-child-of-transformed-move-after-scroll.html |
copy to LayoutTests/paint/invalidation/spv2/fixed-child-of-transformed-move-after-scroll-expected.html |
index afd460564147b2d80b36440a8f8d755835b286f7..cce87606ac9cd37c7a400720ee1292bda158aafd 100644 |
--- a/LayoutTests/fast/repaint/fixed-child-of-transformed-move-after-scroll.html |
+++ b/LayoutTests/paint/invalidation/spv2/fixed-child-of-transformed-move-after-scroll-expected.html |
@@ -1,24 +1,11 @@ |
<html> |
<head> |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
- <script src="resources/text-based-repaint.js"></script> |
- <script type="text/javascript"> |
- function scrollAndRepaint() |
- { |
- scrollBy(0, 200); |
- runRepaintTest(); |
- } |
- function repaintTest() |
- { |
- document.getElementById('toMove').style.left = "150px"; |
- document.getElementById('toMove').style.backgroundColor = "green"; |
- } |
- </script> |
</head> |
- <body onload="scrollAndRepaint()" style="height: 3000px;"> |
+ <body onload="scrollBy(0, 200)" style="height: 3000px;"> |
<div style="position: absolute: top: 0; left: 0; transform: translate(0, 0);"> |
<p style="position: absolute; top: 210px">You should see a yellow rect on the left, and a green one on the right. No red pixels.</p> |
- <div id="toMove" style="width: 100px; height: 100px; background-color: red; position: fixed; top: 270px; left: 10px;"></div> |
+ <div id="toMove" style="width: 100px; height: 100px; background-color: green; position: fixed; top: 270px; left: 150px;"></div> |
<div style="width: 100px; height: 100px; background-color: yellow; position: absolute; top: 270px; left: 10px; z-index: -5;"></div> |
</div> |
</body> |