Skip to content

Commit 55bed8b

Browse files
committed
[css-values-4] Fill in the missing type details for abs() and sign().
1 parent 3640082 commit 55bed8b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

css-values-4/Overview.bs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3516,11 +3516,13 @@ Type Checking</h3>
35163516
[=Math functions=] themselves have [=CSSNumericValue/types=],
35173517
according to their contained [=calculations=]:
35183518

3519-
* The [=CSSNumericValue/type=] of a ''calc()'' expression
3519+
* The [=CSSNumericValue/type=] of a ''calc()'' or ''abs()'' expression
35203520
is the [=CSSNumericValue/type=] of its contained [=calculation=].
35213521
* The [=CSSNumericValue/type=] of a ''min()'', ''max()'', or ''clamp()'' expression
35223522
is the result of [=add two types|adding the types=]
35233523
of its comma-separated [=calculations=].
3524+
* The [=CSSNumericValue/type=] of a ''sign()'' expression
3525+
is «[ "number" → 1 ]».
35243526
* The [=CSSNumericValue/type=] of a ''sin()'', ''cos()'', or ''tan()'' expression
35253527
is «[ "number" → 1 ]».
35263528
* The [=CSSNumericValue/type=] of an ''asin()'', ''acos()'', ''atan()'', or ''atan2()'' expression

0 commit comments

Comments
 (0)