W3C home > Mailing lists > Public > public-fx@w3.org > October to December 2014

[filter-effects] feImage with missing image resource

From: Dirk Schulze <dschulze@adobe.com>
Date: Mon, 3 Nov 2014 14:14:49 +0000
To: FX <public-fx@w3.org>
Message-ID: <170F35F6-4B00-4938-904E-9020460C7BE9@adobe.com>
Hi,

I checked the behavior of different SVG viewers on <feImage>[1] with a missing image resource. It appears that we have three behavior categories across 7 different SVG viewers (6 if you still count WebKit and Blink as one). Tested: Safari, Chrome, IE, Firefox, Opera (presto), Illustrator, InkScape (no result), Batik.

All viewers apply an SVG filter on content even if <feImage> has a missing resource. Other then that, viewers either:

1) treat <feImage> as a transparent black image taking all primitive regions into account,
2) replace the missing image with a “missing image” icon and take all primitive regions into account or
3) treat <feImage> and all successor color manipulating primitives as null filter.

Example: https://www.w3.org/Bugs/Public/attachment.cgi?id=1531
Description: https://www.w3.org/Bugs/Public/show_bug.cgi?id=27221#c0

Option 1) looks reasonable for me and is easy to implement/specify. Option 2) looks strange but at least gives authors feedback of what is going on. I am unsure how to specify 3) and how it actually is implemented. Maybe someone from Mozilla could clarify.

Greetings,
Dirk

[1] http://dev.w3.org/fxtf/filters/#feImageElement
Received on Monday, 3 November 2014 14:15:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 22 June 2015 03:33:53 UTC