Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Unified Diff: LayoutTests/paint/invalidation/spv2/scrolling-without-painting-expected.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698