New SVG filter pseudo inputs for Firefox 17

Firefox has supported all SVG 1.1 filter primitives since Firefox 3, however until now it has only supported SourceGraphic and SourceAlpha pseudo inputs. Fortunately these are by far the most common.

Firefox 17 includes support for an additional two pseudo inputs – FillPaint and StrokePaint. The SVG testsuite has an example showing how they can be used.

Even though HTML doesn’t use the SVG fill and stroke CSS properties, you can still set them in Firefox to have StrokePaint and FillPaint filters with HTML.

About these ads

2 responses to this post.

  1. Too bad they introduced a regression to SVG filters in FF17. stdDeviation of 0 for Gaussian blur is blurry but it should not be. Oh well, hopefully someone who’s less lazy than me will file a bug report.

Comments are closed.

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: