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> |