Intent to Prototype: CSS dynamic-range-limit property

121 views
Skip to first unread message

Christopher Cameron

unread,
Sep 15, 2023, 7:48:56 AM9/15/23
to blink-dev, Sami Boukortt

Contact emails

ccam...@chromium.orgsbou...@google.com

Explainer

https://github.com/ccameron-chromium/hdr-headroom-limit/blob/main/EXPLAINER.md


Summary

dynamic-range-limit allows a page to limit the maximum brightness of high dynamic range content.



Blink component

Blink>CSS

Motivation

Several applications that show galleries of images and videos have indicated that, when there is a mix of high dynamic range (HDR) and standard dynamic range (SDR) content in a gallery view, the contrast between the brightnesses of the content can be jarring. They would prefer that the HDR images be limited in their brightness when in the gallery, and only expanded on demand (e.g, when hovered, clicked on, etc). This CSS property enables this behavior. It also mirrors existing and in-development native APIs.



Initial public proposal

Pitched at the CSSWG F2F "Lightning pitches".

TAG review

None

TAG review status

Pending

Risks



Interoperability and Compatibility

None



Gecko: No signal

WebKit: Informally expressed positive interest at CSSWG F2F.

Web developers: Positive (see github issue, several other requests have been made non-publicly).

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



Debuggability

None



Is this feature fully tested by web-platform-tests?

No

Flag name on chrome://flags

None

Finch feature name

None

Non-finch justification

None

Requires code in //chrome?

False

Tracking bug

https://crbug.com/1470298

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5146250411769856

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages