standards-positions icon indicating copy to clipboard operation
standards-positions copied to clipboard

CSS dynamic-range-limit property

Open ccameron-chromium opened this issue 1 year ago • 3 comments

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.

ccameron-chromium avatar Jan 31 '24 13:01 ccameron-chromium

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

annevk avatar Feb 01 '24 12:02 annevk

Web-Spec (in Draft) - https://drafts.csswg.org/css-color-hdr/#controlling-dynamic-range

Post - https://github.com/w3c/csswg-drafts/issues/9074

Ahmad-S792 avatar Mar 07 '24 15:03 Ahmad-S792