This is great! I'd like to be the goto reviewer for any changes you make on the CSS Masking side, since I implemented the original code. I also want to be kept in the loop if any changes are made to the way any of the -webkit-mask-* properties are specified. There are some interesting differences (especially in default values) when compared with the corresponding background/border-image properties, and I want to make sure all of that is well understood.
Also, it's important to make sure if there are any deviations/changes, that the -webkit-prefixed versions of these properties don't change behavior. Backwards compatibility is extremely important here. You'll notice that the way I preserved backwards compatibility on border-image for example was to go ahead and implement the unprefixed versions. I don't really have a good suggestion for how to do that here... it's possible a new prefix will be necessary. It all depends on if any changes are made that would break existing code.
dave
(hyatt at apple.com)
On Aug 29, 2012, at 5:41 PM, Dirk Schulze wrote:
> Hi WebKit folks,
>> The CSS WG and SVG WG agreed to work on a CSS Masking specification [1]. Basically the spec aims to specify the behavior of -webkit-mask/-webkit-box-mask on WebKit browsers and SVG Mask/ SVG ClipPath on Firefox.
>> I would like to implement the specification in the next weeks and months. Since masking and clipping are basic operations that use the existing capabilities in all graphic libraries, and sine we are using it heavily internally in WebKit already, I do not plan to introduce a new compiler flag.
>> However, some features will be covered by existing compiler flags like SVG Mask and SVG ClipPath, allowing to disable these parts.
>> I created a master bug that covers the work [2].
>> Greetings,
> Dirk
>> [1] http://dvcs.w3.org/hg/FXTF/raw-file/tip/masking/index.html> [2] https://bugs.webkit.org/show_bug.cgi?id=95389> _______________________________________________
> webkit-dev mailing list
>webkit-dev at lists.webkit.org>http://lists.webkit.org/mailman/listinfo/webkit-dev