I just want to ad the blog post on Safari blog to -webkit-mask: http://www.webkit.org/blog/181/css-masks/
If mask would take an URI as well and can differ between luminance and alpha mask, I think it could be quite useful for both the HTML and SVG world.
Greetings,
Dirk
On Jul 31, 2012, at 2:56 PM, Dirk Schulze <dschulze@adobe.com> wrote:
> Hi Rik,
>
> On Jul 31, 2012, at 2:18 PM, Rik Cabanier <cabanier@gmail.com> wrote:
>
>> Hi Dirk,
>>
>> do you think this makes sense? It seems like the model are very different (painter's algorithm vs css box model) so the solution will most likely not be the same.
>> Or is it your intention to describe masking generally and then say how it applies to SVG and HTML like we did for the compositing spec?
> I think it absolutely makes sense. This is quite similar to what we have in Filter Effects. The other way around it doesn't make sense to have to different specs that try to address the same use case. Both done with a masking property (even if it might be called different). You can already try it in Firefox right now.
>
>>
>> I think's Tab's -element() syntax will be more compatible with masking than what SVG currently has.
> This is a different approach and it seems to be very interesting in the context of SVG as well (as paint sever for instance). However, at the moment it has noting to do with masking. Masks can take element() as input image and it is planned to do so.
>
> Greetings,
> Dirk
>
>>
>> Rik
>>
>> On Tue, Jul 31, 2012 at 1:47 PM, Dirk Schulze <dschulze@adobe.com> wrote:
>> Hi SVG folks,
>>
>> I would like to discuss moving the SVG Masking part to a new spec, just like we did for Filter Effects and CSS Transforms. The CSS WG is looking into specifying masking as well. Because the last draft of SVG 2 does a lot of changes to masking which seem to be helpful on HTML as well, it might be the time to discuss these changes with the CSS WG. I would like to avoid repeating the same mistake on masking that was done on transforms initially.
>>
>> I add Ted in the CC list, since he wanted to look in specifying masking for the CSS WG.
>>
>> Greetings,
>> Dirk
>>
>>
>>
>
>