Index: LayoutTests/fast/multicol/dynamic/block-with-abspos-video-becomes-multicol-crash.html |
diff --git a/LayoutTests/fast/multicol/dynamic/block-with-abspos-video-becomes-multicol-crash.html b/LayoutTests/fast/multicol/dynamic/block-with-abspos-video-becomes-multicol-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a2743ac4d961dba10fc49c6b5c4fdeecc5e5dae9 |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/dynamic/block-with-abspos-video-becomes-multicol-crash.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<p>Turn a block with an absolutely positioned video into a multicol container, then remove the video.</p> |
+<p>PASS if no crash or assertion failure.</p> |
+<div id="parent"> |
+ <video id="child" style="position:absolute;"></video> |
+</div> |
+ |
+<script> |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ document.body.offsetTop; |
+ document.getElementById("parent").style.webkitColumns = "2"; |
+ document.body.offsetTop; |
+ document.getElementById("child").style.display = "none"; |
+</script> |