Index: LayoutTests/fast/multicol/static-child-becomes-fixedpos.html |
diff --git a/LayoutTests/fast/multicol/static-child-becomes-fixedpos.html b/LayoutTests/fast/multicol/static-child-becomes-fixedpos.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a19b49681b4797cb9196bf31c2584d7fba266d77 |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/static-child-becomes-fixedpos.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<p>Change a static positioned child of an otherwise empty multicol container to fixed positioned.</p> |
+<p>There should be a blue <em>square</em> below.</p> |
+<div style="-webkit-columns:2; width:100px; background:blue;"> |
+ <div style="-webkit-column-span:all; margin-bottom:100px;"></div> |
+ <div id="elm"> |
+ <br> |
+ </div> |
+ <div style="-webkit-column-span:all; margin-top:100px;"></div> |
+</div> |
+<script> |
+ document.body.offsetTop; |
+ document.getElementById("elm").style.position = "absolute"; |
+</script> |