Reviewed by me
Added a few more editing-related layout tests.
* layout-tests/editing/inserting/insert-3654864-fix-expected.txt: Added.
* layout-tests/editing/inserting/insert-3654864-fix.html: Added.
* layout-tests/editing/inserting/insert-3659587-fix-expected.txt: Added.
* layout-tests/editing/inserting/insert-3659587-fix.html: Added.
* layout-tests/editing/inserting/insert-after-delete-001-expected.txt: Added.
* layout-tests/editing/inserting/insert-after-delete-001.html: Added.
* layout-tests/editing/inserting/insert-br-case1-expected.txt: Added.
* layout-tests/editing/inserting/insert-br-case1.html: Added.
* layout-tests/editing/inserting/insert-br-case2-expected.txt: Added.
* layout-tests/editing/inserting/insert-br-case2.html: Added.
* layout-tests/editing/inserting/insert-br-case3-expected.txt: Added.
* layout-tests/editing/inserting/insert-br-case3.html: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/editing/inserting/insert-3659587-fix.html b/LayoutTests/editing/inserting/insert-3659587-fix.html
new file mode 100644
index 0000000..21f4844
--- /dev/null
+++ b/LayoutTests/editing/inserting/insert-3659587-fix.html
@@ -0,0 +1,45 @@
+<html>
+<head>
+
+<style>
+.editing {
+ border: 2px solid red;
+ padding: 12px;
+ font-size: 24px;
+}
+</style>
+<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
+
+<script>
+
+function editingTest() {
+ for (i = 0; i < 3; i++) {
+ typeCharacterCommand();
+ }
+ selectAllCommand();
+ boldCommand();
+ moveSelectionForwardByCharacterCommand();
+ for (i = 0; i < 3; i++) {
+ typeCharacterCommand();
+ }
+ insertNewlineCommand();
+ for (i = 0; i < 3; i++) {
+ typeCharacterCommand();
+ }
+}
+
+</script>
+
+<title>Editing Test</title>
+</head>
+<body>
+<div contenteditable id="root" class="editing">
+<span id="test">test</span>
+</div>
+
+<script>
+runEditingTest();
+</script>
+
+</body>
+</html>