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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>27221</bug_id>
          
          <creation_ts>2014-11-03 13:48:44 +0000</creation_ts>
          <short_desc>What happens on feImage without valid resource?</short_desc>
          <delta_ts>2017-12-24 06:43:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>Filter Effects</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc>http://dev.w3.org/fxtf/filters/#issue-9b2e4b2e</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dirk Schulze">dschulze</reporter>
          <assigned_to name="Dean Jackson">dino</assigned_to>
          <cc>cmarrin</cc>
    
    <cc>eoconnor</cc>
    
    <cc>smfr</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>114428</commentid>
    <comment_count>0</comment_count>
      <attachid>1531</attachid>
    <who name="Dirk Schulze">dschulze</who>
    <bug_when>2014-11-03 13:48:44 +0000</bug_when>
    <thetext>Created attachment 1531
Example missing reference

What happens if xlink:href of feImage references an invalid or not existing resource?

The attached example has an feImage element that references a non-existent image. It is for testing purpose in different browsers.

The test starts with inverting the SourceGraphic color so that we know if a filter was applied to the element or not.

The it references the not existing image. The test also applies a subregion on the feImage element.

Then the opacity of the feImage result gets inverted.

Then we composite the previous result on top of the inverted SourceGraphic.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114429</commentid>
    <comment_count>1</comment_count>
    <who name="Dirk Schulze">dschulze</who>
    <bug_when>2014-11-03 14:02:21 +0000</bug_when>
    <thetext>The result on various SVG viewers:

Chrome: You see a &quot;missing image&quot; icon covering the top left quarter of an aqua colored square.

Safari: You see a &quot;missing image&quot; icon covering the top left quarter of an aqua colored square.

Firefox: You just see an aqua colored square.

Opera (Presto): You see a black square covering the top left quarter of an aqua colored square.

IE 11: You see a black square covering the top left quarter of an aqua colored square.

InkScape: Crashes on windows.

Batik: You see a &quot;missing image&quot; icon covering the top left quarter of an aqua colored square.

Illustrator: You just see an aqua colored square.



All viewers do apply the filter regardless of the missing image resource. But the behavior is pretty different across browsers.

IE, Opera: Missing image is treated as transparent black.
Firefox, Illustrator: Missing image acts as a null filter even for filter primitives applied on top of feImage.
Safari, Chrome: General behavior as for IE, Opera but taking the &quot;missing image&quot; instead of transparent black.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129036</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Schulze">dschulze</who>
    <bug_when>2017-12-24 06:43:24 +0000</bug_when>
    <thetext>Moved: https://github.com/w3c/fxtf-drafts/issues/193</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>1531</attachid>
            <date>2014-11-03 13:48:44 +0000</date>
            <delta_ts>2014-11-03 13:48:44 +0000</delta_ts>
            <desc>Example missing reference</desc>
            <filename>missing-reference.svg</filename>
            <type>image/svg+xml</type>
            <size>629</size>
            <attacher name="Dirk Schulze">dschulze</attacher>
            
              <data encoding="base64">PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRw
Oi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+Cgk8Zmls
dGVyIGlkPSJmIiB4PSIwJSIgeT0iMCUiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPgoJCTxm
ZUNvbXBvbmVudFRyYW5zZmVyIHJlc3VsdD0iaW52ZXJ0Ij4KCQkJPGZlRnVuY1IgdHlwZT0idGFi
bGUiIHRhYmxlVmFsdWVzPSIxIDAiLz4KCQkJPGZlRnVuY0cgdHlwZT0idGFibGUiIHRhYmxlVmFs
dWVzPSIxIDAiLz4KCQkJPGZlRnVuY0IgdHlwZT0idGFibGUiIHRhYmxlVmFsdWVzPSIxIDAiLz4K
CQk8L2ZlQ29tcG9uZW50VHJhbnNmZXI+CgkJPGZlSW1hZ2UgeGxpbms6aHJlZj0iaHR0cDovL25v
bnNlbnNlLmNvbS9pbWFnZS5wbmciIHdpZHRoPSI1MCUiIGhlaWdodD0iNTAlIi8+CgkJPGZlQ29s
b3JNYXRyaXggdmFsdWVzPSIxIDAgMCAwIDAgIDAgMSAwIDAgMCAgMCAwIDEgMCAwICAwIDAgMCAx
IDEiIC8+CgkJPGZlQ29tcG9zaXRlIGluMj0iaW52ZXJ0Ii8+Cgk8L2ZpbHRlcj4KCTxyZWN0IHdp
ZHRoPSIyMDAiIGhlaWdodD0iMjAwIiBmaWxsPSJyZWQiIGZpbHRlcj0idXJsKCNmKSIvPgo8L3N2
Zz4=
</data>

          </attachment>
      

    </bug>

</bugzilla>