Skip to content

Commit bda7588

Browse files
committed
[css-values] Make tan() asymptotes alternate pos/neg, so adding/subtracting whole turns gives the same value. w3c#4101.
1 parent 838cd0f commit bda7588

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

css-values-4/Overview.bs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2634,8 +2634,10 @@ Argument Ranges</h4>
26342634

26352635
In ''tan(A)'', if A is one of the asymptote values
26362636
(such as ''90deg'', ''270deg'', etc),
2637-
the result must be +∞ for positive angles
2638-
and -∞ for negative angles.
2637+
the result must be +∞ for ''90deg'' and all values a multiple of ''360deg'' from that
2638+
(such as ''-270deg'' or ''450deg''),
2639+
and -∞ for ''-90deg'' and all values a multiple of ''360deg'' from that
2640+
(such as ''-450deg'' or ''270deg'').
26392641

26402642
Note: This is only relevant for units that can exactly represent the asymptotic values,
26412643
such as ''deg'' or ''grad''.

0 commit comments

Comments
 (0)