csswg/css3-values Overview.html,1.123,1.124 Overview.src.html,1.126,1.127

Update of /sources/public/csswg/css3-values
In directory hutz:/tmp/cvs-serv15807

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Make it clear that dividing by an expression that evaluates to 0 is invalid in calc().

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-values/Overview.html,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -d -r1.123 -r1.124
--- Overview.html	11 Oct 2011 01:23:21 -0000	1.123
+++ Overview.html	11 Oct 2011 01:25:31 -0000	1.124
@@ -1439,7 +1439,10 @@
   </ul>
 
   <p>If an operator does not pass the above checks, the expression is
-   invalid. Also, division by zero is invalid.
+   invalid. Also, division by zero is invalid. This includes both dividing by
+   the literal number zero, as well as any numeric expression that evaluates
+   to zero (as purely-numeric expressions can be evaluated without any
+   additional information at parse time).
 
   <p>The value resulting from an expression must be clamped to the range
    allowed in the target context.

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-values/Overview.src.html,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -d -r1.126 -r1.127
--- Overview.src.html	11 Oct 2011 01:23:21 -0000	1.126
+++ Overview.src.html	11 Oct 2011 01:25:31 -0000	1.127
@@ -984,7 +984,10 @@
 	</ul>
 
 	<p>If an operator does not pass the above checks, the expression is invalid.
-	Also, division by zero is invalid.</p>
+	Also, division by zero is invalid.  This includes both dividing by the 
+	literal number zero, as well as any numeric expression that evaluates to zero
+	(as purely-numeric expressions can be evaluated without any additional 
+	information at parse time).</p>
 
 	<p>The value resulting from an expression must be clamped to the
 	range allowed in the target context.  

Received on Tuesday, 11 October 2011 01:25:34 UTC