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

Issue 200003002: Canvas element that use the alpha attribute don't display correctly. (Closed)

Created:
6 years, 9 months ago by zino
Modified:
6 years, 8 months ago
Reviewers:
Rik, Justin Novosad
CC:
blink-reviews, dglazkov+blink, adamk+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Canvas element that use the alpha attribute don't display correctly. Current blink is delaying the creation of the backing store until drawing something. When alpha is false, the backing store must be initialized to opaque black instead of transparent black. BUG=352018 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171408

Patch Set 1 #

Patch Set 2 : new patch #

Patch Set 3 : layout test #

Total comments: 2

Patch Set 4 : new patch #

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -5 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M LayoutTests/fast/canvas/alpha.js View 1 2 2 chunks +3 lines, -5 lines 0 comments Download
M Source/core/html/HTMLCanvasElement.cpp View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
zino
6 years, 9 months ago (2014-03-14 08:32:00 UTC) #1
Justin Novosad
The lazy allocation is a behavior we should try to keep. You could fix this ...
6 years, 9 months ago (2014-03-14 12:17:18 UTC) #2
Justin Novosad
Also, please add a layout test for this.
6 years, 9 months ago (2014-03-14 12:18:00 UTC) #3
zino
On 2014/03/14 12:18:00, junov wrote: > Also, please add a layout test for this. Thank ...
6 years, 9 months ago (2014-03-16 08:34:47 UTC) #4
Justin Novosad
https://codereview.chromium.org/200003002/diff/40001/Source/core/html/HTMLCanvasElement.cpp File Source/core/html/HTMLCanvasElement.cpp (right): https://codereview.chromium.org/200003002/diff/40001/Source/core/html/HTMLCanvasElement.cpp#newcode321 Source/core/html/HTMLCanvasElement.cpp:321: createImageBuffer(); I think you can solve this problem without ...
6 years, 9 months ago (2014-03-17 17:24:23 UTC) #5
zino
On 2014/03/17 17:24:23, junov wrote: > https://codereview.chromium.org/200003002/diff/40001/Source/core/html/HTMLCanvasElement.cpp > File Source/core/html/HTMLCanvasElement.cpp (right): > > https://codereview.chromium.org/200003002/diff/40001/Source/core/html/HTMLCanvasElement.cpp#newcode321 > ...
6 years, 9 months ago (2014-03-18 02:56:27 UTC) #6
Rik
On 2014/03/18 02:56:27, zino wrote: > > Thank you for your detailed explanation :) > ...
6 years, 9 months ago (2014-03-18 03:34:20 UTC) #7
Justin Novosad
On 2014/03/18 03:34:20, Rik wrote: > On 2014/03/18 02:56:27, zino wrote: > > > > ...
6 years, 9 months ago (2014-03-21 12:31:46 UTC) #8
zino
The CQ bit was checked by jinho.bang@samsung.com
6 years, 8 months ago (2014-04-11 16:31:22 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jinho.bang@samsung.com/200003002/100001
6 years, 8 months ago (2014-04-11 16:31:29 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-11 17:01:35 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_rel
6 years, 8 months ago (2014-04-11 17:01:36 UTC) #12
zino
The CQ bit was checked by jinho.bang@samsung.com
6 years, 8 months ago (2014-04-13 12:56:53 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jinho.bang@samsung.com/200003002/120001
6 years, 8 months ago (2014-04-13 12:57:03 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-13 13:24:10 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_rel
6 years, 8 months ago (2014-04-13 13:24:11 UTC) #16
zino
The CQ bit was checked by jinho.bang@samsung.com
6 years, 8 months ago (2014-04-13 14:34:06 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jinho.bang@samsung.com/200003002/140001
6 years, 8 months ago (2014-04-13 14:34:20 UTC) #18
commit-bot: I haz the power
6 years, 8 months ago (2014-04-13 15:39:33 UTC) #19
Message was sent while issue was closed.
Change committed as 171408

Powered by Google App Engine
This is Rietveld 408576698