csswg/css3-values Overview.html,1.94,1.95 Overview.src.html,1.97,1.98

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

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Make attr()'s syntax accept a qualified name.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-values/Overview.html,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- Overview.html	9 Sep 2011 00:05:04 -0000	1.94
+++ Overview.html	10 Oct 2011 20:22:39 -0000	1.95
@@ -24,14 +24,14 @@
 
    <h1>CSS Values and Units Module Level 3</h1>
 
-   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 9 September
+   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 10 October
     2011</h2>
 
    <dl>
     <dt>This version:
 
     <dd><a
-     href="http://www.w3.org/TR/2011/ED-css3-values-20110909/">http://www.w3.org/TR/2011/ED-css3-values-20110909/</a>
+     href="http://www.w3.org/TR/2011/ED-css3-values-20111010/">http://www.w3.org/TR/2011/ED-css3-values-20111010/</a>
 
     <dt>Latest version:
 
@@ -63,13 +63,13 @@
    <p class=copyright><a
     href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
     rel=license>Copyright</a> &copy; 2011 <a
-    href="http://www.w3.org/"><acronym title="World Wide Web
-    Consortium">W3C</acronym></a><sup>&reg;</sup> (<a
-    href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute
-    of Technology">MIT</acronym></a>, <a href="http://www.ercim.eu/"><acronym
-    title="European Research Consortium for Informatics and
-    Mathematics">ERCIM</acronym></a>, <a
-    href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a
+    href="http://www.w3.org/"><acronym
+    title="World Wide Web Consortium">W3C</acronym></a><sup>&reg;</sup> (<a
+    href="http://www.csail.mit.edu/"><acronym
+    title="Massachusetts Institute of Technology">MIT</acronym></a>, <a
+    href="http://www.ercim.eu/"><acronym
+    title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>,
+    <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a
     href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
     <a
     href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>
@@ -1108,13 +1108,8 @@
    3.5&nbsp;m (12&nbsp;feet) results in a reference pixel of 1.3&nbsp;mm.
 
   <div class=figure>
-   <p><img alt="This diagram illustrates how the definition of a pixel
-    depends on the users distance from the viewing surface (paper or screen).
-    The image depicts the user looking at two planes, one 28 inches (71 cm)
-    from the user, the second 140 inches (3.5 m) from the user. An expanding
-    cone is projected from the user's eye onto each plane. Where the cone
-    strikes the first plane, the projected pixel is 0.26 mm high. Where the
-    cone strikes the second plane, the projected pixel is 1.4 mm high."
+   <p><img
+    alt="This diagram illustrates how the definition of a pixel 		             depends on the users distance from the viewing surface 		             (paper or screen). 		             The image depicts the user looking at two planes, one 		             28 inches (71 cm) from the user, the second 140 inches 		             (3.5 m) from the user. An expanding cone is projected 		             from the user's eye onto each plane. Where the cone 		             strikes the first plane, the projected pixel is 0.26 mm  		             high. Where the cone strikes the second plane, the 		             projected pixel is 1.4 mm high."
     src=pixel1.png>
 
    <p class=caption>Showing that pixels must become larger if the viewing
@@ -1128,13 +1123,9 @@
    printer).
 
   <div class=figure>
-   <p><img alt="This diagram illustrates the relationship between the
-    reference pixel and device pixels (called &#34;dots&#34; below). The
-    image depicts a high resolution (large dot density) laser printer output
-    on the left and a low resolution monitor screen on the right. For the
-    laser printer, one square reference pixel is implemented by 16 dots. For
-    the monitor screen, one square reference pixel is implemented by a single
-    dot." src=pixel2.png>
+   <p><img
+    alt="This diagram illustrates the relationship between the 		             reference pixel and device pixels (called &#34;dots&#34; below). 		             The image depicts a high resolution (large dot density) 		             laser printer output on the left and a low resolution 		             monitor screen on the right. For the laser printer, one 		             square reference pixel is implemented by 16 dots. For 		             the monitor screen, one square reference pixel is 		             implemented by a single dot."
+    src=pixel2.png>
 
    <p class=caption>Showing that more device pixels (dots) are needed to
     cover a 1px by 1px area on a high-resolution device than on a low-res one
@@ -1496,9 +1487,17 @@
    expression is:
 
   <pre>
-'attr(' ident [ ',' &lt;type> [ ',' &lt;value> ]? ]? ')'
+'attr(' wqname [ ',' &lt;type> [ ',' &lt;value> ]? ]? ')'
 </pre>
 
+  <p>where <dfn id=wqname>wqname</dfn> is defined as:
+
+  <pre>
+wqname
+  : [ [ namespace_prefix? | '*' ] '|' ident ]
+  | ident
+  ;</pre>
+
   <p>The first argument represents the attribute name. The value of the
    attribute with that name on the element whose computed values are being
    computed is used as the value of the expression, according to the rules
@@ -2082,10 +2081,10 @@
    <dt id=CSS21>[CSS21]
 
    <dd>Bert Bos; et al. <a
-    href="http://www.w3.org/TR/2011/REC-CSS2-20110607"><cite>Cascading Style
+    href="http://www.w3.org/TR/2011/REC-CSS2-20110607/"><cite>Cascading Style
     Sheets Level 2 Revision 1 (CSS&#160;2.1) Specification.</cite></a> 7 June
     2011. W3C Recommendation. URL: <a
-    href="http://www.w3.org/TR/2011/REC-CSS2-20110607">http://www.w3.org/TR/2011/REC-CSS2-20110607</a>
+    href="http://www.w3.org/TR/2011/REC-CSS2-20110607/">http://www.w3.org/TR/2011/REC-CSS2-20110607/</a>
     </dd>
    <!---->
 
@@ -2102,9 +2101,9 @@
    <dt id=CSS3COLOR>[CSS3COLOR]
 
    <dd>Tantek &#199;elik; Chris Lilley; L. David Baron. <a
-    href="http://www.w3.org/TR/2011/REC-css3-color-20110607"><cite>CSS Color
+    href="http://www.w3.org/TR/2011/REC-css3-color-20110607/"><cite>CSS Color
     Module Level 3.</cite></a> 7 June 2011. W3C Recommendation. URL: <a
-    href="http://www.w3.org/TR/2011/REC-css3-color-20110607">http://www.w3.org/TR/2011/REC-css3-color-20110607</a>
+    href="http://www.w3.org/TR/2011/REC-css3-color-20110607/">http://www.w3.org/TR/2011/REC-css3-color-20110607/</a>
     </dd>
    <!---->
   </dl>
@@ -2187,8 +2186,8 @@
    <li>absolute length units, <a href="#absolute-length-units"
     title="absolute length units"><strong>5.2.</strong></a>
 
-   <li>actual value, <a href="#actual-value" title="actual
-    value"><strong>10.4.</strong></a>
+   <li>actual value, <a href="#actual-value"
+    title="actual value"><strong>10.4.</strong></a>
 
    <li>&lt;angle&gt;, <a href="#angle-value"
     title="&lt;angle&gt;"><strong>6.1.</strong></a>
@@ -2200,8 +2199,8 @@
    <li><a href="#color-value"><code>&lt;color&gt;</code></a>, <a
     href="#color-value" title="&lt;color&gt;"><strong>7.1.</strong></a>
 
-   <li>computed value, <a href="#computed-value" title="computed
-    value"><strong>10.2.</strong></a>
+   <li>computed value, <a href="#computed-value"
+    title="computed value"><strong>10.2.</strong></a>
 
    <li>&lsquo;<code class=css>cycle()</code>&rsquo;, <a href="#cycle0"
     title="''cycle()''"><strong>9.2.</strong></a>
@@ -2220,8 +2219,8 @@
    <li>&lt;frequency&gt;, <a href="#frequency-value"
     title="&lt;frequency&gt;"><strong>6.3.</strong></a>
 
-   <li>functional notation, <a href="#functional-notation0" title="functional
-    notation"><strong>9.</strong></a>
+   <li>functional notation, <a href="#functional-notation0"
+    title="functional notation"><strong>9.</strong></a>
 
    <li>gr, <a href="#gr-unit" title=gr><strong>8.2.</strong></a>
 
@@ -2272,18 +2271,19 @@
 
    <li>rad, <a href="#rad" title=rad><strong>6.1.</strong></a>
 
-   <li>reference pixel, <a href="#reference-pixel" title="reference
-    pixel"><strong>5.2.</strong></a>
+   <li>reference pixel, <a href="#reference-pixel"
+    title="reference pixel"><strong>5.2.</strong></a>
 
-   <li>relative length, <a href="#relative-length-units" title="relative
-    length"><strong>5.1.</strong></a>
+   <li>relative length, <a href="#relative-length-units"
+    title="relative length"><strong>5.1.</strong></a>
 
    <li>rem, <a href="#rem-unit" title=rem><strong>5.1.1.</strong></a>
 
    <li>s, <a href="#s" title=s><strong>6.2.</strong></a>
 
-   <li>specified value, <a href="#specified-value" title="specified
-    value"><strong>10.1.</strong></a>, <a href="#specified-value0"
+   <li>specified value, <a href="#specified-value"
+    title="specified value"><strong>10.1.</strong></a>, <a
+    href="#specified-value0"
     title="specified value"><strong>10.1.</strong></a>
 
    <li><a href="#string-value"><code>&lt;string&gt;</code></a>, <a
@@ -2299,14 +2299,16 @@
    <li><a href="#url-value"><code>&lt;url&gt;</code></a>, <a
     href="#url-value" title="&lt;url&gt;"><strong>3.4.</strong></a>
 
-   <li>used value, <a href="#used-value" title="used
-    value"><strong>10.3.</strong></a>, <a href="#used-value0" title="used
-    value"><strong>10.3.</strong></a>
+   <li>used value, <a href="#used-value"
+    title="used value"><strong>10.3.</strong></a>, <a href="#used-value0"
+    title="used value"><strong>10.3.</strong></a>
 
    <li>vh, <a href="#vh-unit" title=vh><strong>5.1.2.</strong></a>
 
    <li>vm, <a href="#vm-unit" title=vm><strong>5.1.2.</strong></a>
 
    <li>vw, <a href="#vw-unit" title=vw><strong>5.1.2.</strong></a>
+
+   <li>wqname, <a href="#wqname" title=wqname><strong>9.3.</strong></a>
   </ul>
   <!--end-index-->

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-values/Overview.src.html,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -d -r1.97 -r1.98
--- Overview.src.html	9 Sep 2011 00:05:04 -0000	1.97
+++ Overview.src.html	10 Oct 2011 20:22:39 -0000	1.98
@@ -1039,9 +1039,16 @@
 types. The new syntax for the attr() expression is:
 
 <pre>
-'attr(' ident [ ',' &lt;type> [ ',' &lt;value> ]? ]? ')'
+'attr(' wqname [ ',' &lt;type> [ ',' &lt;value> ]? ]? ')'
 </pre>
 
+<p>where <dfn>wqname</dfn> is defined as:</p>
+
+<pre>
+wqname
+  : [ [ namespace_prefix? | '*' ] '|' ident ]
+  | ident
+  ;</pre>
 
 <p>The first argument represents the attribute name. The value of the
 attribute with that name on the element whose computed values are

Received on Monday, 10 October 2011 20:22:44 UTC