Index: LayoutTests/fast/multicol/span/change-spanner-margins.html |
diff --git a/LayoutTests/fast/multicol/span/change-spanner-margins.html b/LayoutTests/fast/multicol/span/change-spanner-margins.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5c18a0d63d5e4cfadaf11cde5a12057bfee49d9a |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/span/change-spanner-margins.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<p>Test that changing spanner margins dynamically works.</p> |
+<p>Below there should be a blue square with a thick black border, and no visible FAIL.</p> |
+<div style="-webkit-columns:3; width:20em; line-height:2em; background:black;"> |
+ FAIL<br> |
+ <div id="target" style="-webkit-column-span:all; height:14em; margin:-3em 0; background:blue;"></div> |
+ FAIL<br> |
+</div> |
+<script> |
+ onload = function() { |
+ var target = document.getElementById('target'); |
+ target.style.margin = '1em 15% 5% 3em'; |
+ } |
+</script> |