- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 28 Feb 2012 20:55:12 +0000
- To: public-css-commits@w3.org
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><image-list></dfn> = image( [ <image-decl> , ]* [ <image-decl> | <color> ] ) <dfn - id=image-decl-type><image-decl></dfn> = [ <image> | <string> ] [ ltr | rtl ]?</pre> + id=image-decl-type><image-decl></dfn> = [ <url> | <string> | <element-reference> ] [ ltr | rtl ]?</pre> <p>Each <code><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 - ‘<code class=css>element()</code>’. + ID is then looked up in the <code>CSSElementMap</code>. <div class=example> <p>The ‘<code class=css>element()</code>’ 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'><image-list></dfn> = image( [ <image-decl> , ]* [ <image-decl> | <color> ] ) -<dfn id='image-decl-type'><image-decl></dfn> = [ <image> | <string> ] [ ltr | rtl ]?</pre> +<dfn id='image-decl-type'><image-decl></dfn> = [ <url> | <string> | <element-reference> ] [ ltr | rtl ]?</pre> <p>Each <code><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 & 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