Index: LayoutTests/editing/inserting/insert-html-crash-01.html |
diff --git a/LayoutTests/editing/inserting/insert-html-crash-01.html b/LayoutTests/editing/inserting/insert-html-crash-01.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9bfd1d5197ea8f32b1bb3757ac5b726db55a68da |
--- /dev/null |
+++ b/LayoutTests/editing/inserting/insert-html-crash-01.html |
@@ -0,0 +1,20 @@ |
+<html> |
+<script src="../../fast/js/resources/js-test-pre.js"></script> |
+<div id="editable" contenteditable="true"> |
+Foo |
+<div style="overflow:scroll;"> |
+<div style="display:table"></div> |
+</div> |
+</div> |
+<script> |
+var editable = document.getElementById('editable'); |
+editable.focus(); |
+document.execCommand('SelectAll'); |
+document.execCommand('InsertText', false, 'SUCCEEDED'); |
+document.execCommand('SelectAll'); |
+testPassed('Not crashed'); |
+if (window.testRunner) |
+ editable.outerHTML = ''; |
+</script> |
+<script src="../../fast/js/resources/js-test-post.js"></script> |
+</html> |