Skip to content

Commit 6740d94

Browse files
committed
[css-values-5] Specify how to handle a too-large random() range. #11634
1 parent 442fc2c commit 6740d94

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

css-values-5/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2123,6 +2123,11 @@ Argument Ranges</h4>
21232123
If C is infinite,
21242124
the result is A.
21252125

2126+
If A and B are finite,
2127+
but the distance between them (''B - A'')
2128+
is large enough to become infinite in the user agent,
2129+
the result is NaN.
2130+
21262131
(If C is zero or negative,
21272132
the result is A,
21282133
but that falls out of the standard definition.)

0 commit comments

Comments
 (0)