2009-04-13 Adele Peterson <adele@apple.com>
authoradele@apple.com <adele@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Apr 2009 17:40:28 +0000 (17:40 +0000)
committeradele@apple.com <adele@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Apr 2009 17:40:28 +0000 (17:40 +0000)
commit4a83d4811b5d347b8949b612fdeeb930a9771558
tree7accbecd90153dcf2055582bb938b1a07b244982
parent32179ec35cc329d2f411605786f7c08bfd0cee4a
2009-04-13  Adele Peterson  <adele@apple.com>

        Reviewed by Darin Adler.

        Fix for <rdar://problem/6703873> Triple-click quoted line and type Return creates an extra quoted blank line

        Test: editing/inserting/6703873.html

        * editing/BreakBlockquoteCommand.cpp: (WebCore::BreakBlockquoteCommand::doApply):
        If the startNode's original parent is now empty, we can remove it.  Its already been cloned and copied with the startNode,
        so we only need to keep it around if it actually holds some original content, otherwise it will look like an extra empty
        container in the document.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@42501 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/editing/inserting/6703873.html [new file with mode: 0644]
LayoutTests/platform/mac/editing/inserting/6703873-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/editing/inserting/6703873-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/editing/inserting/6703873-expected.txt [new file with mode: 0644]
WebCore/ChangeLog
WebCore/editing/BreakBlockquoteCommand.cpp