2011-03-30 Levi Weintraub <leviw@chromium.org>
authorleviw@chromium.org <leviw@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Mar 2011 10:46:13 +0000 (10:46 +0000)
committerleviw@chromium.org <leviw@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Mar 2011 10:46:13 +0000 (10:46 +0000)
commit5b277dae73de6ca68dcfee9233b18200959af5da
tree628f628f7db34f12aa07fd3efb860b7178d18e7b
parent67697055a351814825fc61d6ff2b2ba6b3a7b948
2011-03-30  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Ryosuke Niwa.

        BreakBlockQuoteCommand assumes all li tags have list item renderers
        https://bugs.webkit.org/show_bug.cgi?id=57253

        Checking that the renderers of li nodes are actually RenderListItems
        before treating them as such.

        * editing/execCommand/crash-breaking-blockquote-with-list.html: Added.
        * editing/execCommand/crash-breaking-blockquote-with-list-expected.txt: Added.
2011-03-30  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Ryosuke Niwa.

        BreakBlockQuoteCommand assumes all li tags have list item renderers
        https://bugs.webkit.org/show_bug.cgi?id=57253

        Checking that the renderers of li nodes are actually RenderListItems
        before treating them as such.

        Test: editing/execCommand/crash-breaking-blockquote-with-list.html

        * editing/BreakBlockquoteCommand.cpp:
        (WebCore::BreakBlockQuoteCommand::doApply):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@82421 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/execCommand/crash-breaking-blockquote-with-list-expected.txt [new file with mode: 0644]
LayoutTests/editing/execCommand/crash-breaking-blockquote-with-list.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/editing/BreakBlockquoteCommand.cpp