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

Unified Diff: LayoutTests/paint/invalidation/spv2/subtree-root-clip-3.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/subtree-root-clip-3.html
diff --git a/LayoutTests/fast/repaint/subtree-root-clip-3.html b/LayoutTests/paint/invalidation/spv2/subtree-root-clip-3.html
similarity index 57%
copy from LayoutTests/fast/repaint/subtree-root-clip-3.html
copy to LayoutTests/paint/invalidation/spv2/subtree-root-clip-3.html
index 756118cd3e9794b05c3dfe20cd7feaa33b2d678e..0075187eb18573a2579395b868e51fe7ad792741 100644
--- a/LayoutTests/fast/repaint/subtree-root-clip-3.html
+++ b/LayoutTests/paint/invalidation/spv2/subtree-root-clip-3.html
@@ -1,14 +1,19 @@
+<!-- Based on fast/repaint/subtree-root-clip-3.html -->
<html>
<head>
- <script src="resources/text-based-repaint.js"></script>
+ <script src="resources/paint-invalidation-test.js"></script>
<script>
- function repaintTest()
+ window.expectedPaintInvalidationObjects = [
+ "LayoutBlockFlow DIV",
+ "LayoutBlockFlow DIV id='target'",
+ ];
+ function paintInvalidationTest()
{
document.getElementById("target").style.width = "100px";
}
</script>
</head>
-<body onload="runRepaintTest()">
+<body onload="runPaintInvalidationTest()">
<table>
<tr>
<td style="height: 200px;"></td>

Powered by Google App Engine
This is Rietveld 408576698