Skip to content
  • adele@apple.com's avatar
    WebCore: · 9b814a43
    adele@apple.com authored
    2009-06-15  Adele Peterson  <adele@apple.com>
    
            Reviewed by Darin Adler.
    
            Fix for <rdar://problem/6907228> Pasting a paragraph as quotation leaves you typing in blue instead of black; repros
    
            * editing/InsertParagraphSeparatorCommand.cpp: (WebCore::InsertParagraphSeparatorCommand::doApply):
            When inserting a newline after the blockquote, we don't want to apply the original style after the insertion.
    
    LayoutTests:
    
    2009-06-15  Adele Peterson  <adele@apple.com>
    
            Reviewed by Darin Adler.
    
            Updating test for:
            <rdar://problem/6907228> Pasting a paragraph as quotation leaves you typing in blue instead of black; repros
    
            This test case covered inserting a newline after a blockquote, but outside of the blockquote.  I added some 
            text insertion to verify that the newline doesn't get any old styles copied from the blockquote.
    
            * editing/pasteboard/5368833.html:
            * platform/mac/editing/pasteboard/5368833-expected.checksum:
            * platform/mac/editing/pasteboard/5368833-expected.png:
            * platform/mac/editing/pasteboard/5368833-expected.txt:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    9b814a43