LayoutTests:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Jan 2007 21:10:28 +0000 (21:10 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Jan 2007 21:10:28 +0000 (21:10 +0000)
commitbd79320fc431a71ae2f87438536380d2762b12c8
tree76203d96654f2438495d24de80907f4ee2f833aa
parentcdd1373b33bfb1ea7de160d6986ad05e1ba7b34a
LayoutTests:

        Reviewed by john

        <rdar://problem/4920742>
        REGRESSION: GMail Editor: Attempting to remove formatting from selection results in a crash at WebCore::Range::checkDeleteEx

WebCore:

        Reviewed by john

        <rdar://problem/4920742>
        REGRESSION: GMail Editor: Attempting to remove formatting from selection results in a crash at WebCore::Range::checkDeleteExtract()

        * dom/Range.cpp:
        (WebCore::Range::checkDeleteExtract): Return if there is no
        commonAncestor container or if commonAncestorContainer() throws
        an exception.
        * editing/Editor.cpp:
        (WebCore::Editor::removeFormattingAndStyle): Fixed a bug that reversed
        the order of the selected paragraphs.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19055 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/execCommand/4920742-1-expected.checksum [new file with mode: 0644]
LayoutTests/editing/execCommand/4920742-1-expected.png [new file with mode: 0644]
LayoutTests/editing/execCommand/4920742-1-expected.txt [new file with mode: 0644]
LayoutTests/editing/execCommand/4920742-1.html [new file with mode: 0644]
LayoutTests/editing/execCommand/4920742-2-expected.txt [new file with mode: 0644]
LayoutTests/editing/execCommand/4920742-2.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/dom/Range.cpp
WebCore/editing/Editor.cpp