W3C home > Mailing lists > Public > public-css-commits@w3.org > October 2011

csswg/css3-values Overview.html,1.112,1.113 Overview.src.html,1.115,1.116

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
Message-Id: <E1RDPe8-0000iR-Pm@lionel-hutz.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>&rsquo;), multiplication (&lsquo;<code
    class=css>*</code>&rsquo;), division (&lsquo;<code
    class=css>/</code>&rsquo;), and modulus (&lsquo;<code
-   class=css>mod</code>&rsquo;) to be used as component values. They can be
-   used wherever <a href="#length-value"><code>&lt;length&gt;</code></a>, <a
+   class=css>mod</code>&rsquo;) to be used as component values. The &lsquo;<a
+   href="#calc0"><code class=css>calc()</code></a>&rsquo; expression
+   represents the result of the mathematical calculation it contains, using
+   standard precedence operator rules. The &lsquo;<a href="#min"><code
+   class=css>min()</code></a>&rsquo; and &lsquo;<a href="#max"><code
+   class=css>max()</code></a>&rsquo; expressions represent the minimum and
+   maximum, respectively, of their comma-separated arguments. These
+   expressions can be used wherever <a
+   href="#length-value"><code>&lt;length&gt;</code></a>, <a
    href="#frequency-value"><code>&lt;frequency&gt;</code></a>, <a
    href="#angle-value"><code>&lt;angle&gt;</code></a>, <a
    href="#time-value"><code>&lt;time&gt;</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>&lt;length&gt;</code>,
 	<code>&lt;frequency&gt;</code>,
 	<code>&lt;angle&gt;</code>,
Received on Monday, 10 October 2011 23:52:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 10 October 2011 23:52:41 GMT