W3C home > Mailing lists > Public > www-style@w3.org > April 2014

[css-masking] mask-box-type for mask type (was: Re: [css-masking] lc issue 9: Does 'mask-source-type' apply to 'mask-box-image-source')

From: Dirk Schulze <dschulze@adobe.com>
Date: Mon, 28 Apr 2014 11:53:05 +0000
To: fantasai <fantasai.lists@inkedblade.net>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <62AE05C8-0BB1-4DB9-A63D-42B06FF417E7@adobe.com>
Hi,

I added the mask-box-type property[1] to CSS Masking so that the type of the mask can be specified for mask-box as well. (As it is possible with mask-type for layered masking[2]). The possible keywords are ‘luminance’ and ‘alpha’. (Take the luminance of an image or the alpha channel of an image as mask.)

Greetings,
Dirk

[1] http://dev.w3.org/fxtf/css-masking-1/#the-mask-box-type
[2] http://dev.w3.org/fxtf/css-masking-1/#the-mask-type


On Apr 23, 2014, at 6:37 PM, fantasai <fantasai.lists@inkedblade.net> wrote:

> On 04/23/2014 02:45 AM, Dirk Schulze wrote:
>> 
>> On Apr 23, 2014, at 9:21 AM, fantasai <fantasai.lists@inkedblade.net> wrote:
>> 
>>> On 04/12/2014 01:56 AM, Dirk Schulze wrote:
>>>> Hi fantasai,
>>>> 
>>>> To LC issue 9 of CSS Masking:
>>>> 
>>>> On Dec 11, 2013, at 11:46 AM, fantasai <fantasai.lists@inkedblade.net> wrote:
>>>> 
>>>>>  8. Does 'mask-source-type' apply to 'mask-box-image-source'?
>>>>>      It's not clear from the spec. (See editorial issue #8, of
>>>>>      which this seems to be a symptom.)
>>>>>  [...]
>>>> 
>>>> I restructured the sections and hierarchies per your suggestions in other mails.
>>>> 
>>>> 1) mask-type is now part of the positioned masks section,
>>>> 2) mask-source-type is now part of the SVG Mask Sources section.
>>>> 
>>>> Both properties state for which kind of masking they are designed for.
>>>> 
>>>> Does this address your concerns?
>>> 
>>> Looks pretty good.
>>> 
>>> There was one issue not addressed: given we have 'mask-type',
>>> do we need a 'mask-box-type property?
>> 
>> Probably. Do you think we should add it?
> 
> I've no idea. :) Ask the WG?
> 
> ~fantasai
Received on Monday, 28 April 2014 11:53:48 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:21 UTC