Applying SVG properties to non-SVG content

I've implemented some experimental features for applying SVG effects to
HTML. In particular, SVG 'filter', 'clip-path', and 'mask' properties are
made applicable to non-SVG content and SVG paint servers can be used as CSS
backgrounds. These are described with examples in my blog:
http://weblogs.mozillazine.org/roc/archives/2008/06/applying_svg_ef.html
http://weblogs.mozillazine.org/roc/archives/2008/07/svg_paint_serve.html
There are also links to experimental Firefox builds supporting these
features.

I've written up a draft specification for these features:
http://people.mozilla.com/~roc/SVG-CSS-Effects-Draft.html
I'd greatly appreciate any comments. One thing I'm not sure about is where
this specification should live. Obviously it's right in between two working
groups :-). Another thing I'm interested in resolving is how we should
expose these in Gecko releases; using a vendor prefix would be more annoying
than usual because I've created no new properties here (in fact, no new
syntax at all).

One thing that's obviously missing here is transformations. I don't think
there's any value in linking to SVG for those. Instead I support CSS-based
transformations like Apple's proposal (at least its 2D subset). (In fact
someone is actually working on implementing that for Gecko.)

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]

Received on Tuesday, 8 July 2008 23:01:30 UTC