Bug 43069
| Summary: | The SVG filter infrastructure can't handle zero-sized images | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Cosmin Truta <ctruta> |
| Component: | SVG | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Cosmin Truta
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.