Index: LayoutTests/fast/multicol/remove-style-multicol-with-nested-layers.html |
diff --git a/LayoutTests/fast/multicol/remove-style-multicol-with-nested-layers.html b/LayoutTests/fast/multicol/remove-style-multicol-with-nested-layers.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..81d283db87f850e29e9d28ae8a3bf47dd8cb3438 |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/remove-style-multicol-with-nested-layers.html |
@@ -0,0 +1,22 @@ |
+<!DOCTYPE html> |
+<style id="target"> |
+ .fragmented { -webkit-columns:3; } |
+ .layer { position:relative; } |
+</style> |
+<script> |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ if (window.internals) |
+ internals.settings.setRegionBasedColumnsEnabled(true); |
+ onload = function() { |
+ document.body.offsetTop; |
+ var target = document.getElementById('target'); |
+ target.parentNode.removeChild(target); |
+ } |
+</script> |
+<p>PASS if no crash.</p> |
+<div class="fragmented"> |
+ <div class="layer"> |
+ <div class="layer"></div> |
+ </div> |
+</div> |