Reviewed by me
authorkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Aug 2004 21:54:10 +0000 (21:54 +0000)
committerkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Aug 2004 21:54:10 +0000 (21:54 +0000)
        Added test case for <rdar://problem/3775172> Blot crashes after typing one character then deleting it

        * layout-tests/editing/deleting/delete-3775172-fix-expected.txt: Added.
        * layout-tests/editing/deleting/delete-3775172-fix.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7368 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/editing/deleting/delete-3775172-fix-expected.txt [new file with mode: 0644]
LayoutTests/editing/deleting/delete-3775172-fix.html [new file with mode: 0644]
WebCore/ChangeLog-2005-08-23

diff --git a/LayoutTests/editing/deleting/delete-3775172-fix-expected.txt b/LayoutTests/editing/deleting/delete-3775172-fix-expected.txt
new file mode 100644 (file)
index 0000000..3baa28f
--- /dev/null
@@ -0,0 +1,10 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x0
+selection is CARET:
+start:      position 0 of  of root {DIV}
+upstream:   position 0 of  of root {DIV}
+downstream: position 0 of  of root {DIV}
diff --git a/LayoutTests/editing/deleting/delete-3775172-fix.html b/LayoutTests/editing/deleting/delete-3775172-fix.html
new file mode 100644 (file)
index 0000000..e44217c
--- /dev/null
@@ -0,0 +1,27 @@
+<html> 
+<head>
+
+<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
+
+<script>
+
+function editingTest() {
+    typeCharacterCommand(); 
+    deleteCommand(); 
+}
+
+</script>
+
+<title>Editing Test</title> 
+</head> 
+<body contenteditable>
+<div id="root">
+<span id="test"></span>
+</div>
+
+<script>
+runEditingTest();
+</script>
+
+</body>
+</html>
index fc8343216632ca69eb29d505ffcf4aba0ce07d13..0d70ba51c27dd5fa46645e75b87f9815838222c4 100644 (file)
@@ -1,3 +1,12 @@
+2004-08-25  Ken Kocienda  <kocienda@apple.com>
+
+        Reviewed by me
+        
+        Added test case for <rdar://problem/3775172> Blot crashes after typing one character then deleting it
+
+        * layout-tests/editing/deleting/delete-3775172-fix-expected.txt: Added.
+        * layout-tests/editing/deleting/delete-3775172-fix.html: Added.
+
 2004-08-25  Ken Kocienda  <kocienda@apple.com>
 
         Reviewed by me