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

Unified Diff: LayoutTests/paint/invalidation/spv2/subtree-root-clip-2.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-2.html
diff --git a/LayoutTests/fast/repaint/subtree-root-clip-2.html b/LayoutTests/paint/invalidation/spv2/subtree-root-clip-2.html
similarity index 56%
copy from LayoutTests/fast/repaint/subtree-root-clip-2.html
copy to LayoutTests/paint/invalidation/spv2/subtree-root-clip-2.html
index ea5a18ba6a1eec74d5c779f46ae3e66fe447cd6c..80acba6b44dafc112071959cbb3857b9555b536c 100644
--- a/LayoutTests/fast/repaint/subtree-root-clip-2.html
+++ b/LayoutTests/paint/invalidation/spv2/subtree-root-clip-2.html
@@ -1,14 +1,19 @@
+<!-- Based on fast/repaint/subtree-root-clip-2.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 (floating) DIV",
+ "LayoutBlockFlow DIV id='target'",
+ ];
+ function paintInvalidationTest()
{
document.getElementById("target").style.width = "100px";
}
</script>
</head>
-<body onload="runRepaintTest()">
+<body onload="runPaintInvalidationTest()">
<div>
<span style="-position: relative; top: 25px; left: 25px;">
<div style="float: left; height: 100px; width: 100px; overflow: hidden; background-color: red;">

Powered by Google App Engine
This is Rietveld 408576698