Does HDR survive inside SVG?
The pattern placed inside SVG in different ways. HDR works if the squares appear inside the white band.
S0 SDR PNG: control

S1 gain-map JPEG in <img>: positive control

S2 gain-map JPEG in an inline SVG
S3 gain-map JPEG in an inline SVG, linked file
S4 standalone .svg file with the gain-map JPEG
S5 AVIF PQ in an inline SVG
S6 standalone .svg file with the AVIF PQ
Vector fills above white
A white rectangle with a square filled at 4x white. Black: colour not recognised. Same white: clamped to SDR. Brighter: vector HDR.
V1 color(srgb-linear 4 4 4)
V2 color(rec2100-linear 4 4 4)
V3 color(rec2100-pq 0.7291 0.7291 0.7291)