Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(889)

Issue 22596003: Fix background blending for some cases where it did not work at all. The fix adds the blendMode par… (Closed)

Created:
7 years, 4 months ago by Horia Olaru
Modified:
7 years, 4 months ago
Reviewers:
eseidel
CC:
blink-reviews, jamesr, eae+blinkwatch, danakj, dglazkov+blink, Rik, f(malita), pdr, Stephen Chennney, jeez, pdr.
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

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

Patch Set 1 #

Patch Set 2 : adding TestExpectation lines for rebaselining #

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

Messages

Total messages: 6 (0 generated)
Horia Olaru
Please have a look :) https://codereview.chromium.org/22596003/diff/3001/LayoutTests/TestExpectations File LayoutTests/TestExpectations (right): https://codereview.chromium.org/22596003/diff/3001/LayoutTests/TestExpectations#newcode1253 LayoutTests/TestExpectations:1253: crbug.com/268821 css3/compositing/background-blend-mode-crossfade-image-gradient.html [ NeedsRebaseline ...
7 years, 4 months ago (2013-08-07 21:31:44 UTC) #1
eseidel
lgtm Seems reasonable. Schenny is my go-to guy for graphics changes like this. https://codereview.chromium.org/22596003/diff/3001/LayoutTests/TestExpectations File ...
7 years, 4 months ago (2013-08-07 23:10:56 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/olaru@adobe.com/22596003/3001
7 years, 4 months ago (2013-08-07 23:11:10 UTC) #3
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=1682
7 years, 4 months ago (2013-08-08 01:36:39 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/olaru@adobe.com/22596003/3001
7 years, 4 months ago (2013-08-08 09:26:10 UTC) #5
commit-bot: I haz the power
7 years, 4 months ago (2013-08-08 14:19:41 UTC) #6
Message was sent while issue was closed.
Change committed as 155773

Powered by Google App Engine
This is Rietveld 408576698