Skip to content

Commit 679835e

Browse files
committed
[css-values-4] Define minimum 32 terms/args/nesting in calc(). w3c#3462
1 parent 17ad142 commit 679835e

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

css-values-4/Overview.bs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4127,11 +4127,13 @@ Syntax</h3>
41274127
on what their <<calc-sum>> arguments can contain.
41284128
Check the definitions of the individual functions for details.
41294129

4130-
UAs must support [=calculations=] of at least 20 <<calc-value>> terms.
4131-
If a [=calculation=] contains more than the supported number of terms,
4130+
UAs must support [=calculations=] of at least 32 <<calc-value>> terms
4131+
and at least 32 levels of nesting (parentheses and/or functions).
4132+
For functions that support an arbitrary number of arguments (such as ''min()''),
4133+
it must also support at least 32 arguments.
4134+
If a [=calculation=] contains more than the supported number of terms, arguments, or nesting
41324135
it must be treated as if it were invalid.
41334136

4134-
41354137
<h3 id='calc-type-checking'>
41364138
Type Checking</h3>
41374139

0 commit comments

Comments
 (0)