Skip to content

Commit d6b927d

Browse files
committed
[css-values] Editorial: In general, spell '1/0' as 'infinity' in the text, now that that's valid.
1 parent de1f8bb commit d6b927d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

css-values-4/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2964,8 +2964,8 @@ Argument Ranges</h4>
29642964
(because the JS function's input is in radians,
29652965
and one cannot perfectly express a value of π/2 in JS numbers),
29662966
is defined so that roundtripping of values works;
2967-
''tan(atan(1 / 0))'' yields +∞,
2968-
''tan(atan(-1 / 0))'' yields −∞,
2967+
''tan(atan(infinity))'' yields +∞,
2968+
''tan(atan(-infinity))'' yields −∞,
29692969
''atan(tan(90deg))'' yields ''90deg'',
29702970
and ''atan(tan(-90deg))'' yields ''-90deg''.
29712971

@@ -3583,7 +3583,7 @@ Type Checking</h3>
35833583
(0⁻)
35843584
can be produced by a multiplication or division that produces zero
35853585
with exactly one negative argument
3586-
(such as ''-5 * 0'' or ''1 / (-1 / 0)''),
3586+
(such as ''-5 * 0'' or ''1 / (-infinity)''),
35873587
or by certain argument combinations in the other [=math functions=].
35883588

35893589
Note: Note that negative zeros don't escape a [=math function=];

0 commit comments

Comments
 (0)