|
Fix background blending for some cases where it did not work at all. 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
R=eseidel@chromium.org
BUG= 268821
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155773
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+36 lines, -30 lines) |
Patch |
|
M |
LayoutTests/TestExpectations
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
2 comments
|
Download
|
|
A + |
LayoutTests/css3/compositing/background-blend-mode-crossfade-image-gradient.html
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/css3/compositing/background-blend-mode-data-uri-svg-image.html
|
View
|
|
2 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/css3/compositing/background-blend-mode-tiled-gradient.html
|
View
|
|
1 chunk |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/core/platform/graphics/CrossfadeGeneratedImage.cpp
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/platform/graphics/GeneratorGeneratedImage.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/platform/graphics/Image.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/platform/graphics/ImageBuffer.h
|
View
|
|
1 chunk |
+1 line, -1 line |
1 comment
|
Download
|
|
M |
Source/core/platform/graphics/ImageBuffer.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/svg/graphics/SVGImage.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/svg/graphics/SVGImage.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/svg/graphics/SVGImageForContainer.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|