Skip to content

Commit f8a3d0e

Browse files
committed
Rephrase the note about the computed value of calc()
1 parent f3e54cb commit f8a3d0e

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

css3-values/Overview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1356,8 +1356,8 @@ <h3 id=calc-notation><span class=secno>8.1. </span> Mathematical
13561356
components computed, with all multiplication/division subexpressions
13571357
resolved, and with all addition/subtraction subexpressions resolved where
13581358
both sides are the same type. <span class=note> Thus, the computed value
1359-
of a calc() expression can be represented as a tuple of a number, a
1360-
dimension, and a percentage. </span>
1359+
of a calc() expression can be represented as either a number or a tuple of
1360+
a dimension and a percentage. </span>
13611361
<!-- http://lists.w3.org/Archives/Public/www-style/2010May/0001.html
13621362
This has notes on how we should handle things when calc() is extended to
13631363
handle unit mult/div. Related to this is <unit>mod<unit>, which can return

css3-values/Overview.src.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -897,10 +897,8 @@ <h3 id="calc-notation">
897897
and with all addition/subtraction subexpressions resolved where both sides are the same type.
898898
<span class='note'>
899899
Thus, the computed value of a calc() expression can be represented
900-
as a tuple of
901-
a number,
902-
a dimension,
903-
and a percentage.
900+
as either a number
901+
or a tuple of a dimension and a percentage.
904902
</span>
905903

906904
<!-- http://lists.w3.org/Archives/Public/www-style/2010May/0001.html

0 commit comments

Comments
 (0)