RESOLVED WONTFIX43069
The SVG filter infrastructure can't handle zero-sized images
https://bugs.webkit.org/show_bug.cgi?id=43069
Summary The SVG filter infrastructure can't handle zero-sized images
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.
Karl Dubost
Comment 2 2026-04-01 20:58:30 PDT
This would need to be more specific. Basically since 2010 a lot of things have been rewritten and some of the things mentioned above do not exist anymore in WebKit. Probably this would deserve a more specific fresh bug.
Note You need to log in before you can comment on or make changes to this bug.