@@ -533,7 +533,7 @@ Combining Values: Interpolation, Addition, and Accumulation</h2>
533
533
If a value type does not define a specific procedure for <a>addition</a>
534
534
or is defined as <dfn export>not additive</dfn> ,
535
535
its <a>addition</a> operation is simply
536
- <var> V<sub> result</sub></var> = <var> V<sub> b </sub></var> .
536
+ <var> V<sub> result</sub></var> = <var> V<sub> B </sub></var> .
537
537
538
538
<dt> <dfn id="accumulation" lt="value accumulation | accumulation procedure" local-lt="accumulate | accumulation">accumulation</dfn>
539
539
<dd>
@@ -1273,14 +1273,14 @@ Computation and Combination of <<integer>></h4>
1273
1273
<a>Interpolation</a> of <<integer>> is defined as
1274
1274
<var> V</var><sub> result</sub> =
1275
1275
round((1 - <var> p</var> ) × <var> V<sub> A</sub></var> +
1276
- <var> p</var> × <var> V<sub> b </sub></var> );
1276
+ <var> p</var> × <var> V<sub> B </sub></var> );
1277
1277
that is, interpolation happens in the real number space
1278
1278
as for <<number>> s, and the result is converted to an <<integer>>
1279
1279
by [=rounding to the nearest integer=] .
1280
1280
1281
1281
<a>Addition</a> of <<integer>> is defined as
1282
1282
<var> V<sub> result</sub></var> =
1283
- <var> V<sub> A</sub></var> + <var> V<sub> b </sub></var>
1283
+ <var> V<sub> A</sub></var> + <var> V<sub> B </sub></var>
1284
1284
1285
1285
<wpt>
1286
1286
css/css-values/calc-positive-fraction-001.html
@@ -1338,11 +1338,11 @@ Computation and Combination of <<number>></h4>
1338
1338
<a>Interpolation</a> of <<number>> is defined as
1339
1339
<var> V</var><sub> result</sub> =
1340
1340
(1 - <var> p</var> ) × <var> V<sub> A</sub></var> +
1341
- <var> p</var> × <var> V<sub> b </sub></var>
1341
+ <var> p</var> × <var> V<sub> B </sub></var>
1342
1342
1343
1343
<a>Addition</a> of <<number>> is defined as
1344
1344
<var> V<sub> result</sub></var> =
1345
- <var> V<sub> A</sub></var> + <var> V<sub> b </sub></var>
1345
+ <var> V<sub> A</sub></var> + <var> V<sub> B </sub></var>
1346
1346
1347
1347
<h3 id='dimensions'>
1348
1348
Numbers with Units: <a>dimension</a> values</h3>
@@ -1403,11 +1403,11 @@ Combination of Dimensions</h4>
1403
1403
is defined as
1404
1404
<var> V</var><sub> result</sub> =
1405
1405
(1 - <var> p</var> ) × <var> V<sub> A</sub></var> +
1406
- <var> p</var> × <var> V<sub> b </sub></var>
1406
+ <var> p</var> × <var> V<sub> B </sub></var>
1407
1407
1408
1408
<a>Addition</a> of <a>compatible</a> <a>dimensions</a> is defined as
1409
1409
<var> V<sub> result</sub></var> =
1410
- <var> V<sub> A</sub></var> + <var> V<sub> b </sub></var>
1410
+ <var> V<sub> A</sub></var> + <var> V<sub> B </sub></var>
1411
1411
1412
1412
<!--
1413
1413
█████ ██
@@ -1456,11 +1456,11 @@ Computation and Combination of <<percentage>></h4>
1456
1456
<a>Interpolation</a> of <<percentage>> is defined as
1457
1457
<var> V</var><sub> result</sub> =
1458
1458
(1 - <var> p</var> ) × <var> V<sub> A</sub></var> +
1459
- <var> p</var> × <var> V<sub> b </sub></var>
1459
+ <var> p</var> × <var> V<sub> B </sub></var>
1460
1460
1461
1461
<a>Addition</a> of <<percentage>> is defined as
1462
1462
<var> V<sub> result</sub></var> =
1463
- <var> V<sub> A</sub></var> + <var> V<sub> b </sub></var>
1463
+ <var> V<sub> A</sub></var> + <var> V<sub> B </sub></var>
1464
1464
1465
1465
<h3 id="mixed-percentages">
1466
1466
Mixing Percentages and Dimensions</h3>
@@ -1523,11 +1523,11 @@ Computation and Combination of Percentage and Dimension Mixes</h4>
1523
1523
<ul>
1524
1524
<li>
1525
1525
equivalent to <a>interpolation</a> of <<length>>
1526
- if both <var> V<sub> A</sub></var> and <var> V<sub> b </sub></var> are pure <<length>> values
1526
+ if both <var> V<sub> A</sub></var> and <var> V<sub> B </sub></var> are pure <<length>> values
1527
1527
1528
1528
<li>
1529
1529
equivalent to <a>interpolation</a> of <<percentage>>
1530
- if both <var> V<sub> A</sub></var> and <var> V<sub> b </sub></var> are pure <<percentage>> values
1530
+ if both <var> V<sub> A</sub></var> and <var> V<sub> B </sub></var> are pure <<percentage>> values
1531
1531
<li>
1532
1532
equivalent to converting both values into a ''calc()'' expression
1533
1533
representing the sum of the dimension type and a percentage
@@ -4940,15 +4940,15 @@ Combination of Math Functions</h3>
4940
4940
with each other
4941
4941
or with numeric values and other numeric-valued functions,
4942
4942
is defined as
4943
- V<sub> result</sub> = calc((1 - p) * V<sub> A</sub> + p * V<sub> b </sub> ).
4943
+ V<sub> result</sub> = calc((1 - p) * V<sub> A</sub> + p * V<sub> B </sub> ).
4944
4944
([=simplify a calculation tree|Simplification=] of the value might then reduce the expression
4945
4945
to a smaller, simpler form.)
4946
4946
4947
4947
[=Addition=] of [=math functions=] ,
4948
4948
with each other
4949
4949
or with numeric values and other numeric-valued functions,
4950
4950
is defined as
4951
- V<sub> result</sub> = calc(V<sub> A</sub> + V<sub> b </sub> ).
4951
+ V<sub> result</sub> = calc(V<sub> A</sub> + V<sub> B </sub> ).
4952
4952
([=simplify a calculation tree|Simplification=] of the value might then reduce the expression
4953
4953
to a smaller, simpler form.)
4954
4954
0 commit comments