Reviewed by John
[WebKit-https.git] / WebCore / ChangeLog-2005-08-23
index bcc910bbcc6ccf84395a6ae0cb391fd098d60fab..658de647806219517a8f540c738def5e587dbcce 100644 (file)
@@ -1,3 +1,20 @@
+2004-12-21  Ken Kocienda  <kocienda@apple.com>
+
+        Reviewed by John
+
+        Fix for this bug:
+        
+        <rdar://problem/3928305> selecting an entire line and typing over causes new inserted text at top of document
+
+        * khtml/editing/htmlediting.cpp:
+        (khtml::DeleteSelectionCommand::insertPlaceholderForAncestorBlockContent): New function to detect case
+        formerly undetected and unhandled. This is the crux of the bug fix.
+        (khtml::DeleteSelectionCommand::doApply): Call insertPlaceholderForAncestorBlockContent() during
+        execution of command.
+        * khtml/editing/htmlediting.h: Declare new function.
+        * layout-tests/editing/deleting/delete-3928305-fix-expected.txt: Added.
+        * layout-tests/editing/deleting/delete-3928305-fix.html: Added.
+
 2004-12-21  Ken Kocienda  <kocienda@apple.com>
 
         Reviewed by me