Skip to content

Commit 3640082

Browse files
committed
[css-values-4] Properly specify how zeros are handled, so 0- becomes 0+.
1 parent 457e36d commit 3640082

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

css-values-4/Overview.bs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3284,10 +3284,11 @@ Sign-Related Functions: ''abs()'', ''sign()''</h3>
32843284

32853285
The <dfn lt="abs()">abs(A)</dfn> function
32863286
contains one [=calculation=] A,
3287-
and returns the absolute value of A
3288-
(if A is non-negative, just A;
3289-
if A is negative, ''-1 * A'')
3290-
as the same [=CSSNumericValue/type=] as the input.
3287+
and returns the absolute value of A,
3288+
as the same [=CSSNumericValue/type=] as the input:
3289+
if A is positive, just A again;
3290+
if A is zero, 0⁺;
3291+
if A is negative, ''-1 * A''.
32913292

32923293
The <dfn lt="sign()">sign(A)</dfn> function
32933294
contains one [=calculation=] A,

0 commit comments

Comments
 (0)