Index: LayoutTests/fast/multicol/dynamic/change-spanner-parent-display.html |
diff --git a/LayoutTests/fast/multicol/dynamic/change-spanner-parent-display.html b/LayoutTests/fast/multicol/dynamic/change-spanner-parent-display.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5bb8e1a1c00c44901df8de1d3d68101eeff51419 |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/dynamic/change-spanner-parent-display.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<script> |
+ onload = function() { |
+ var elm = document.getElementById('elm'); |
+ document.body.offsetTop; // trigger layout |
+ elm.style.display = 'inline'; |
+ } |
+</script> |
+<p>Test changing the parent of a spanner from block to inline.</p> |
+<p>You should see two lines with the word "PASS" below.</p> |
+<div style="-webkit-columns:3; column-fill:auto; height:5em;"> |
+ <div id="elm"> |
+ <div style="-webkit-column-span:all;">PASS</div> |
+ PA</div>SS |
+</div> |