- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 17 Feb 2012 23:05:18 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-images In directory hutz:/tmp/cvs-serv343 Modified Files: Overview.html Overview.src.html Log Message: Reworded the bit about image() and absolute urls to reference V&U's new text. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.html,v retrieving revision 1.288 retrieving revision 1.289 diff -u -d -r1.288 -r1.289 --- Overview.html 17 Feb 2012 22:46:40 -0000 1.288 +++ Overview.html 17 Feb 2012 23:05:16 -0000 1.289 @@ -505,10 +505,10 @@ id=image-decl-type><image-decl></dfn> = <string> [ ltr | rtl ]?</pre> <p>Each <code><string></code> represents a <a - href="http://dev.w3.org/csswg/css3-values/#urls">URL</a>. The computed - value of an <a href="#image-list-type"><i><image-list></i></a> is the - same as specified, except with all relative URLs converted into absolute - URLs. + 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 ‘<code class=css>image()</code>’ appears in + the computed value of a property. <p>Multiple arguments can be given separated by commas, in which case the function represents the first <string> representing an image that the Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.src.html,v retrieving revision 1.298 retrieving revision 1.299 diff -u -d -r1.298 -r1.299 --- Overview.src.html 17 Feb 2012 22:46:40 -0000 1.298 +++ Overview.src.html 17 Feb 2012 23:05:16 -0000 1.299 @@ -227,7 +227,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> = <string> [ ltr | rtl ]?</pre> - <p>Each <code><string></code> represents a <a href="http://dev.w3.org/csswg/css3-values/#urls">URL</a>. The computed value of an <i><image-list></i> is the same as specified, except with all relative URLs converted into absolute URLs.</p> + <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> <p>Multiple arguments can be given separated by commas, in which case the function represents the first <string> representing an image that the browser can successfully load and display. The final argument can specify a <color> to serve as an ultimate fallback; this can be used, e.g. for 'background-image', to ensure adequate contrast if none of the preceding <image-decl>s can be used. If the final argument is a <color>, it represents a solid-color image of the given color with no <i>intrinsic dimensions</i>.
Received on Friday, 17 February 2012 23:05:20 UTC