W3C home > Mailing lists > Public > www-style@w3.org > May 2008

Re: CSS3 Color: definition of "mask" and example

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 12 May 2008 16:35:12 -0700
To: "REFSTRUP,JACOB (HP-Vancouver,ex1)" <jacob.refstrup@hp.com>
Cc: "www-style (www-style@w3.org)" <www-style@w3.org>
Message-ID: <20080512233512.GA2812@pickering.dbaron.org>

On Monday 2003-07-28 13:59 -0400, REFSTRUP,JACOB (HP-Vancouver,ex1) wrote:
> In CSS3 Color [1] "3.2. Transparency: the 'opacity' property" the term
> 'mask' is used without having a definition. After looking at SVG1.1 [2] it
> seemed to me that the clipping, masking and composition model of SVG1.1,
> chapter 14 was assumed (or equivalent in SVG1.0).
> Could we perhaps make a reference in [1] to this so it becomes more clear
> for readers not familiar with SVG1.1?

This has been recorded as
http://csswg.inkedblade.net/spec/css3-color#issue-9 and should be
fixed in the editor's draft at
http://dev.w3.org/csswg/css3-color/#transparency and
http://dev.w3.org/csswg/css3-color/#alpha through the reference in
the latter section to SVG 1.1, section 14.2.

> In thinking through how to implement it I found it useful to internalize and
> learn these compositing rules and I made up an example. Perhaps an example
> like this could be included in [1] to further clarify what is supposed to
> happen so the implementer has something to verify his understanding against.

I'm not sure how valuable this would be; there are tests in the test
suite, which I think helps more.

If this doesn't address your comment, could you let us know within
two weeks, if possible?


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Monday, 12 May 2008 23:35:52 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:36 UTC