Skip to content

Commit 5930efe

Browse files
committed
Add a minimum required length to calc()
1 parent 839affb commit 5930efe

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

css3-values/Overview.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1375,6 +1375,13 @@ <h3 id=calc><span class=secno>8.1. </span> Mathematical Expressions:
13751375
treated as if &lsquo;<code class=property>auto</code>&rsquo; had been
13761376
specified.
13771377

1378+
<p>UAs must support &lsquo;<a href="#calc0"><code
1379+
class=css>calc()</code></a>&rsquo; expressions of at least 30 terms, where
1380+
each &lsquo;<a href="#number"><code class=css>number</code></a>&rsquo;,
1381+
&lsquo;<a href="#dimension"><code class=css>dimension</code></a>&rsquo;,
1382+
or &lsquo;<a href="#percentage"><code
1383+
class=css>percentage</code></a>&rsquo; is a term.
1384+
13781385
<h3 id=cycle><span class=secno>8.2. </span> Cycling Values: &lsquo;<a
13791386
href="#cycle-value"><code class=css>cycle()</code></a>&rsquo;</h3>
13801387

css3-values/Overview.src.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -959,6 +959,8 @@ <h3 id="calc">
959959
and table cells in both auto and fixed layout tables MAY be treated as if
960960
'auto' had been specified.</p>
961961

962+
<p>UAs must support ''calc()'' expressions of at least 30 terms, where each ''number'', ''dimension'', or ''percentage'' is a term.</p>
963+
962964
<h3 id="cycle">
963965
Cycling Values: ''cycle()''</h3>
964966

0 commit comments

Comments
 (0)