WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
301398
[HDR] IMG tag CSS features position and transform switch HDR JPEG with gainmap to SDR
https://bugs.webkit.org/show_bug.cgi?id=301398
Summary
[HDR] IMG tag CSS features position and transform switch HDR JPEG with gainma...
isenberg
Reported
2025-10-23 21:18:58 PDT
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
Comment 1
2025-10-24 09:41:40 PDT
<
rdar://problem/163347703
>
Simon Fraser (smfr)
Comment 2
2025-10-24 16:12:58 PDT
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)
Comment 3
2025-10-24 20:31:10 PDT
<
rdar://156858374
>
Simon Fraser (smfr)
Comment 4
2025-10-24 20:39:04 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/52982
EWS
Comment 5
2025-10-27 14:51:30 PDT
Committed
302200@main
(52936d4f17f0): <
https://commits.webkit.org/302200@main
> Reviewed commits have been landed. Closing PR #52982 and removing active labels.
isenberg
Comment 6
2025-10-27 14:59:53 PDT
Thanks! I'll try with the next safari tech preview release.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug