<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>43069</bug_id>
          
          <creation_ts>2010-07-27 12:45:18 -0700</creation_ts>
          <short_desc>The SVG filter infrastructure can&apos;t handle zero-sized images</short_desc>
          <delta_ts>2026-04-01 20:58:30 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>SVG</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>41808</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Cosmin Truta">ctruta</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>karlcow</cc>
    
    <cc>rhodovan.u-szeged</cc>
    
    <cc>zherczeg</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>256762</commentid>
    <comment_count>0</comment_count>
    <who name="Cosmin Truta">ctruta</who>
    <bug_when>2010-07-27 12:45:18 -0700</bug_when>
    <thetext>Currently, SVG filters and filter effects rely on the underlying graphics&apos; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>256948</commentid>
    <comment_count>1</comment_count>
    <who name="Cosmin Truta">ctruta</who>
    <bug_when>2010-07-27 17:15:50 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2196133</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2026-04-01 20:58:30 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>