standards-positions
standards-positions copied to clipboard
CSS dynamic-range-limit property
WebKittens
@smfr
Title of the spec
CSS dynamic-range-limit
URL to the spec
https://github.com/ccameron-chromium/hdr-headroom-limit/blob/main/EXPLAINER.md
URL to the spec's repository
https://github.com/ccameron-chromium/hdr-headroom-limit/blob/main/EXPLAINER.md
Issue Tracker URL
No response
Explainer URL
No response
TAG Design Review URL
No response
Mozilla standards-positions issue URL
No response
WebKit Bugzilla URL
No response
Radar URL
No response
Description
This adds a CSS property to control the brightness of high dynamic range content.
It is very similar to UIImageView preferredImageDynamicRange API, in that it specifies qualitative HDR levels (standard, constrained-high, and high) that may be interpreted by the user agent to provide the best user experience, instead of quantitative HDR headroom values.
I don't see any abuse considerations. As a web developer it might be quite attractive to just specify
:root { dynamic-range-limit: high }
as why would you not want all your HDR images to look as good as possible.
cc @smfr @shallawa
Web-Spec (in Draft) - https://drafts.csswg.org/css-color-hdr/#controlling-dynamic-range
Post - https://github.com/w3c/csswg-drafts/issues/9074