-
mrowe@apple.com authored
Reviewed by Darin Adler. Fix for https://bugs.webkit.org/show_bug.cgi?id=19964 Bug 19964: Divide by zero crash in RenderBox::calculateBackgroundSize with 0,0 bmp background image Add a check to RenderBox::repaintLayerRectsForImage to make sure the current layer image can be rendered. Test: css3/khtml-background-size-0x0-bmp.html * rendering/RenderBox.cpp: (WebCore::RenderBox::repaintLayerRectsForImage): 2008-09-02 Mihnea Ovidenie <mihnea@adobe.com> Reviewed by Darin Adler. Test for https://bugs.webkit.org/show_bug.cgi?id=19964 Bug 19964: Divide by zero crash in RenderBox::calculateBackgroundSize with 0,0 bmp background image * css3/khtml-background-size-0x0-bmp-expected.txt: Added. * css3/khtml-background-size-0x0-bmp.html: Added. * css3/support/0x0.bmp: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36047 268f45cc-cd09-0410-ab3c-d52691b4dbfc
da9a144b