Bug 301398
| Summary: | [HDR] IMG tag CSS features position and transform switch HDR JPEG with gainmap to SDR | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | isenberg <web> |
| Component: | Images | Assignee: | Simon Fraser (smfr) <simon.fraser> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | heycam, sabouhallawa, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Mac (Apple Silicon) | ||
| OS: | macOS 26 | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=282299 | ||
isenberg
In current release Safari 26.0.1 of macOS 26 and also current Safari Technology Preview 230 on macOS 26, HDR gainmap JPGs are not shown in HDR and switch back to SDR when the img tag attributes position or transform are used. Chrome and Opera do show HDR with these attributes.
Example with failed HDR using attributes transform and position: https://areo.info/mars20/ecams/1662/tn/NLF_1662_0814484811_380ECM_N0791762NCAM00501_01_295J_calib01_areo.info.jpg.html
Example with working HDR without those attributes:
https://areo.info/mars20/ecams/1662/
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/163347703>
Simon Fraser (smfr)
This reproduces in a very simple test case with a relatively-positioned image. The detection code must be failing to traverse into the RenderLayer.
Simon Fraser (smfr)
<rdar://156858374>
Simon Fraser (smfr)
Pull request: https://github.com/WebKit/WebKit/pull/52982
EWS
Committed 302200@main (52936d4f17f0): <https://commits.webkit.org/302200@main>
Reviewed commits have been landed. Closing PR #52982 and removing active labels.
isenberg
Thanks! I'll try with the next safari tech preview release.
isenberg
With Safari Tech Preview 232 (WebKit 21624.1.2.19.2) the large images with those CSS features now display in HDR, thanks!