Bug 228138

Summary: wide gamut colors in Web content not shown after moving window from sRGB to Display P3 screen until next repaint
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: Layout and RenderingAssignee: Cameron McCormack (:heycam) <heycam>
Status: NEW    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
test
none
Patch simon.fraser: review+

Cameron McCormack (:heycam)
Reported 2021-07-20 21:30:45 PDT
Assuming this is a WebKit bug. STR: 1. Have a machine with two displays, one Display P3 and the other sRGB. 2. Open a new Safari window on the sRGB display and load the attached test. Notice the two red rectangles are the same color. 3. Move the window to the Display P3 display. Notice the two rectangles are still the same color. 4. Press Cmd+R. Notice the two rectangles are now different colors. Forcing a repaint of the document also makes the display-p3 color show up correctly.
Attachments
test (180 bytes, text/html)
2021-07-20 21:31 PDT, Cameron McCormack (:heycam)
no flags
Patch (2.00 KB, patch)
2021-07-20 22:41 PDT, Cameron McCormack (:heycam)
simon.fraser: review+
Cameron McCormack (:heycam)
Comment 1 2021-07-20 21:31:02 PDT
Radar WebKit Bug Importer
Comment 2 2021-07-20 22:36:56 PDT
Cameron McCormack (:heycam)
Comment 3 2021-07-20 22:41:53 PDT
Note You need to log in before you can comment on or make changes to this bug.