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

Unified Diff: LayoutTests/paint/invalidation/spv2/scroll-fixed-squahed-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/scroll-fixed-squahed-layer-expected.html
diff --git a/LayoutTests/compositing/repaint/scroll-fixed-squahed-layer.html b/LayoutTests/paint/invalidation/spv2/scroll-fixed-squahed-layer-expected.html
similarity index 55%
copy from LayoutTests/compositing/repaint/scroll-fixed-squahed-layer.html
copy to LayoutTests/paint/invalidation/spv2/scroll-fixed-squahed-layer-expected.html
index 294a468cedff3b37195d7bbe8648d3a8a070fcca..5e8748333a751f983c44a3a8124cdad236e73b47 100644
--- a/LayoutTests/compositing/repaint/scroll-fixed-squahed-layer.html
+++ b/LayoutTests/paint/invalidation/spv2/scroll-fixed-squahed-layer-expected.html
@@ -1,11 +1,10 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
<style>
.main {
- position: fixed;
- top: 100px;
+ position: absolute;
+ top: 200px;
left: 100px;
width: 200px;
height: 200px;
@@ -14,8 +13,8 @@
}
.squahed {
- position: fixed;
- top: 150px;
+ position: absolute;
+ top: 250px;
left: 100px;
width: 200px;
height: 200px;
@@ -23,15 +22,12 @@
}
</style>
<script>
-if (window.internals)
- internals.settings.setPreferCompositingToLCDTextEnabled(false);
-
-function repaintTest() {
+onload = function() {
window.scrollTo(0, 100);
}
</script>
</head>
-<body style="height:2000px" onload="runRepaintTest()">
+<body style="height:2000px">
<div class="main"></div>
<div class="squahed"></div>
</body>

Powered by Google App Engine
This is Rietveld 408576698