- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 10 Oct 2011 23:52:36 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-values
In directory hutz:/tmp/cvs-serv2734
Modified Files:
Overview.html Overview.src.html
Log Message:
Let's actually define the meaning of calc() and friends, hm?
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-values/Overview.html,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -d -r1.112 -r1.113
--- Overview.html 10 Oct 2011 23:47:14 -0000 1.112
+++ Overview.html 10 Oct 2011 23:52:34 -0000 1.113
@@ -1308,8 +1308,15 @@
class=css>-</code>’), multiplication (‘<code
class=css>*</code>’), division (‘<code
class=css>/</code>’), and modulus (‘<code
- class=css>mod</code>’) to be used as component values. They can be
- used wherever <a href="#length-value"><code><length></code></a>, <a
+ class=css>mod</code>’) to be used as component values. The ‘<a
+ href="#calc0"><code class=css>calc()</code></a>’ expression
+ represents the result of the mathematical calculation it contains, using
+ standard precedence operator rules. The ‘<a href="#min"><code
+ class=css>min()</code></a>’ and ‘<a href="#max"><code
+ class=css>max()</code></a>’ expressions represent the minimum and
+ maximum, respectively, of their comma-separated arguments. These
+ expressions can be used wherever <a
+ href="#length-value"><code><length></code></a>, <a
href="#frequency-value"><code><frequency></code></a>, <a
href="#angle-value"><code><angle></code></a>, <a
href="#time-value"><code><time></code></a>, or <a
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-values/Overview.src.html,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -d -r1.115 -r1.116
--- Overview.src.html 10 Oct 2011 23:47:14 -0000 1.115
+++ Overview.src.html 10 Oct 2011 23:52:34 -0000 1.116
@@ -870,7 +870,11 @@
<p>The <dfn>calc()</dfn>, <dfn>min()</dfn>, and <dfn>max()</dfn> functions
allow mathematical expressions with addition (''+''), subtraction (''-''),
multiplication (''*''), division (''/''), and modulus (''mod'') to be used
- as component values. They can be used wherever
+ as component values. The ''calc()'' expression represents the result of the
+ mathematical calculation it contains, using standard precedence operator
+ rules. The ''min()'' and ''max()'' expressions represent the minimum and
+ maximum, respectively, of their comma-separated arguments. These expressions
+ can be used wherever
<code><length></code>,
<code><frequency></code>,
<code><angle></code>,
Received on Monday, 10 October 2011 23:52:41 UTC