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

Re: Specifying mask type for <mask> elements

From: Dirk Schulze <dschulze@adobe.com>
Date: Tue, 25 Sep 2012 19:48:05 -0700
To: Brian Birtles <bbirtles@mozilla.com>
CC: "public-fx@w3.org" <public-fx@w3.org>
Message-ID: <24822B80-1C2D-446F-B2D3-2259887261FC@adobe.com>

On Sep 25, 2012, at 7:44 PM, "Brian Birtles" <bbirtles@mozilla.com> wrote:

> Hi,
> Just a quick note about overriding mask-type. Although I haven't traced 
> the actual chain of resolutions that lead to this, I want to point out 
> that for the mask property we previously allowed:
>  <mask id="a">
>    ...
>  </mask>
>  <path mask="url(#a) alpha" ... />
> But now we don't. That is, you could override the mask-type of the 
> <mask> element by specifying it on the mask property, but now the 
> grammar doesn't allow that.
> You can, of course, still specify the mask type when referring to pretty 
> much anything else (e.g. "url(a.svg) alpha", "linear-gradient(...) 
> luminance", "element(#linearGrad) luminance") but not <mask>.
> Is that ok or should we allow overriding mask-type?
Given the fact that a <mask> can rarely be used for both, alpha and luminance mask, I would be in favor to not change the current grammar. Authors will define masks for one of the masking types.


> Best regards,
> Brian Birtles
Received on Wednesday, 26 September 2012 02:48:36 UTC

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