Bug 292226

Summary: Extended colors should be clamped so they look the same in SDR and HDR layers
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: ImagesAssignee: Matt Woodrow <mattwoodrow>
Status: RESOLVED FIXED    
Severity: Normal CC: sabouhallawa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=295430
Attachments:
Description Flags
test case none

Said Abou-Hallawa
Reported 2025-04-28 16:19:08 PDT
Created attachment 475068 [details] test case 1. Enable Support HDR images 2. Open the attached test case Result: The background extended color `color(srgb 5 5 5)` looks brighter in the HDR layer. But the same extended color looks clamped in the SDR layer. Expected: The extended colors should be displayed the same regardless of the HDR-ness of the layer. Ideally an HDR layer should be created if any extended color is going to be displayed in this layer. Till this happens, extended colors will be clamped.
Attachments
test case (435 bytes, text/html)
2025-04-28 16:19 PDT, Said Abou-Hallawa
no flags
Radar WebKit Bug Importer
Comment 1 2025-04-28 16:19:18 PDT
Said Abou-Hallawa
Comment 2 2025-04-28 16:22:34 PDT
Matt Woodrow
Comment 3 2025-06-30 19:36:44 PDT
Matt Woodrow
Comment 4 2025-07-03 21:03:32 PDT
EWS
Comment 5 2025-07-11 13:21:23 PDT
Committed 297279@main (fd22b8420d86): <https://commits.webkit.org/297279@main> Reviewed commits have been landed. Closing PR #47595 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.