W3C home > Mailing lists > Public > www-style@w3.org > July 2008

Applying SVG properties to non-SVG content

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 9 Jul 2008 11:00:46 +1200
Message-ID: <11e306600807081600m71930a0cq3d3b6a7a30b4f443@mail.gmail.com>
To: "www-style@w3.org" <www-style@w3.org>, www-svg <www-svg@w3.org>
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:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:10 GMT