Skip to content
  • justing's avatar
    LayoutTests: · 889c96c8
    justing authored
            Reviewed by hyatt
            
            <rdar://problem/5138441> 
            GoogleDocs: Indented text looks like text that's been Quoted
    
            Demonstrates the bug:
            * editing/execCommand/5138441-expected.checksum: Added.
            * editing/execCommand/5138441-expected.png: Added.
            * editing/execCommand/5138441-expected.txt: Added.
            * editing/execCommand/5138441.html: Added.
            
            Added inline style declarations for indent blockquotes
            to match those that the engine creates:
            * editing/execCommand/indent-selection.html:
            * editing/execCommand/outdent-selection.html:
    
    WebCore:
    
            Reviewed by hyatt
    
            <rdar://problem/5138441> 
            GoogleDocs: Indented text looks like text that's been Quoted
            
            GoogleDocs uses FormatBlock, blockquotes and a style rule
            for blockquotes to implement a "Quote Text" feature.  Styles
            intended only for those blockquotes were added to the 
            blockquotes that we use for indenting.
    
            * css/html4.css: Removed the webkit-indent-blockquote class rule.
            * editing/IndentOutdentCommand.cpp:
            (WebCore::createIndentBlockquoteElement): Use custom margins
            and turn off border and padding to override author rules for
            blockquotes.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20925 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    889c96c8