Changeset 63530 in webkit
- Timestamp:
- Jul 16, 2010 1:15:39 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r63529 r63530 1 2010-07-16 Cosmin Truta <ctruta@chromium.org> 2 3 Reviewed by Eric Seidel. 4 5 Some SVGs with empty <g> elements crash Chromium on Linux 6 https://bugs.webkit.org/show_bug.cgi?id=41175 7 8 This is a SVG with an empty <g> within a <g>, to which a filter is applied by reference. 9 The rendered image is all blank. 10 11 * platform/mac/svg/filters/filter-empty-g-expected.checksum: Added 12 * platform/mac/svg/filters/filter-empty-g-expected.png: Added 13 * platform/mac/svg/filters/filter-empty-g-expected.txt: Added 14 * svg/filters/filter-empty-g.svg: Added 15 1 16 2010-07-16 Shinichiro Hamaji <hamaji@chromium.org> 2 17 -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r63529 r63530 2695 2695 BUG33812 SKIP : fast/dom/icon-url-property.html = FAIL 2696 2696 2697 // As long as the Chromium issue 37986 is unresolved, this may crash. 2698 BUG41808 LINUX : svg/filters/filter-empty-g.svg = CRASH PASS 2699 2697 2700 // Failing with webkit roll 57659 -> 57677. 2698 2701 BUG41817 WIN LINUX : fast/backgrounds/svg-as-background-1.html = IMAGE PASS -
trunk/WebCore/ChangeLog
r63528 r63530 1 2010-07-16 Cosmin Truta <ctruta@chromium.org> 2 3 Reviewed by Eric Seidel. 4 5 Some SVGs with empty <g> elements crash Chromium on Linux 6 https://bugs.webkit.org/show_bug.cgi?id=41175 7 8 Avoid painting of zero-sized image buffers. Skia can't handle it. 9 10 Test: svg/filters/filter-empty-g.svg 11 12 * WebCore/platform/graphics/skia/ImageBufferSkia.cpp: 13 (ImageBuffer::ImageBuffer): 14 1 15 2010-07-16 Nate Chapin <japhet@chromium.org> 2 16 -
trunk/WebCore/platform/graphics/skia/ImageBufferSkia.cpp
r60675 r63530 75 75 // required, but the canvas is currently filled with the magic transparency 76 76 // color. Can we have another way to manage this? 77 m_data.m_canvas.drawARGB(0, 0, 0, 0, SkXfermode::kClear_Mode); 77 // 78 // Avoid drawing on a zero-sized canvas. Skia can't handle it. 79 if (!size.isZero()) 80 m_data.m_canvas.drawARGB(0, 0, 0, 0, SkXfermode::kClear_Mode); 78 81 success = true; 79 82 }
Note: See TracChangeset
for help on using the changeset viewer.