Changeset 36047 in webkit
- Timestamp:
- Sep 2, 2008 11:22:12 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r36046 r36047 1 2008-09-02 Mihnea Ovidenie <mihnea@adobe.com> 2 3 Reviewed by Darin Adler. 4 5 Test for https://bugs.webkit.org/show_bug.cgi?id=19964 6 Bug 19964: Divide by zero crash in RenderBox::calculateBackgroundSize with 0,0 bmp background image 7 8 * css3/khtml-background-size-0x0-bmp-expected.txt: Added. 9 * css3/khtml-background-size-0x0-bmp.html: Added. 10 * css3/support/0x0.bmp: Added. 11 1 12 2008-09-02 Glenn Wilson <wilsong@gmail.com> 2 13 -
trunk/WebCore/ChangeLog
r36046 r36047 1 2008-09-02 Mihnea Ovidenie <mihnea@adobe.com> 2 3 Reviewed by Darin Adler. 4 5 Fix for https://bugs.webkit.org/show_bug.cgi?id=19964 6 Bug 19964: Divide by zero crash in RenderBox::calculateBackgroundSize with 0,0 bmp background image 7 8 Add a check to RenderBox::repaintLayerRectsForImage to make sure the current layer image can be rendered. 9 10 Test: css3/khtml-background-size-0x0-bmp.html 11 12 * rendering/RenderBox.cpp: 13 (WebCore::RenderBox::repaintLayerRectsForImage): 14 1 15 2008-09-02 Glenn Wilson <wilsong@gmail.com> 2 16 -
trunk/WebCore/rendering/RenderBox.cpp
r35828 r36047 558 558 559 559 for (const FillLayer* curLayer = layers; curLayer; curLayer = curLayer->next()) { 560 if (curLayer->image() && image == curLayer->image()->data()) { 561 560 if (curLayer->image() && image == curLayer->image()->data() && curLayer->image()->canRender(style()->effectiveZoom())) { 562 561 // Now that we know this image is being used, compute the renderer and the rect 563 562 // if we haven't already
Note: See TracChangeset
for help on using the changeset viewer.