Skip to content
  • leviw@chromium.org's avatar
    2011-02-14 Levi Weintraub <leviw@chromium.org> · 5ec8029d
    leviw@chromium.org authored
            Reviewed by Alexey Proskuryakov.
    
            Strikethrough disappears when posting a message on odnoklassniki.ru
            https://bugs.webkit.org/show_bug.cgi?id=53475
    
            Changing the behavior of the strikethrough execCommand when styleWithCSS
            is false. We formerly created <s> tags, which was different than both IE
            and FF and caused problems with some rich text editors that would strip
            out unexpected tags such as <s>.
    
            Test: editing/execCommand/strikethrough-uses-strike-tag.html
    
            * editing/ApplyStyleCommand.cpp:
            (WebCore::ApplyStyleCommand::addInlineStyleIfNeeded):
    2011-02-14  Levi Weintraub  <leviw@chromium.org>
    
            Reviewed by Alexey Proskuryakov.
    
            Strikethrough disappears when posting a message on odnoklassniki.ru
            https://bugs.webkit.org/show_bug.cgi?id=53475
    
            Updating test expectations and creating a test in an attempt to prevent the
            uninformed WebKit dev from switching back to using <s> tags for strikethrough.
            As explained in the bug, this is bad for compatibility with various rich text
            editors.
    
            * editing/execCommand/query-text-decoration-with-typing-style-expected.txt:
            * editing/execCommand/script-tests/strikethrough-uses-strike-tag.js: Added.
            (test):
            * editing/execCommand/script-tests/toggle-style-2.js:
            * editing/execCommand/strikethrough-uses-strike-tag-expected.txt: Added.
            * editing/execCommand/strikethrough-uses-strike-tag.html: Added.
            * editing/execCommand/strikethroughSelection-expected.txt:
            * editing/execCommand/toggle-style-2-expected.txt:
            * editing/style/inline-style-container-expected.txt:
            * editing/style/inline-style-extend-run-expected.txt:
            * editing/style/push-down-implicit-styles-around-list-expected.txt:
            * editing/style/push-down-implicit-styles-expected.txt:
            * editing/style/script-tests/inline-style-container.js:
            * editing/style/script-tests/inline-style-extend-run.js:
            * editing/style/script-tests/push-down-implicit-styles-around-list.js:
            * editing/style/script-tests/push-down-implicit-styles.js:
            * editing/style/style-text-node-without-editable-parent-expected.txt:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    5ec8029d