Index: LayoutTests/fast/repaint/multicol-with-abspos.html |
diff --git a/LayoutTests/fast/repaint/multicol-with-abspos.html b/LayoutTests/fast/repaint/multicol-with-abspos.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..206f4d1bc535cd05178a7db87b2987b449a198e0 |
--- /dev/null |
+++ b/LayoutTests/fast/repaint/multicol-with-abspos.html |
@@ -0,0 +1,26 @@ |
+<!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> |
+<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;"> |
+ <br> |
+ <br> |
+ <br> |
+ <br> |
+ <br> |
+ <br> |
+ <!-- This absolutely positioned box is not part of the flow thread, since the nearest |
+ non-statically positioned box is further up than that. --> |
+ <div id="target" style="position:absolute; left:0; bottom:0; visibility:hidden;">PASS</div> |
+</div> |