WebKit / standards-positions

WebKit's positions on emerging web specifications
https://webkit.org/standards-positions/
240 stars 18 forks source link

CSS dynamic-range-limit property #312

Open ccameron-chromium opened 5 months ago

ccameron-chromium commented 5 months ago

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.

annevk commented 5 months ago

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

Ahmad-S792 commented 4 months ago

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

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