On Tue, Nov 6, 2012 at 2:56 PM, Dirk Schulze <dschulze@adobe.com> wrote:
> Example:
>
> mask: url(image.svg#id);
>
> The URL needs to be checked if valid. In this case it needs o be checked
> if it is an SVG image. If it is, use SVG masking (with <mask>).
>
Since the URL has a fragment, this will always be treated as an SVG mask
with an external resource document containing a <mask> element. There is no
need to determine whether the image is an SVG image.
Second example:
>
> mask: url(image.svg#id), url(image2.svg#id);
>
> Both references should be treated as SVG resources (references to SVG
> mask). But in this case the construct is parsed as an shorthand for
> 'mask-image'. All that makes parsing more difficult.
Why? The value of mask-image is "url(image.svg#id), url(image2.svg#id)".
Both are interpreted as references to SVG <mask> elements. There's no
problem.
Rob
--
Jesus called them together and said, “You know that the rulers of the
Gentiles lord it over them, and their high officials exercise authority
over them. Not so with you. Instead, whoever wants to become great among
you must be your servant, and whoever wants to be first must be your
slave — just
as the Son of Man did not come to be served, but to serve, and to give his
life as a ransom for many.” [Matthew 20:25-28]