Index: LayoutTests/fast/multicol/dynamic/relpos-becomes-static-has-abspos.html |
diff --git a/LayoutTests/fast/multicol/dynamic/relpos-becomes-static-has-abspos.html b/LayoutTests/fast/multicol/dynamic/relpos-becomes-static-has-abspos.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f409756c26e2663f40cfe4e3a1de001fc6acd281 |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/dynamic/relpos-becomes-static-has-abspos.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<p>There should be a blue <em>square</em> below.</p> |
+<div style="-webkit-columns:2; width:100px; background:blue;"> |
+ <div id="container" style="position:relative;"> |
+ <div style="-webkit-column-span:all; margin-bottom:100px;"></div> |
+ <div style="position:absolute;"></div> |
+ <div style="-webkit-column-span:all; margin-top:100px;"></div> |
+ </div> |
+</div> |
+<script> |
+ document.body.offsetTop; |
+ document.getElementById('container').style.position = 'static'; |
+</script> |