2010-09-08 MORITA Hajime <morrita@google.com>
[WebKit.git] / WebCore / ChangeLog
index d6e657e68c955e92efce32a431cc5eaab8cbe306..76aea1f6ac7636b6c7cc483ebcddd3109d4e2e0a 100644 (file)
@@ -1,3 +1,23 @@
+2010-09-08  MORITA Hajime  <morrita@google.com>
+
+        Reviewed by Tony Chang.
+
+        spelling underline gets lost on backspace
+        https://bugs.webkit.org/show_bug.cgi?id=41423
+
+        moveParagraphs() did make a DOM range by serializing source range
+        and deserializing it back, and markers are gone during the process.
+        This change marks that DOM range again.
+
+        Test: editing/spelling/spelling-backspace-between-lines.html
+
+        * editing/CompositeEditCommand.cpp:
+        (WebCore::CompositeEditCommand::moveParagraphs):
+        * editing/Editor.cpp:
+        (WebCore::Editor::clearMisspellingsAndBadGrammar): Added.
+        (WebCore::Editor::markMisspellingsAndBadGrammar): Added.
+        * editing/Editor.h:
+
 2010-09-08  Adam Barth  <abarth@webkit.org>
 
         Reviewed by Eric Seidel.