Changeset 54865 in webkit
- Timestamp:
- Feb 16, 2010 7:54:23 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 6 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r54863 r54865 1 2010-02-16 Yael Aharon <yael.aharon@nokia.com> 2 3 Reviewed by Nikolas Zimmermann. 4 5 SVG not rendered as background-image from data URI 6 https://bugs.webkit.org/show_bug.cgi?id=33630 7 8 * platform/mac/svg/css/background-image-svg-expected.checksum: Added. 9 * platform/mac/svg/css/background-image-svg-expected.png: Added. 10 * platform/qt/svg/css/background-image-svg-expected.checksum: Added. 11 * platform/qt/svg/css/background-image-svg-expected.png: Added. 12 * svg/css/background-image-svg.html: Added. 13 * svg/css/background-image-svg-expected.txt: Added. 14 1 15 2010-02-16 Nikolas Zimmermann <nzimmermann@rim.com> 2 16 -
trunk/WebCore/ChangeLog
r54864 r54865 1 2010-02-16 Yael Aharon <yael.aharon@nokia.com> 2 3 Reviewed by Nikolas Zimmermann. 4 5 SVG not rendered as background-image from data URI 6 https://bugs.webkit.org/show_bug.cgi?id=33630 7 8 When the background image is an SVG image, and it is smaller than the area 9 it is supposed to fill, we were using renderSubTreeToImage to draw it. 10 That call was not going through all the drawing phases, and so the SVG itself 11 would not be drawn. 12 13 Test: svg/css/background-image-svg.html 14 15 * svg/graphics/SVGImage.cpp: 16 (WebCore::SVGImage::nativeImageForCurrentFrame): 17 1 18 2010-02-16 Bryan Yeung <bryeung@chromium.org> 2 19 -
trunk/WebCore/svg/graphics/SVGImage.cpp
r53343 r54865 216 216 if (!m_frameCache) // failed to allocate image 217 217 return 0; 218 renderSubtreeToImage(m_frameCache.get(), m_page->mainFrame()->contentRenderer());218 draw(m_frameCache->context(), rect(), rect(), DeviceColorSpace, CompositeSourceOver); 219 219 } 220 220 return m_frameCache->image()->nativeImageForCurrentFrame();
Note: See TracChangeset
for help on using the changeset viewer.