Index: LayoutTests/fast/multicol/inline-children-crash.html |
diff --git a/LayoutTests/fast/multicol/inline-children-crash.html b/LayoutTests/fast/multicol/inline-children-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..22ea5d80449436942d21a72fee698e43646e4dcd |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/inline-children-crash.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<script> |
+ if (window.internals) |
+ internals.settings.setRegionBasedColumnsEnabled(true); |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ onload = function() { |
+ document.getElementById('mc').offsetTop; // trigger layout |
+ document.getElementById('mc').style.webkitColumns = 'auto'; |
+ document.getElementById('mc').style.columns = 'auto'; |
+ document.getElementById('inline').style.color = 'green'; |
+ } |
+</script> |
+<p>This test should not crash.</p> |
+<div id="mc" style="-webkit-columns:3; columns:3;"> |
+ <span id="inline">PASS</span> |
+</div> |