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

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 03:31:35 UTC