Skip to content

Commit 10bdf3f

Browse files
committed
[css-color-hdr][editorial] More tab/space nonsense
1 parent eab6ac4 commit 10bdf3f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

css-color-hdr/Overview.bs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -312,29 +312,29 @@ Mixing Dynamic Range Limits: the ''dynamic-range-limit-mix()'' function {#dynami
312312
<dfn>dynamic-range-limit-mix()</dfn> = dynamic-range-limit-mix( [ <<ident>> && <<percentage [0,100]>> ]+)
313313
</pre>
314314

315-
If the sum of all percentages is 0%, then the function is invalid.
315+
If the sum of all percentages is 0%, then the function is invalid.
316316

317317
<h3 id="computing-dynamic-range-limit">
318-
Computed Value for 'dynamic-range-limit'
318+
Computed Value for 'dynamic-range-limit'
319319
</h3>
320320

321-
If the specified value is ''standard'', ''constrained-high'', or ''high'', then the computed value is the specified value.
321+
If the specified value is ''standard'', ''constrained-high'', or ''high'', then the computed value is the specified value.
322322

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

325-
1. Let <var>v1</var>, ..., <var>vN</var> be the computed values for the parameters to be mixed.
326-
2. Let <var>p1</var>, ..., <var>pN</var> be the mixing percentages, normalized to sum to 100%.
327-
3. Define the contributing percentages as:
325+
1. Let <var>v1</var>, ..., <var>vN</var> be the computed values for the parameters to be mixed.
326+
2. Let <var>p1</var>, ..., <var>pN</var> be the mixing percentages, normalized to sum to 100%.
327+
3. Define the contributing percentages as:
328328
* Let <var>p1_standard</var>,...,<var>pN_standard</var> be the percentages for ''standard'' in <var>v1</var>,...,<var>vN</var>
329329
* Let <var>p1_constrained_high</var>,...,<var>pN_constrained_high</var> be the percentages for ''constrained-high'' in <var>v1</var>,...,<var>vN</var>
330330
* Let <var>p1_high</var>,...,<var>pN_high</var> be the percentages for ''high'' in <var>v1</var>,...,<var>vN</var>
331-
4. Compute the weighted sums as:
331+
4. Compute the weighted sums as:
332332
* <var>p_standard</var>=(<var>p1_standard</var>*<var>p1</var>+...+<var>pN_standard</var>*<var>pN</var>)/100.
333333
* <var>p_constrained_high</var>=(<var>p1_constrained_high</var>*<var>p1</var>+...+<var>pN_constrained_high</var>*<var>pN</var>)/100.
334334
* <var>p_high</var>=(<var>p1_high</var>*<var>p1</var>+...+<var>pN_high</var>*<var>pN</var>)/100.
335-
5. If <var>p_standard</var>, <var>p_constrained_high</var>, or <var>p_high</var> equals 100%, then
335+
5. If <var>p_standard</var>, <var>p_constrained_high</var>, or <var>p_high</var> equals 100%, then
336336
the computed value is ''standard'', ''constrained-high'', or ''high'', respectively.
337-
6. Otherwise, the computed value is ''dynamic-range-limit-mix()'', with parameters
337+
6. Otherwise, the computed value is ''dynamic-range-limit-mix()'', with parameters
338338
''standard'', ''constrained-high'', and ''high'', in that order, and percentages
339339
<var>p_standard</var>, <var>p_constrained_high</var>, and <var>p_high</var>,
340340
omitting parameters with a percentage equal to 0%.

0 commit comments

Comments
 (0)