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

Unified Diff: LayoutTests/paint/invalidation/spv2/should-not-clip-composited-overflow-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-overflow-scrolling-layer-expected.html
diff --git a/LayoutTests/compositing/repaint/should-not-clip-composited-overflow-scrolling-layer.html b/LayoutTests/paint/invalidation/spv2/should-not-clip-composited-overflow-scrolling-layer-expected.html
similarity index 70%
copy from LayoutTests/compositing/repaint/should-not-clip-composited-overflow-scrolling-layer.html
copy to LayoutTests/paint/invalidation/spv2/should-not-clip-composited-overflow-scrolling-layer-expected.html
index 7da12d655aebb52a5c8ffc9c71fb2a4c9267a640..33e2972eb283637df6709a91e07eb6acd1748598 100644
--- a/LayoutTests/compositing/repaint/should-not-clip-composited-overflow-scrolling-layer.html
+++ b/LayoutTests/paint/invalidation/spv2/should-not-clip-composited-overflow-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() {
var container = document.getElementById('container');
container.scrollLeft = 2000;
container.scrollTop = 2000;
@@ -20,7 +16,7 @@ window.onload = runRepaintTest;
#content {
width: 5000px;
height: 5000px;
- background-color: red;
+ background-color: green;
}
</style>
<div id="container">

Powered by Google App Engine
This is Rietveld 408576698