Skip to content
  • justing's avatar
    LayoutTests: · 34a4dd57
    justing authored
            Reviewed by harrison
            
            <rdar://problem/4806874>
            Missing background image after paste
    
            Checking in new expected results for fixes:
            * editing/inserting/insert-3851164-fix-expected.checksum:
            * editing/inserting/insert-3851164-fix-expected.png:
            * editing/selection/drag-in-iframe-expected.checksum:
            * editing/selection/drag-in-iframe-expected.png:
    
            Same, but also removing an outdated comment about a bug:
            * editing/pasteboard/paste-text-019-expected.checksum:
            * editing/pasteboard/paste-text-019-expected.png:
            * editing/pasteboard/paste-text-019-expected.txt:
            * editing/pasteboard/paste-text-019.html:
            
            Added:
            * editing/pasteboard/4806874-expected.checksum: Added.
            * editing/pasteboard/4806874-expected.png: Added.
            * editing/pasteboard/4806874-expected.txt: Added.
            * editing/pasteboard/4806874.html: Added.
            
            Equivalent render trees:        
            * editing/inserting/insert-3907422-fix-expected.txt:
            * editing/pasteboard/paste-text-011-expected.txt:
            * editing/pasteboard/paste-text-015-expected.txt:
    
    WebCore:
    
            Reviewed by harrison
            
            <rdar://problem/4806874>
            Missing background image after paste
            
            * editing/markup.cpp:
            (WebCore::createMarkup): If the body is fully selected, add a 
            div with its CSS properties to the markup.  Migrated a use of 
            enclosingBlockFlowElement to enclosingBlock to fix an infinite 
            loop when pasting <div><input></div>.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    34a4dd57