Index: LayoutTests/fast/repaint/multicol-with-relpos.html |
diff --git a/LayoutTests/fast/repaint/multicol-with-relpos.html b/LayoutTests/fast/repaint/multicol-with-relpos.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b4d8ba59aad7c26df575162d83ad1b3f4fe85518 |
--- /dev/null |
+++ b/LayoutTests/fast/repaint/multicol-with-relpos.html |
@@ -0,0 +1,24 @@ |
+<!DOCTYPE html> |
+<script src="resources/text-based-repaint.js"></script> |
+<script> |
+ if (window.internals) { |
+ internals.settings.setRegionBasedColumnsEnabled(true); |
+ onload = runRepaintTest; |
+ } else { |
+ onclick = repaintTest; |
+ } |
+ function repaintTest() { |
+ var target = document.getElementById('target'); |
+ target.style.visibility = 'visible'; |
+ } |
+</script> |
+<div style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto; width:630px; height:40px; font:20px/1 ahem; color:green;"> |
+ <br> |
+ <br> |
+ <br> |
+ <br> |
+ <br> |
+ <br> |
+ <div id="target" style="position:relative; left:20px; top:20px; height:20px; visibility:hidden; background:green;"></div> |
+</div> |
+<p>A green rectangle should be seen above (if tested manually, you need to click first).</p> |