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