Index: LayoutTests/paint/invalidation/spv2/horizontal-bt-overflow-same-expected.html |
diff --git a/LayoutTests/fast/repaint/horizontal-bt-overflow-same.html b/LayoutTests/paint/invalidation/spv2/horizontal-bt-overflow-same-expected.html |
similarity index 70% |
copy from LayoutTests/fast/repaint/horizontal-bt-overflow-same.html |
copy to LayoutTests/paint/invalidation/spv2/horizontal-bt-overflow-same-expected.html |
index 8f191a15201531d14516dc987cc2fde4957b3046..a24c88986410e731346efc7c2d3659307aad505b 100644 |
--- a/LayoutTests/fast/repaint/horizontal-bt-overflow-same.html |
+++ b/LayoutTests/paint/invalidation/spv2/horizontal-bt-overflow-same-expected.html |
@@ -19,7 +19,6 @@ |
width: 100px; |
height: 100px; |
background-color: orange; |
- visibility: hidden; |
} |
</style> |
</head> |
@@ -30,17 +29,10 @@ |
</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.scrollTop = 0; |
- runRepaintTest(); |
- }); |
+ }; |
</script> |
</body></html> |