Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(458)

Unified Diff: LayoutTests/editing/inserting/insert-html-crash-01.html

Issue 16053005: Avoid removing destination during moving paragrahs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 2013-07-11T15:13:49 Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/editing/inserting/insert-html-crash-01-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/editing/inserting/insert-html-crash-01-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698