- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 11 Oct 2011 01:23:24 +0000
- To: public-css-commits@w3.org
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 ‘<a href="#attr-value"><code
class=css>attr()</code></a>’ expression is placed, the whole
‘<a href="#attr-value"><code class=css>attr()</code></a>’
- expression is invalid. If the fallback ‘<code
- class=css><value></code>’ 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 ‘<a
+ href="#attr-value"><code class=css>attr()</code></a>’ expression; if
+ it is, the outer ‘<a href="#attr-value"><code
+ class=css>attr()</code></a>’ expression is invalid. If the fallback
+ ‘<code class=css><value></code>’ 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 ''<value>'' argument is not valid for the property where the ''attr()''
- expression is placed, the whole ''attr()'' expression is invalid. If the
- fallback ''<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 ''<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