Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / CSS

dynamic-range-limit — limiting HDR range

The dynamic-range-limit property controls an element’s peak HDR luminance. It is inherited; its actual effect requires separate verification.

Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required

Syntax

dynamic-range-limit: standard | no-limit | constrained | <dynamic-range-limit-mix()>;
dynamic-range-limit-mix( [ <'dynamic-range-limit'> && <percentage [0,100]> ]# )

dynamic-range-limit applies to all elements, is inherited, and initially has the value no-limit. standard caps luminance at HDR Reference White, meaning CSS white. constrained allows a moderate increase above that level. With no-limit, the property imposes no cap, but this does not guarantee substantially more headroom than constrained. The available headroom above reference white depends on the display and rendering environment.

dynamic-range-limit-mix() mixes limits using percentage weights normalized to 100%. This does not set screen brightness as a percentage. The specification is an evolving draft, not a guarantee of browser implementation.

The example deliberately uses only SDR content: it checks declarations and inheritance rather than demonstrating HDR highlights. Save it as an HTML file and inspect the computed styles of .panel and .sample. A lack of visible difference does not establish support either way. The example’s code and declared result were verified in isolation, but HDR rendering was not tested. Support in Chromium 152 still needs to be checked locally.

Examples

<!doctype html>
<meta charset="utf-8">
<title>dynamic-range-limit</title>
<style>
  .panel { dynamic-range-limit: standard; }
  .sample { background: white; color: black; padding: 1rem; }
</style>
<section class="panel">
  <p class="sample">dynamic-range-limit: standard</p>
</section>

Result

A white panel with black text reading “dynamic-range-limit: standard”. If the property is supported, .sample inherits the computed value standard from .panel. No visible HDR difference is required.

The exact code shown and its declared result were verified in isolation. That verification did not test HDR rendering.

Sources