csswg/css3-values Overview.html,1.122,1.123 Overview.src.html,1.125,1.126

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

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Restrict attr() to not allow more attr() as a fallback value.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-values/Overview.html,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -d -r1.122 -r1.123
--- Overview.html	11 Oct 2011 01:14:23 -0000	1.122
+++ Overview.html	11 Oct 2011 01:23:21 -0000	1.123
@@ -1587,9 +1587,12 @@
    where the &lsquo;<a href="#attr-value"><code
    class=css>attr()</code></a>&rsquo; expression is placed, the whole
    &lsquo;<a href="#attr-value"><code class=css>attr()</code></a>&rsquo;
-   expression is invalid. If the fallback &lsquo;<code
-   class=css>&lt;value></code>&rsquo; is absent, the default value for the
-   given type (from the list below) is implied.
+   expression is invalid. The fallback value must not be another &lsquo;<a
+   href="#attr-value"><code class=css>attr()</code></a>&rsquo; expression; if
+   it is, the outer &lsquo;<a href="#attr-value"><code
+   class=css>attr()</code></a>&rsquo; expression is invalid. If the fallback
+   &lsquo;<code class=css>&lt;value></code>&rsquo; is absent, the default
+   value for the given type (from the list below) is implied.
 
   <p class=note>Note that the default value need not be of the type given.
    For instance, if the type required of the attribute by the author is

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-values/Overview.src.html,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -d -r1.125 -r1.126
--- Overview.src.html	11 Oct 2011 01:14:23 -0000	1.125
+++ Overview.src.html	11 Oct 2011 01:23:21 -0000	1.126
@@ -1103,9 +1103,10 @@
 	value to be used if the named attribute is missing, or its value cannot be
 	parsed into the	given type or is invalid/out-of-range for the property.  If
 	the ''&lt;value>'' argument is not valid for the property where the ''attr()'' 
-	expression is placed, the whole ''attr()'' expression is invalid.  If the 
-	fallback ''&lt;value>'' is absent, the default value for the given
-	type (from the list below) is implied.</p>
+	expression is placed, the whole ''attr()'' expression is invalid.  The 
+	fallback value must not be another ''attr()'' expression; if it is, the
+	outer ''attr()'' expression is invalid.  If the fallback ''&lt;value>'' is 
+	absent, the default value for the given type (from the list below) is implied.</p>
 
 	<p class='note'>Note that the default value need not be of the type given. For
 	instance, if the type required of the attribute by the author is

Received on Tuesday, 11 October 2011 01:23:29 UTC