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

Unified Diff: LayoutTests/paint/invalidation/spv2/transform-absolute-child.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/transform-absolute-child.html
diff --git a/LayoutTests/fast/repaint/transform-absolute-child.html b/LayoutTests/paint/invalidation/spv2/transform-absolute-child.html
similarity index 68%
copy from LayoutTests/fast/repaint/transform-absolute-child.html
copy to LayoutTests/paint/invalidation/spv2/transform-absolute-child.html
index f11419a51dced5f0dbd3b62220f1e64f349b9726..52d4c631200de795c2fe7a824db2b541e910452d 100644
--- a/LayoutTests/fast/repaint/transform-absolute-child.html
+++ b/LayoutTests/paint/invalidation/spv2/transform-absolute-child.html
@@ -1,3 +1,4 @@
+<!-- Based on fast/repaint/transform-absolute-child.html -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
@@ -25,15 +26,19 @@
background-color: gray;
}
</style>
- <script src="resources/text-based-repaint.js" type="text/javascript" charset="utf-8"></script>
+ <script src="resources/paint-invalidation-test.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
- function repaintTest()
+ window.expectedPaintInvalidationObjects = [
+ "LayoutBlockFlow (relative positioned) DIV id='box' class='rotated'",
+ "LayoutBlockFlow (positioned) DIV id='child'",
+ ];
+ function paintInvalidationTest()
{
document.getElementById('box').className = 'rotated';
}
</script>
</head>
-<body onload="runRepaintTest()">
+<body onload="runPaintInvalidationTest()">
<div id="box">
<div id="child">
</div>

Powered by Google App Engine
This is Rietveld 408576698