Changeset 39462 in webkit
- Timestamp:
- Dec 23, 2008 9:19:54 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r39453 r39462 1 2008-12-23 Simon Fraser <simon.fraser@apple.com> 2 3 Reviewed by Dan Bernstein 4 5 https://bugs.webkit.org/show_bug.cgi?id=21910 6 7 Re-create expected images after fixing painting issue with SVGImage. 8 9 * platform/mac/fast/backgrounds/svg-as-background-1-expected.checksum: 10 * platform/mac/fast/backgrounds/svg-as-background-1-expected.png: 11 * platform/mac/fast/backgrounds/svg-as-background-2-expected.checksum: 12 * platform/mac/fast/backgrounds/svg-as-background-2-expected.png: 13 * platform/mac/fast/backgrounds/svg-as-background-3-expected.checksum: 14 * platform/mac/fast/backgrounds/svg-as-background-3-expected.png: 15 * platform/mac/fast/backgrounds/svg-as-background-4-expected.checksum: 16 * platform/mac/fast/backgrounds/svg-as-background-4-expected.png: 17 * platform/mac/fast/backgrounds/svg-as-background-6-expected.checksum: 18 * platform/mac/fast/backgrounds/svg-as-background-6-expected.png: 19 * platform/mac/fast/backgrounds/svg-as-mask-expected.checksum: 20 * platform/mac/fast/backgrounds/svg-as-mask-expected.png: 21 * platform/mac/svg/W3C-SVG-1.1/struct-image-05-b-expected.checksum: 22 * platform/mac/svg/W3C-SVG-1.1/struct-image-05-b-expected.png: 23 1 24 2008-12-22 Julien Chaffraix <jchaffraix@webkit.org> 2 25 -
trunk/LayoutTests/platform/mac/fast/backgrounds/svg-as-background-1-expected.checksum
r38335 r39462 1 dfb9aa4f0d4de9ea10677a910750cc75 1 e49ee337e545a30910d9a02a694ff4cd -
trunk/LayoutTests/platform/mac/fast/backgrounds/svg-as-background-2-expected.checksum
r38335 r39462 1 dfb9aa4f0d4de9ea10677a910750cc75 1 a75ed15518d93a7e085a4bf04c432f70 -
trunk/LayoutTests/platform/mac/fast/backgrounds/svg-as-background-3-expected.checksum
r38335 r39462 1 dfb9aa4f0d4de9ea10677a910750cc75 1 0051e7416b386384a60e61195bc1bd68 -
trunk/LayoutTests/platform/mac/fast/backgrounds/svg-as-background-4-expected.checksum
r38335 r39462 1 dfb9aa4f0d4de9ea10677a910750cc75 1 088975309527826bb61f29423595a137 -
trunk/LayoutTests/platform/mac/fast/backgrounds/svg-as-background-6-expected.checksum
r38335 r39462 1 d fb9aa4f0d4de9ea10677a910750cc751 d4e84d86c15d0348f7c1a82dcee6aae3 -
trunk/LayoutTests/platform/mac/fast/backgrounds/svg-as-mask-expected.checksum
r38335 r39462 1 853de00567d121bea0b7bece66a5d61c 1 d87598d28e8dc6fd730c60473c682e79 -
trunk/LayoutTests/platform/mac/svg/W3C-SVG-1.1/struct-image-05-b-expected.checksum
r38121 r39462 1 0b3b87974f2497891e96be2a27da6cd2 1 d7f063609a1cce788f0df1fb824f4133 -
trunk/WebCore/ChangeLog
r39456 r39462 1 2008-12-23 Simon Fraser <simon.fraser@apple.com> 2 3 Reviewed by Dan Bernstein 4 5 https://bugs.webkit.org/show_bug.cgi?id=21910 6 7 Fix SVGImage painting by ensuring that the SVGImage resizes its FrameView correctly. 8 Otherwise the FrameView is left at 0x0, and nothing paints. 9 10 * svg/graphics/SVGImage.cpp: 11 (WebCore::SVGImage::draw): 12 1 13 2008-12-23 Darin Adler <darin@apple.com> 2 14 -
trunk/WebCore/svg/graphics/SVGImage.cpp
r37146 r39462 151 151 context->translate(dstRect.location().x(), dstRect.location().y()); 152 152 context->scale(FloatSize(dstRect.width()/srcRect.width(), dstRect.height()/srcRect.height())); 153 153 154 m_frame->view()->resize(size()); 155 154 156 if (m_frame->view()->needsLayout()) 155 157 m_frame->view()->layout();
Note: See TracChangeset
for help on using the changeset viewer.