Index: LayoutTests/paint/invalidation/spv2/scrolling-without-painting-expected.html |
diff --git a/LayoutTests/compositing/overflow/scrolling-without-painting.html b/LayoutTests/paint/invalidation/spv2/scrolling-without-painting-expected.html |
similarity index 65% |
copy from LayoutTests/compositing/overflow/scrolling-without-painting.html |
copy to LayoutTests/paint/invalidation/spv2/scrolling-without-painting-expected.html |
index 49ad6cfc48cd53a02ce0b2d6129410d8639083db..2d5ce866607bbda0e9973f646df5f111d48e0cee 100644 |
--- a/LayoutTests/compositing/overflow/scrolling-without-painting.html |
+++ b/LayoutTests/paint/invalidation/spv2/scrolling-without-painting-expected.html |
@@ -21,18 +21,10 @@ repainting their contents. See https://bugs.webkit.org/show_bug.cgi?id=96087. |
margin-top: 25px; |
} |
</style> |
- <script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
<script type="text/javascript"> |
- if (window.internals) |
- window.internals.settings.setPreferCompositingToLCDTextEnabled(true); |
- |
- function repaintTest() { |
- // Scroll down. This should not cause any more repaints to the |
- // scrolling contents. |
+ onload = function() { |
document.getElementById('scroller').scrollTop = 25; |
- } |
- |
- runRepaintTest(); |
+ }; |
</script> |
</head> |
<body> |