Index: LayoutTests/paint/invalidation/spv2/multicol-with-abspos.html |
diff --git a/LayoutTests/fast/repaint/multicol-with-abspos.html b/LayoutTests/paint/invalidation/spv2/multicol-with-abspos.html |
similarity index 52% |
copy from LayoutTests/fast/repaint/multicol-with-abspos.html |
copy to LayoutTests/paint/invalidation/spv2/multicol-with-abspos.html |
index 84511c41739f711b5b059827eeb9c4b9d4af312c..a229af0660d30e6efd993a9aa3cdc1042d60925e 100644 |
--- a/LayoutTests/fast/repaint/multicol-with-abspos.html |
+++ b/LayoutTests/paint/invalidation/spv2/multicol-with-abspos.html |
@@ -1,17 +1,20 @@ |
+<!-- Based on fast/repaint/multicol-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'", |
+ "LayoutText #text", |
+ "InlineTextBox 'PASS'", |
+ ]; |
+ function paintInvalidationTest() { |
var target = document.getElementById('target'); |
target.style.visibility = 'visible'; |
} |
</script> |
-<p>A green rectangle should be seen below (if tested manually, you need to click first).</p> |
-<div style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto; width:630px; height:40px; font:20px/1 ahem; color:green;"> |
+<p>A green PASS should be seen at the bottom-left corner.</p> |
+<div style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto; width:630px; height:40px; color:green;"> |
<br> |
<br> |
<br> |