• justing's avatar
    Reviewed by ken · d8043b68
    justing authored
            Fix for <rdar://problems/4038408&4154187&4125381&4125087>
                Mail: Editing at the bottom of a quoted block makes the text blue in certain cases
    
            Test cases added:
            * layout-tests/editing/deleting/delete-4038408-fix-expected.txt: Added.
            * layout-tests/editing/deleting/delete-4038408-fix.html: Added.
    
            * khtml/editing/delete_selection_command.cpp:
            (khtml::DeleteSelectionCommand::saveTypingStyleState):
            (khtml::DeleteSelectionCommand::calculateTypingStyleAfterDelete):
            (khtml::DeleteSelectionCommand::clearTransientState):
            * khtml/editing/delete_selection_command.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d8043b68
delete_selection_command.cpp 33.4 KB