Skip to content

Commit 75eb1a6

Browse files
committed
[css-values-4] Specify CSSNumericValue/type of the new functions.
1 parent b8935e7 commit 75eb1a6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

css-values-4/Overview.bs

+9
Original file line numberDiff line numberDiff line change
@@ -2827,6 +2827,15 @@ Type Checking</h3>
28272827
* The [=CSSNumericValue/type=] of a ''min()'', ''max()'', or ''clamp()'' expression
28282828
is the result of [=add two types|adding the types=]
28292829
of its comma-separated [=calculations=].
2830+
* The [=CSSNumericValue/type=] of a ''sin()'', ''cos()'', or ''tan()'' expression
2831+
is «[ "number" → 1 ]».
2832+
* The [=CSSNumericValue/type=] of an ''asin()'', ''acos()'', ''atan()'', or ''atan2()'' expression
2833+
is «[ "angle" → 1 ]».
2834+
* The [=CSSNumericValue/type=] of a ''pow()'' or ''sqrt()'' expression
2835+
is «[ "number" → 1 ]».
2836+
* The [=CSSNumericValue/type=] of a ''hypot()'' expression
2837+
is the result of [=add two types|adding the types=]
2838+
of its comma-separated [=calculations=].
28302839

28312840
For each of the above,
28322841
if the [=CSSNumericValue/type=] is failure,

0 commit comments

Comments
 (0)