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

Unified Diff: LayoutTests/paint/invalidation/spv2/overflow-clip-subtree-layout.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/overflow-clip-subtree-layout.html
diff --git a/LayoutTests/fast/repaint/overflow-clip-subtree-layout.html b/LayoutTests/paint/invalidation/spv2/overflow-clip-subtree-layout.html
similarity index 56%
copy from LayoutTests/fast/repaint/overflow-clip-subtree-layout.html
copy to LayoutTests/paint/invalidation/spv2/overflow-clip-subtree-layout.html
index d638cc3e69bb6fb847c18447cf86f9cfef23b4cd..70388c247a14e794224a7e174c1150e774c41f2a 100644
--- a/LayoutTests/fast/repaint/overflow-clip-subtree-layout.html
+++ b/LayoutTests/paint/invalidation/spv2/overflow-clip-subtree-layout.html
@@ -1,14 +1,18 @@
+<!-- Based on fast/repaint/overflow-clip-subtree-layout.html -->
<head>
<title>Test for http://bugs.webkit.org/show_bug.cgi?id=15015 rdar://problem/5420308</title>
- <script src="resources/text-based-repaint.js" type="text/javascript"></script>
+ <script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
<script>
- function repaintTest()
+ window.expectedPaintInvalidationObjects = [
+ "LayoutBlockFlow DIV",
+ ];
+ function paintInvalidationTest()
{
document.getElementById("float").appendChild(document.createElement("div"));
}
</script>
</head>
-<body onload="runRepaintTest()">
+<body onload="runPaintInvalidationTest()">
<div style="width: 400px; height: 400px; border: solid;">
<div id="float" style="float: left; width: 200px; height: 200px; overflow: hidden;">
</div>

Powered by Google App Engine
This is Rietveld 408576698