RESOLVED DUPLICATE of bug 117532 117772
[CSS Blending] Background blending is not performed beyond opaque background layers
https://bugs.webkit.org/show_bug.cgi?id=117772
Summary [CSS Blending] Background blending is not performed beyond opaque background ...
Ryosuke Niwa
Reported 2013-06-18 20:01:27 PDT
Consider merging https://chromium.googlesource.com/chromium/blink/+/e5c8e0d80e03728effad4a2708c5a6d4c8d394cc If an element has the background defined as two opaque layers, let's say a jpg image and a background color, and background blending is specified via CSS, the operation isn't performed. The fix consists of adding another condition in RenderBox::PaintFillLayers to shortcircuit at the next background layer only if there's no blending operation applied to it. Otherwise, the layer should be passed forward for painting.
Attachments
Mihai Tica
Comment 1 2013-06-19 00:46:48 PDT
(In reply to comment #0) > Consider merging https://chromium.googlesource.com/chromium/blink/+/e5c8e0d80e03728effad4a2708c5a6d4c8d394cc > > If an element has the background defined as two opaque layers, let's say a jpg image > and a background color, and background blending is specified via CSS, the operation > isn't performed. > > The fix consists of adding another condition in RenderBox::PaintFillLayers to shortcircuit > at the next background layer only if there's no blending operation applied to it. > Otherwise, the layer should be passed forward for painting. This also got into WebKit first :D Here's the changeset that addressed this problem: http://trac.webkit.org/changeset/151547, we should probably close this.
Ryosuke Niwa
Comment 2 2013-06-19 00:48:31 PDT
Great! *** This bug has been marked as a duplicate of bug 117532 ***
Note You need to log in before you can comment on or make changes to this bug.