[Webkit-unassigned] [Bug 129305] [CSS Blending] Incomplete repainting when setting blend mode on an element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 27 06:10:23 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=129305





--- Comment #5 from Mihai Tica <mitica at adobe.com>  2014-02-27 06:07:29 PST ---
Created an attachment (id=225362)
 --> (https://bugs.webkit.org/attachment.cgi?id=225362&action=review)
Screenshot of expected versus current behaviour

This screenshot shows the current behaviour (upper part) versus the actual behaviour (lower part of the image).

This test has two divs: the yellow top one creates a stacking context, while the second blue div is placed on top of the first one.
When setting -webkit-mix-blend-mode on the blue div from script, it should only blend with the contents of the yellow div, since it's the parent stacking context.
This means that the part of the blue div that doesn't overlap the parent shouldn't blend with the body - it should stay blue.

The problem I've found was that the lower fragment of the yellow div wouldn't get repainted when setting blend-mode dynamically.
Since the yellow div has the m_isolatesBlending member set to true, it should fully paint, create a transparency layer, thus achieving isolation.

In other words, when m_isolatesBlending is set to true, the layer and its children should be fully painted.

What do you think of this approach? Do you see any other alternatives?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list