csswg/css3-values Overview.html,1.99,1.100 Overview.src.html,1.102,1.103

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

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Slight editorial rearranging of intro sentences for attr().  Added sentence about attr() on pseudo-elements, to resolve the issue about that.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-values/Overview.html,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -d -r1.99 -r1.100
--- Overview.html	10 Oct 2011 21:22:12 -0000	1.99
+++ Overview.html	10 Oct 2011 21:28:23 -0000	1.100
@@ -1474,24 +1474,23 @@
   <h3 id=attr><span class=secno>9.3. </span> Attribute References:
    &lsquo;<code class=css>attr()</code>&rsquo;</h3>
 
-  <p class=issue>When attr is set on a pseudo-element, it should apply to the
-   originating element
-
   <p>The &lsquo;<code class=css>attr()</code>&rsquo; function returns the
-   value of an attribute on the element.
+   value of an attribute on the element for use as a value in a property. If
+   used on a pseudo-element, it returns the value of the attribute on the
+   pseudo-element's originating element.
 
-  <p>The &lsquo;<code class=css>attr()</code>&rsquo; expression cannot return
-   everything, for example it cannot do counters, named strings, quotes, or
-   values such as &lsquo;<code class=css>auto</code>&rsquo;, &lsquo;<code
+  <p>In CSS2.1 <a href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>,
+   the &lsquo;<code class=css>attr()</code>&rsquo; expression always returns
+   a string. In CSS3, the &lsquo;<code class=css>attr()</code>&rsquo;
+   expression can return many different types. The &lsquo;<code
+   class=css>attr()</code>&rsquo; expression cannot return everything, for
+   example it cannot do counters, named strings, quotes, or values such as
+   &lsquo;<code class=css>auto</code>&rsquo;, &lsquo;<code
    class=css>nowrap</code>&rsquo;, or &lsquo;<code
    class=css>baseline</code>&rsquo;. This is intentional, as the intent of
    the &lsquo;<code class=css>attr()</code>&rsquo; expression is not to make
    it possible to describe a presentational language's formatting using CSS,
-   but to enable CSS to take semantic data into account. In CSS2.1 <a
-   href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>, the
-   &lsquo;<code class=css>attr()</code>&rsquo; expression always returns a
-   string. In CSS3, the &lsquo;<code class=css>attr()</code>&rsquo;
-   expression can return many different types.
+   but to enable CSS to take semantic data into account.
 
   <p>The new syntax for the &lsquo;<code class=css>attr()</code>&rsquo;
    expression is:

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-values/Overview.src.html,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -d -r1.102 -r1.103
--- Overview.src.html	10 Oct 2011 21:22:12 -0000	1.102
+++ Overview.src.html	10 Oct 2011 21:28:23 -0000	1.103
@@ -1030,18 +1030,18 @@
 <h3 id="attr">
 Attribute References: ''attr()''</h3>
 
-	<p class=issue>When attr is set on a pseudo-element, it should apply to the originating element</p>
-
-	<p>The ''attr()'' function returns the value of an attribute on the element.</p>
+	<p>The ''attr()'' function returns the value of an attribute on the element 
+	for use as a value in a property.  If used on a pseudo-element, it returns 
+	the value of the attribute on the pseudo-element's originating element.</p>
 
-	<p>The ''attr()'' expression cannot return everything, for example it cannot
+	<p>In CSS2.1 [[!CSS21]], the ''attr()''	expression always returns a	string. 
+	In CSS3, the ''attr()'' expression can return many different types. The 
+	''attr()'' expression cannot return everything, for example it cannot
 	do counters, named strings, quotes, or values such as ''auto'',
 	''nowrap'', or ''baseline''. This is intentional, as the intent of the
 	''attr()'' expression is not to make it possible to describe a
 	presentational language's formatting using CSS, but to enable CSS
-	to take semantic data into account.  In CSS2.1 [[!CSS21]], the ''attr()''
-	expression always returns a	string. In CSS3, the ''attr()'' expression can
-	return many different types. 
+	to take semantic data into account.</p>
 
 	<p>The new syntax for the ''attr()'' expression is:</p>
 

Received on Monday, 10 October 2011 21:28:30 UTC