WebCore:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Nov 2007 22:28:59 +0000 (22:28 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Nov 2007 22:28:59 +0000 (22:28 +0000)
commit3bcfbf5176031574eddc1debc770a9412a954625
tree05a1706308049b70a31ec695ce28f15bb115603f
parent50a6b10742713b2877a9b284c8fefbc9d1dba30a
WebCore:

        Reviewed by Darin Adler.

        <rdar://problem/5576619>
        REGRESSION: Caret disappears after deleting the last character in inline hole (15714)

        * editing/TypingCommand.cpp:
        (WebCore::TypingCommand::deleteSelection): Like the other TypingCommands, including
        both of the other deletion commands, call typingAddedToOpenCommand(), which takes
        the command's endingSelection and sets it as selection.

LayoutTests:

        Reviewed by Darin Adler.

        <rdar://problem/5576619> REGRESSION: Caret disappears after deleting the last character in inline hole (15714)

        * platform/mac/editing/input/5576619-expected.checksum: Added.
        * platform/mac/editing/input/5576619-expected.png: Added.
        * platform/mac/editing/input/5576619-expected.txt: Added.
        * platform/mac/editing/input/5576619.html: Added.
        * platform/mac/editing/input/text-input-controller-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27488 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/mac/editing/input/5576619-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/editing/input/5576619-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/editing/input/5576619-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/editing/input/5576619.html [new file with mode: 0644]
LayoutTests/platform/mac/editing/input/text-input-controller-expected.txt
WebCore/ChangeLog
WebCore/editing/TypingCommand.cpp