Bug 43069 - The SVG filter infrastructure can't handle zero-sized images
Summary: The SVG filter infrastructure can't handle zero-sized images
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 41808
  Show dependency treegraph
 
Reported: 2010-07-27 12:45 PDT by Cosmin Truta
Modified: 2010-08-06 08:16 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cosmin Truta 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.
Comment 1 Cosmin Truta 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.