| Summary: | Basic color with alpha doesn't match other browsers on non-sRGB monitors | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Weinig <sam> | ||||||||||
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||||||||
| Status: | NEW --- | ||||||||||||
| Severity: | Normal | CC: | simon.fraser, webkit-bug-importer | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | Other | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Sam Weinig
2022-01-07 17:59:26 PST
Created attachment 448653 [details]
Test using boxes
Created attachment 448654 [details]
Test using boxes
Created attachment 448655 [details]
Test using boxes
Created attachment 448656 [details]
Test using rgb() instead
Don't think this is hsla() related. But rather something about how we draw. Looks like this is likely due to using the display colorspace as our working color space for our CGContextRefs. As such, this is not a problem on sRGB displays. We should try to see if we can use extended-srgb as we do on iOS, but it will likely be a bit costly due to the lack of a dedicated scaler. But it is an experiment worth doing. |