Bug 230084 - Canvas shifts colors when using system color profiles
Summary: Canvas shifts colors when using system color profiles
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: Safari 14
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-09-08 23:24 PDT by Roland Soos
Modified: 2021-09-13 08:28 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Soos 2021-09-08 23:24:09 PDT
Steps to reproduce:
1. Open https://jsfiddle.net/tz0qhowy/2/

The left element has a red background and an image which has 0.5 opacity.
The right element is a canvas which has red background and the image drawn with 50% opacity.

I think both the left and the right side should always perfectly match with each other. 

In Safari during you switch color profiles [OSX System settings -> Displays -> Color], you can clearly see that the color do not match on the canvas with the one rendered by HTML.
Comment 1 Radar WebKit Bug Importer 2021-09-13 08:28:52 PDT
<rdar://problem/83056004>