Open Bug 1862925 Opened 1 year ago Updated 6 months ago

globalCompositeOperation makes 2d canvas without alpha channel transparent (Mac)

Categories

(Core :: Graphics: Canvas2D, defect, P3)

Firefox 119
defect

Tracking

()

UNCONFIRMED

People

(Reporter: benni.vetter, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Attached file index.html

Steps to reproduce:

https://bitbof.github.io/browser-bug-demos/2023-11-03-firefox-canvas-alpha/

  • On M1 Mac, Ventura 13.3.1 (works as expected on Windows)
  • Create a 2d context with option alpha: false -> it should have no alpha channel
  • set globalCompositeOperation to "destination-out"
  • fillRect

Actual results:

fillRect creates transparent pixels. The background becomes visible.

Expected results:

The canvas stays opaque.

The Bugbug bot thinks this bug should belong to the 'Core::Graphics: Canvas2D' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Graphics: Canvas2D
Product: Firefox → Core
Summary: globalCompositeOperation violates 2d context without alpha channel (mac) → globalCompositeOperation makes 2d canvas without alpha channel transparent (Mac)

:lsalzman, since you are the author of the regressor, bug 1773712, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(lsalzman)
Severity: -- → S3
Priority: -- → P3
Flags: needinfo?(lsalzman)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: