Bug 305683
| Summary: | REGRESSION (297279@main): P3 colors can be mismatched between painted content, and layer backgrounds (see on book.stevejobsarchive.com). | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | Layout and Rendering | Assignee: | Simon Fraser (smfr) <simon.fraser> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, sam, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=305672 | ||
Simon Fraser (smfr)
https://book.stevejobsarchive.com used a display-p3 color in CSS, and this was used both for painted backgrounds, and for "simple container" layers where we set it as layer.backgroundColor.
This bug was introduced by 297279@main, which added clamping of the colors in the painting path to sRGB, but not in the layer backgroundColor path.
<rdar://166725679>
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/168337432>
Simon Fraser (smfr)
Pull request: https://github.com/WebKit/WebKit/pull/56752
EWS
Committed 306261@main (d6203e5d590d): <https://commits.webkit.org/306261@main>
Reviewed commits have been landed. Closing PR #56752 and removing active labels.