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

Unified Diff: LayoutTests/paint/invalidation/spv2/should-not-clip-composited-viewport-scrolling-layer-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/should-not-clip-composited-viewport-scrolling-layer-expected.html
diff --git a/LayoutTests/compositing/repaint/should-not-clip-composited-viewport-scrolling-layer.html b/LayoutTests/paint/invalidation/spv2/should-not-clip-composited-viewport-scrolling-layer-expected.html
similarity index 62%
copy from LayoutTests/compositing/repaint/should-not-clip-composited-viewport-scrolling-layer.html
copy to LayoutTests/paint/invalidation/spv2/should-not-clip-composited-viewport-scrolling-layer-expected.html
index f9206e02854ea26bba49fdd433c7cf7160c9e3c6..93461b3d0ab5f641f6f9ab9c20f5c23f80498bad 100644
--- a/LayoutTests/compositing/repaint/should-not-clip-composited-viewport-scrolling-layer.html
+++ b/LayoutTests/paint/invalidation/spv2/should-not-clip-composited-viewport-scrolling-layer-expected.html
@@ -1,10 +1,6 @@
<!DOCTYPE HTML>
-<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
<script>
-if (window.internals)
- internals.settings.setPreferCompositingToLCDTextEnabled(true);
-function repaintTest() {
- document.getElementById('content').style.backgroundColor = 'green';
+onload = function() {
window.scrollTo(2000, 2000);
}
window.onload = runRepaintTest;
@@ -13,7 +9,7 @@ window.onload = runRepaintTest;
#content {
width: 5000px;
height: 5000px;
- background-color: red;
+ background-color: green;
}
</style>
<div id="content">

Powered by Google App Engine
This is Rietveld 408576698