W3C home > Mailing lists > Public > www-svg@w3.org > August 2012

Re: [css-compositing] group isolation and filters (corrected)

From: Rik Cabanier <cabanier@gmail.com>
Date: Tue, 7 Aug 2012 21:19:33 -0700
Message-ID: <CAGN7qDBpaDvfSY=GxnxxOrd3EeffsyCjHnDtnTp3-XafF4Jryw@mail.gmail.com>
To: Nikos Andronikos <nikos.andronikos@cisra.canon.com.au>
Cc: www-svg@w3.org
Hi Nikos,

so you agree that the filter does not cause isolation?

Rik

On Tue, Aug 7, 2012 at 8:31 PM, Nikos Andronikos <
nikos.andronikos@cisra.canon.com.au> wrote:

>  On 8/08/2012 5:57 AM, Rik Cabanier wrote:
>
> All,
>
> We had an offline discussion on the question if filters should cause their
> content to be isolated.
> The current Filters spec does not require this [1]
>
>  Since this concept is hard to grasp I attached an example how this
> changes rendering.
>
>  The example at the top is a group that contains a blue and a green
> rectangle that is on top of a red rectangle.
> In the second line, the green rectangle has a blend mode attached to it.
> In the bottom line, there are 2 possible rendering for when the group has
> a filter effect applied to it.
>
> My question is: what would you expect the result to be? A or B
>
>
> I would expect B if the isolation property from the Compositing and
> Blending was accumulate - meaning the group is non-isolated.
> The reason being, a non-isolated blend mode must blend with element
> outside of the group.
>
> I would expect A if the isolation property from the Compositing and
> Blending was isolate.
> In this case, the reason is that the blend mode is isolated and so the
> multiply is constrained within the group.
> When the group is composited onto the scene, a normal blend mode will be
> used.
>
>
>
> Rik
>
> 1:
> https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.html#AccessBackgroundImage
>
>
> The information contained in this email message and any attachments may be
> confidential and may also be the subject to legal professional privilege.
> If you are not the intended recipient, any use, interference with,
> disclosure or copying of this material is unauthorised and prohibited. If
> you have received this email in error, please immediately advise the sender
> by return email and delete the information from your system.
>
Received on Wednesday, 8 August 2012 04:20:01 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:52 GMT