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

Re: CSS Masking

From: Rik Cabanier <cabanier@gmail.com>
Date: Sun, 12 Aug 2012 16:57:56 -0700
Message-ID: <CAGN7qDAin-WM_eTvxZcOogBDPYTdVeJ6GMu5x6PLbfYCFU8pXQ@mail.gmail.com>
To: Dirk Schulze <dschulze@adobe.com>
Cc: "public-fx@w3.org" <public-fx@w3.org>
Hi Dirk,

thanks for starting this!
I have a couple of remarks:
1. Layering multiple mask images [1].
I'm unsure if this is needed. How many times do you want different masks
apply at the same time? Is this so you're compatible with background-image?
We would need to change the model for this too. How is the actual mask
calculated? do you combine the images first into an image and then use that
as as a mask?

2. 'The first image in the list is the layer closest to the user, the next
one is painted behind the first, and so on. '
Not sure this sentence makes sense.

3. linear vs sRGB colorspace [2].
We should follow the example of filters and keep sRGB as the colorspace.
linearRGB can be an option but I'd prefer to see it replaced with real
color management.
It is also much faster.

4. the mask-clip property [3]
What does it mean when the mask is clipped? Will the output be removed
(since it is outside of the mask), or is the output unaffected?

5. the mask-type property [4]
You know that I think it should always be luminance :-)
More intuitive to use (for designers). It also allows you to use jpeg
images as a mask.

6. the 'mask' property [5]
- you still have 'select'. I believe Brian proposed a different word.
- since you can have both 'mask' and 'mask-image', we need to specify which
one wins or if they're applied at the same time.
-  it would be good if we can combine it with mask-image somehow

Maybe you should send this to www-style too!

Thanks!
   Rik

1: http://dvcs.w3.org/hg/FXTF/raw-file/tip/masking/index.html#layering
2: http://dvcs.w3.org/hg/FXTF/raw-file/tip/masking/index.html#MaskValues
3: http://dvcs.w3.org/hg/FXTF/raw-file/tip/masking/index.html#the-mask-clip
4: http://dvcs.w3.org/hg/FXTF/raw-file/tip/masking/index.html#the-mask-clip
5:  http://dvcs.w3.org/hg/FXTF/raw-file/tip/masking/index.html#mask-property


On Sat, Aug 11, 2012 at 10:47 PM, Dirk Schulze <dschulze@adobe.com> wrote:

> Hi FXTF,
>
> I created and published the CSS Masking specification [1]. I specified the
> current behavior of the '-webkit-mask' properties and integrated SVG
> Masking from SVG 2. The text complies to CSS Background and Borders and
> should be very familiar for many people. I would like to receive some
> comments even if it is still in an early stage.
>
> Greetings,
> Dirk
>
> [1] http://dvcs.w3.org/hg/FXTF/raw-file/tip/masking/index.html
>
Received on Sunday, 12 August 2012 23:58:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 12 August 2012 23:58:26 GMT