Skip to content
  • darin@apple.com's avatar
    WebCore: · ebecba84
    darin@apple.com authored
    2008-03-17  Yuzhu Shen  <yuzhu.shen@gmail.com>
    
            Reviewed by Darin.
    
            Fix the bug: http://bugs.webkit.org/show_bug.cgi?id=17760
            It is necessary to load the image even when src="".
    
            Test: fast/images/load-img-with-empty-src.html
    
            * html/HTMLImageLoader.cpp:
            (WebCore::HTMLImageLoader::updateFromElement): isNull rather than isEmpty.
    
    LayoutTests:
    
    2008-03-17  Yuzhu Shen  <yuzhu.shen@gmail.com>
    
            Reviewed by Darin.
    
            Bug: http://bugs.webkit.org/show_bug.cgi?id=17760
            Test whether <img> tries to load image with empty src attribute.
    
            * fast/images/load-img-with-empty-src-expected.txt: Added.
            * fast/images/load-img-with-empty-src.html: Added.
            * fast/images/resources/test-load.jpg: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31097 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    ebecba84