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