Index: LayoutTests/fast/multicol/remove-all-children.html |
diff --git a/LayoutTests/fast/multicol/remove-all-children.html b/LayoutTests/fast/multicol/remove-all-children.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1a61e229136489a433d54331a10adbd8cda46917 |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/remove-all-children.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<script> |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ if (window.internals) |
+ internals.settings.setRegionBasedColumnsEnabled(true); |
+ onload = function() { |
+ document.body.offsetTop; |
+ document.getElementById('child').style.display = 'none'; |
+ document.getElementById('mc').style.width = '90%'; |
+ } |
+</script> |
+<p>Make a multicol container childless. Then change its width to trigger layout of all children. PASS if no crash.</p> |
+<div id="mc" style="-webkit-columns:3;"> |
+ <div id="child">Test failed!</div> |
+</div> |