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

Unified Diff: LayoutTests/paint/invalidation/spv2/resize-repaint.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/resize-repaint.html
diff --git a/LayoutTests/compositing/repaint/resize-repaint.html b/LayoutTests/paint/invalidation/spv2/resize-repaint.html
similarity index 63%
copy from LayoutTests/compositing/repaint/resize-repaint.html
copy to LayoutTests/paint/invalidation/spv2/resize-repaint.html
index fc5890cd68033f8ec5cf997b9a413a1f9f577de2..fee30088d5bfdb86a949cf651410f03ea97425e8 100644
--- a/LayoutTests/compositing/repaint/resize-repaint.html
+++ b/LayoutTests/paint/invalidation/spv2/resize-repaint.html
@@ -1,3 +1,4 @@
+<!-- Based on compositing/repaint/resize-repaint.html -->
<!DOCTYPE html>
<html>
@@ -15,9 +16,14 @@
background-color: silver;
}
</style>
- <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+ <script src="resources/paint-invalidation-test.js"></script>
<script>
- function repaintTest()
+ window.expectedPaintInvalidationObjects = [
+ "LayoutBlockFlow DIV id='resizing'",
+ "LayoutBlockFlow DIV",
+ "LayoutBlockFlow DIV",
+ ];
+ function paintInvalidationTest()
{
var resizingDiv = document.getElementById('resizing');
@@ -27,7 +33,7 @@
}
}
- window.onload = runRepaintTest;
+ window.onload = runPaintInvalidationTest;
</script>
</head>
<body>

Powered by Google App Engine
This is Rietveld 408576698