Index: LayoutTests/fast/multicol/fixedpos-child-becomes-static.html |
diff --git a/LayoutTests/fast/multicol/fixedpos-child-becomes-static.html b/LayoutTests/fast/multicol/fixedpos-child-becomes-static.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a10601d29165cd2478655b5c9ba7f3e7cce442ae |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/fixedpos-child-becomes-static.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<p>Change a fixed positioned child of an otherwise empty multicol container to static positioned.</p> |
+<p>Below you should see the word "PASS" with large letter spacing on a yellow background.</p> |
+<div style="-webkit-columns:4; -webkit-column-gap:0; width:4em; background:yellow;"> |
+ <div id="elm" style="position:absolute;"> |
+ P<br> |
+ A<br> |
+ S<br> |
+ S<br> |
+ </div> |
+</div> |
+<script> |
+ document.body.offsetTop; |
+ document.getElementById("elm").style.position = "static"; |
+</script> |