W3C home > Mailing lists > Public > public-fx@w3.org > April to June 2011

Re: [css3-images] Defining SVG paint servers as a CSS <image>

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 29 Jun 2011 22:13:44 +1200
Message-ID: <BANLkTi=RuSviTTVAJB=A3R7w4PZ6gG7Ahw@mail.gmail.com>
To: Erik Dahlstrom <ed@opera.com>
Cc: Rik Cabanier <cabanier@gmail.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, public-fx@w3.org
On Wed, Jun 29, 2011 at 9:17 PM, Erik Dahlstrom <ed@opera.com> wrote:

> I think Firefox has some support of this for the 'background' property when
> used with SVG images, correct me if I'm wrong. I don't think all aspects of
> that is defined, e.g what coordinate space to use if you reference a
> sub-svg. Also see the fragment syntax defined for svg[1]. If that syntax
> applies then you could use one svg with several views defined as an option.

We support using background:-moz-element() to reference an SVG pattern. See
http://hacks.mozilla.org/2010/08/mozelement/. It's pretty easy to define;
the object that you're filling with the pattern is just a rectangle the size
of the background image as determined by background-size etc --- the same as
it would be for an SVG image without intrinsic dimensions.

"If we claim to be without sin, we deceive ourselves and the truth is not in
us. If we confess our sins, he is faithful and just and will forgive us our
sins and purify us from all unrighteousness. If we claim we have not sinned,
we make him out to be a liar and his word is not in us." [1 John 1:8-10]
Received on Wednesday, 29 June 2011 10:14:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:38 UTC