Bug 119926 - Fix background blending for some cases where it did not work at all
Summary: Fix background blending for some cases where it did not work at all
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BlinkMergeCandidate
Depends on:
Blocks: 108546
  Show dependency treegraph
 
Reported: 2013-08-16 20:09 PDT by Ryosuke Niwa
Modified: 2014-03-04 00:57 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2013-08-16 20:09:58 PDT
Consider merging https://chromium.googlesource.com/chromium/blink/+/b2f5ccbeec231b35e6e1166b7813542e0ab0510c

The fix adds the blendMode parameter to the Image subclass drawing function call, instead of using the default normal blend mode. In some cases this involved adding a new BlendMode parameter to the draw* function. The fixed cases were:
 - background data URI SVG images, when a border-style was added to the container
 - tiled (repeated) gradient backgrounds
 - cross-fade image backgrounds
Comment 1 Mihai Tica 2014-03-04 00:45:43 PST
(In reply to comment #0)
> Consider merging https://chromium.googlesource.com/chromium/blink/+/b2f5ccbeec231b35e6e1166b7813542e0ab0510c
> 
> The fix adds the blendMode parameter to the Image subclass drawing function call, instead of using the default normal blend mode. In some cases this involved adding a new BlendMode parameter to the draw* function. The fixed cases were:
>  - background data URI SVG images, when a border-style was added to the container
>  - tiled (repeated) gradient backgrounds
>  - cross-fade image backgrounds

The patches that address these issues have been submitted in WebKit, this bug can be closed.
Comment 2 Mihnea Ovidenie 2014-03-04 00:57:32 PST
The issues have been fixed with:
https://bugs.webkit.org/show_bug.cgi?id=118894
https://bugs.webkit.org/show_bug.cgi?id=126887
https://bugs.webkit.org/show_bug.cgi?id=126888

This bug can be closed.