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

Unified Diff: LayoutTests/paint/invalidation/spv2/change-transform.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/change-transform.html
diff --git a/LayoutTests/fast/repaint/change-transform.html b/LayoutTests/paint/invalidation/spv2/change-transform.html
similarity index 74%
copy from LayoutTests/fast/repaint/change-transform.html
copy to LayoutTests/paint/invalidation/spv2/change-transform.html
index 3e0edb9d2f2096e9908e4eb0eabd61f61b070166..c5e1fae3fd838fb275e1b2cee19f1dc1a48dba2b 100644
--- a/LayoutTests/fast/repaint/change-transform.html
+++ b/LayoutTests/paint/invalidation/spv2/change-transform.html
@@ -1,8 +1,12 @@
+<!-- Based on fast/repaint/change-transform.html -->
<html>
<head>
- <script src="resources/text-based-repaint.js"></script>
+ <script src="resources/paint-invalidation-test.js"></script>
<script type="text/javascript" charset="utf-8">
- function repaintTest()
+ window.expectedPaintInvalidationObjects = [
+ "LayoutBlockFlow DIV id='square'",
+ ];
+ function paintInvalidationTest()
{
var target = document.getElementById("square");
target.style.webkitTransform = "scale(0.5, 0.5)";
@@ -27,7 +31,7 @@
}
</style>
</head>
-<body onload="runRepaintTest()">
+<body onload="runPaintInvalidationTest()">
<div id="square"></div>
<div id="overlay"></div>

Powered by Google App Engine
This is Rietveld 408576698