Index: LayoutTests/editing/execCommand/selectAll-including-marquee-crash.html |
diff --git a/LayoutTests/editing/execCommand/selectAll-including-marquee-crash.html b/LayoutTests/editing/execCommand/selectAll-including-marquee-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..69b1c2698cf0a279e4fa38de0f33b23d0b3dcb02 |
--- /dev/null |
+++ b/LayoutTests/editing/execCommand/selectAll-including-marquee-crash.html |
@@ -0,0 +1,20 @@ |
+<!DOCTYPE html> |
+<style> |
+ marquee { |
+ padding-bottom: 1px; |
+ } |
+</style> |
+<body> |
+ <marquee> |
+ aa |
+ <table></table> |
+ </marquee> |
+ <script> |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ document.designMode = "on"; |
+ document.execCommand("SelectAll"); |
+ document.execCommand("InsertHTML", false); |
+ document.documentElement.innerHTML = '<title>a</title>This test passes if it does not crash.'; |
+ </script> |
+</body> |