New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 662026 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

canvas.getContext('bitmaprenderer', { alpha: false }) does not return correct results

Project Member Reported by xidac...@chromium.org, Nov 3 2016

Issue description

currently in this layout tests:

fast/canvas/imagebitmap/transferFromImageBitmap-no-alpha.html, its result seems to be the same as the expected.html, but it is not.

In particular, if I draw the canvas into a new canvas and call getImageData, the expected.html gives (0, 127, 0, 255), but transferFromImageBitmap-no-alpha.html gives (0, 255, 0, 127).
 

Comment 1 by junov@chromium.org, Dec 6 2016

Status: WontFix (was: Assigned)
This is not a bug.  On 'bitmaprenderer', alpha:false only affects how the output bitmap is painted, it does not force the the output bitmap's alpha to false.

Spec: https://html.spec.whatwg.org/multipage/scripting.html#concept-imagebitmaprenderingcontext-alpha


Comment 2 by junov@chromium.org, Dec 6 2016

I meant "it does not force the the output bitmap's alpha to 1.0"

Sign in to add a comment