W3C home > Mailing lists > Public > public-fx@w3.org > July to September 2012

Re: Mask property syntax and CSS <image>

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 6 Aug 2012 08:54:54 -0700
Message-ID: <CAAWBYDD0y3sG6Uz0aE1uY3Ev9jkHAPf5U7TnkaWmnDg2p77VBw@mail.gmail.com>
To: Brian Birtles <birtles@gmail.com>
Cc: public-fx@w3.org
On Sun, Aug 5, 2012 at 10:18 PM, Brian Birtles <birtles@gmail.com> wrote:
> Hi,
> One further thought based on our discussion of element(). We discussed that
> we want to be able to use masks without requiring the <mask> wrapper, e.g.
>   <rect id="rect" ... />
>   ...
>   <path mask="url(#rect)" ... />
> I wonder if it's useful to say that, in order to refer to SVG fragments in
> this way you must use the element() syntax. i.e. the url() syntax is only
> for <mask>s and other SVG elements which we treat specially, rather than
> just rendering them to a buffer (like paint servers).

I assumed that was the intention, yes.  The "child" and "select()"
syntaxes were to be for selecting <mask> children, while the more
general <image> type (or whatever you call it in SVG - <pserver>?) was
for just creating an image (of which one way is to use element() to
select an element that provides a paint source).

Received on Monday, 6 August 2012 15:55:50 UTC

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