Skip to content

Commit e35ab89

Browse files
committed
[css-color-hdr] For dynamic-range-limit, change high to no-limit #11698
1 parent c69a2e2 commit e35ab89

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

css-color-hdr-1/Overview.bs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,8 @@ The 'dynamic-range-limit' property {#the-dynamic-range-limit-property}
317317

318318
<pre class='propdef'>
319319
Name: dynamic-range-limit
320-
Value: standard | high | constrained-high | <<dynamic-range-limit-mix()>>
321-
Initial: high
320+
Value: standard | no-limit | constrained-high | <<dynamic-range-limit-mix()>>
321+
Initial: no-limit
322322
Applies to: all elements
323323
Inherited: yes
324324
Percentages: n/a
@@ -341,7 +341,7 @@ The 'dynamic-range-limit' property {#the-dynamic-range-limit-property}
341341
that is displayed is the same as
342342
media white, i.e. the CSS color ''white''.
343343
</dd>
344-
<dt><dfn>high</dfn>
344+
<dt><dfn>no-limit</dfn>
345345
<dd>
346346
The highest peak luminance
347347
that is displayed is much greater than
@@ -392,7 +392,7 @@ Mixing Dynamic Range Limits: the ''dynamic-range-limit-mix()'' function {#dynami
392392
Computed Value for 'dynamic-range-limit'
393393
</h3>
394394

395-
If the specified value is ''standard'', ''constrained-high'', or ''high'', then the computed value is the specified value.
395+
If the specified value is ''standard'', ''constrained-high'', or ''no-limit'', then the computed value is the specified value.
396396

397397
If the specified value is ''dynamic-range-limit-mix()'', then the computed value is determined by the following algorithm:
398398

@@ -401,13 +401,13 @@ Mixing Dynamic Range Limits: the ''dynamic-range-limit-mix()'' function {#dynami
401401
3. Define the contributing percentages as:
402402
* Let <var>p1_standard</var>,...,<var>pN_standard</var> be the percentages for ''standard'' in <var>v1</var>,...,<var>vN</var>
403403
* Let <var>p1_constrained_high</var>,...,<var>pN_constrained_high</var> be the percentages for ''constrained-high'' in <var>v1</var>,...,<var>vN</var>
404-
* Let <var>p1_high</var>,...,<var>pN_high</var> be the percentages for ''high'' in <var>v1</var>,...,<var>vN</var>
404+
* Let <var>p1_no_limit</var>,...,<var>pN_no_limit</var> be the percentages for ''no-limit'' in <var>v1</var>,...,<var>vN</var>
405405
4. Compute the weighted sums as:
406406
* <var>p_standard</var>=(<var>p1_standard</var>*<var>p1</var>+...+<var>pN_standard</var>*<var>pN</var>)/100.
407407
* <var>p_constrained_high</var>=(<var>p1_constrained_high</var>*<var>p1</var>+...+<var>pN_constrained_high</var>*<var>pN</var>)/100.
408-
* <var>p_high</var>=(<var>p1_high</var>*<var>p1</var>+...+<var>pN_high</var>*<var>pN</var>)/100.
409-
5. If <var>p_standard</var>, <var>p_constrained_high</var>, or <var>p_high</var> equals 100%, then the computed value is ''standard'', ''constrained-high'', or ''high'', respectively.
410-
6. Otherwise, the computed value is ''dynamic-range-limit-mix()'', with parameters ''standard'', ''constrained-high'', and ''high'', in that order, and percentages <var>p_standard</var>, <var>p_constrained_high</var>, and <var>p_high</var>, omitting parameters with a percentage equal to 0%.
408+
* <var>p_no_limit</var>=(<var>p1_no_limit</var>*<var>p1</var>+...+<var>pN_no_limit</var>*<var>pN</var>)/100.
409+
5. If <var>p_standard</var>, <var>p_constrained_high</var>, or <var>p_no_limit</var> equals 100%, then the computed value is ''standard'', ''constrained-high'', or ''no-limit'', respectively.
410+
6. Otherwise, the computed value is ''dynamic-range-limit-mix()'', with parameters ''standard'', ''constrained-high'', and ''no-limit'', in that order, and percentages <var>p_standard</var>, <var>p_constrained_high</var>, and <var>p_no_limit</var>, omitting parameters with a percentage equal to 0%.
411411

412412
<wpt>
413413
computed.html
@@ -419,11 +419,11 @@ Mixing Dynamic Range Limits: the ''dynamic-range-limit-mix()'' function {#dynami
419419
dynamic-range-limit-mix(
420420
high 10%,
421421
dynamic-range-limit-mix(standard 25%, constrained-high 75%) 20%,
422-
dynamic-range-limit-mix(constrained-high 10%, high 30%) 20%)
422+
dynamic-range-limit-mix(constrained-high 10%, no-limit 30%) 20%)
423423
</pre>
424424
is
425425
<pre class="lang-css">
426-
dynamic-range-limit-mix(standard 10%, constrained-high 40%, high 50%)
426+
dynamic-range-limit-mix(standard 10%, constrained-high 40%, no-limit 50%)
427427
</pre>
428428
</div>
429429

0 commit comments

Comments
 (0)