Index: LayoutTests/paint/invalidation/spv2/multicol-relpos-with-abspos.html |
diff --git a/LayoutTests/fast/repaint/multicol-relpos-with-abspos.html b/LayoutTests/paint/invalidation/spv2/multicol-relpos-with-abspos.html |
similarity index 52% |
copy from LayoutTests/fast/repaint/multicol-relpos-with-abspos.html |
copy to LayoutTests/paint/invalidation/spv2/multicol-relpos-with-abspos.html |
index 353c892b0d3a0afe4921b62c2a3efd3d7befe89e..4d12a9d76ac87a207aca389842c42b35db981f34 100644 |
--- a/LayoutTests/fast/repaint/multicol-relpos-with-abspos.html |
+++ b/LayoutTests/paint/invalidation/spv2/multicol-relpos-with-abspos.html |
@@ -1,11 +1,12 @@ |
+<!-- Based on fast/repaint/multicol-relpos-with-abspos.html --> |
<!DOCTYPE html> |
-<script src="resources/text-based-repaint.js"></script> |
+<script src="resources/paint-invalidation-test.js"></script> |
<script> |
- if (window.internals) |
- onload = runRepaintTest; |
- else |
- onclick = repaintTest; |
- function repaintTest() { |
+ onload = runPaintInvalidationTest; |
+ window.expectedPaintInvalidationObjects = [ |
+ "LayoutBlockFlow (positioned) DIV id='target'", |
+ ]; |
+ function paintInvalidationTest() { |
var target = document.getElementById('target'); |
target.style.visibility = 'visible'; |
} |
@@ -13,4 +14,4 @@ |
<div style="position:relative; -webkit-columns:4; -webkit-column-gap:10px; width:630px; height:40px; column-fill:auto;"> |
<div id="target" style="position:absolute; width:20px; height:20px; right:0; bottom:0; visibility:hidden; background:green;"></div> |
</div> |
-<p>A green square should be seen above (if tested manually, you need to click first).</p> |
+<p>A green rectangle should be seen above.</p> |