Index: LayoutTests/paint/invalidation/spv2/vertical-overflow-parent-expected.html |
diff --git a/LayoutTests/fast/repaint/vertical-overflow-parent.html b/LayoutTests/paint/invalidation/spv2/vertical-overflow-parent-expected.html |
similarity index 71% |
copy from LayoutTests/fast/repaint/vertical-overflow-parent.html |
copy to LayoutTests/paint/invalidation/spv2/vertical-overflow-parent-expected.html |
index a15032298a3f2c1aad1f1bf85ae1b2164fd97cc3..a27b366cfc7e2dfbbd28ca9ea27d9f4c184e82bc 100644 |
--- a/LayoutTests/fast/repaint/vertical-overflow-parent.html |
+++ b/LayoutTests/paint/invalidation/spv2/vertical-overflow-parent-expected.html |
@@ -19,7 +19,6 @@ |
width: 100px; |
height: 100px; |
background-color: orange; |
- visibility: hidden; |
} |
</style> |
</head> |
@@ -31,17 +30,10 @@ |
</div></div> |
An orange rect should be painted.<br/> |
In DumpRenderTree, there should be repaint logs of 100x100 rect. We don't care how many times is the log dumpped. |
- <script src="../../resources/run-after-layout-and-paint.js"></script> |
- <script src="resources/text-based-repaint.js"></script> |
<script> |
- repaintTest = function() { |
- var target = document.getElementsByClassName("target")[0]; |
- target.style.visibility = "visible"; |
- }; |
var container = document.getElementsByClassName("container")[0]; |
- runAfterLayoutAndPaint(function() { |
+ onload = function() { |
container.scrollLeft = 0; |
- runRepaintTest(); |
- }); |
+ }; |
</script> |
</body></html> |