Bug 43069

Summary: The SVG filter infrastructure can't handle zero-sized images
Product: WebKit Reporter: Cosmin Truta <ctruta>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal CC: rhodovan.u-szeged, zherczeg, zimmermann
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 41808    

Cosmin Truta
Reported 2010-07-27 12:45:18 PDT
Currently, SVG filters and filter effects rely on the underlying graphics' capability to handle zero-sized images. This is required by tests like svg/filters/filter-empty-g.svg Unfortunately, this is supported inconsistently, or not at all, across the various underlying graphics engines (CG, Skia, Windows GDI, etc.) Various workarounds currently exist. For example, on Windows, an underlying 1x1 image is created; see BitmapPlatformDevice::create inside skia/ext/bitmap_platform_device_win.cc However, a more uniform, higher-level solution is necessary.
Attachments
Cosmin Truta
Comment 1 2010-07-27 17:15:50 PDT
Let us not forget to remove the following exclusions upon submitting the fix for this bug: LayoutTests/platform/chromium/test_expectations.txt LayoutTests/platform/mac-leopard/Skipped: (svg/filters/filter-empty-g.svg) See bug 41808 and bug 42802.
Note You need to log in before you can comment on or make changes to this bug.