csswg/css3-images Overview.html,1.304,1.305 Overview.src.html,1.314,1.315

Update of /sources/public/csswg/css3-images
In directory hutz:/tmp/cvs-serv7597

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Make the comment about CSSElementMap a note, as is proper.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-images/Overview.html,v
retrieving revision 1.304
retrieving revision 1.305
diff -u -d -r1.304 -r1.305
--- Overview.html	28 Feb 2012 20:53:38 -0000	1.304
+++ Overview.html	28 Feb 2012 20:55:10 -0000	1.305
@@ -517,7 +517,7 @@
   <pre class=prod><dfn
    id=image-list-type>&lt;image-list></dfn> = image( [ &lt;image-decl> , ]* [ &lt;image-decl> | &lt;color> ] )
 <dfn
-   id=image-decl-type>&lt;image-decl></dfn> = [ &lt;image> | &lt;string> ] [ ltr | rtl ]?</pre>
+   id=image-decl-type>&lt;image-decl></dfn> = [ &lt;url> | &lt;string> | &lt;element-reference> ] [ ltr | rtl ]?</pre>
 
   <p>Each <code>&lt;string></code> represents a <a
    href="http://dev.w3.org/csswg/css3-values/#urls">URL</a>. As usual for
@@ -673,13 +673,11 @@
    the selector. If multiple elements are matched by the selector, the
    function references the first such element.
 
-  <p>HTML defines an additional way for an element to match this ID selector,
-   via the <a
+  <p class=note>Host languages may define additional ways to match this ID
+   selector. For example, in HTML an element can be assigned to the <a
    href="http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-csselementmap"><code>CSSElementMap</code></a>.
    If an element matching the ID selector is not found in the document, the
-   ID is then looked up in the <code>CSSElementMap</code>. Other host
-   languages may define additional ways for elements to match the argument in
-   &lsquo;<code class=css>element()</code>&rsquo;.
+   ID is then looked up in the <code>CSSElementMap</code>.
 
   <div class=example>
    <p>The &lsquo;<code class=css>element()</code>&rsquo; function can be put

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-images/Overview.src.html,v
retrieving revision 1.314
retrieving revision 1.315
diff -u -d -r1.314 -r1.315
--- Overview.src.html	28 Feb 2012 20:53:38 -0000	1.314
+++ Overview.src.html	28 Feb 2012 20:55:10 -0000	1.315
@@ -229,7 +229,7 @@
 	<p>The ''image()'' notation is defined as:
 
 	<pre class='prod'><dfn id='image-list-type'>&lt;image-list></dfn> = image( [ &lt;image-decl> , ]* [ &lt;image-decl> | &lt;color> ] )
-<dfn id='image-decl-type'>&lt;image-decl></dfn> = [ &lt;image> | &lt;string> ] [ ltr | rtl ]?</pre>
+<dfn id='image-decl-type'>&lt;image-decl></dfn> = [ &lt;url> | &lt;string> | &lt;element-reference> ] [ ltr | rtl ]?</pre>
 
 	<p>Each <code>&lt;string></code> represents a <a href="http://dev.w3.org/csswg/css3-values/#urls">URL</a>.  As usual for URLs in CSS, each is resolved to an absolute URL (as described in Values &amp; Units) when ''image()'' appears in the computed value of a property.</p>
 
@@ -308,7 +308,7 @@
 
 	<p>If the argument to the ''element()'' function is an ID selector, the function references the element matched by the selector.  If multiple elements are matched by the selector, the function references the first such element.</p>
 
-	<p>HTML defines an additional way for an element to match this ID selector, via the <a href='http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-csselementmap'><code>CSSElementMap</code></a>.  If an element matching the ID selector is not found in the document, the ID is then looked up in the <code>CSSElementMap</code>.  Other host languages may define additional ways for elements to match the argument in ''element()''.</p>
+	<p class='note'>Host languages may define additional ways to match this ID selector.  For example, in HTML an element can be assigned to the <a href='http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-csselementmap'><code>CSSElementMap</code></a>.  If an element matching the ID selector is not found in the document, the ID is then looked up in the <code>CSSElementMap</code>.</p>
 
 	<div class='example'>
 		<p>The ''element()'' function can be put to many uses.  For example, it can be used to show a preview of the previous or next slide in a slideshow:</p>

Received on Tuesday, 28 February 2012 20:55:14 UTC