Skip to content

Commit 87f4d18

Browse files
committed
Reworded the bit about image() and absolute urls to reference V&U's new text.
1 parent e4ba1e1 commit 87f4d18

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

css3-images/Overview.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -505,10 +505,10 @@ <h3 id=image-notation><span class=secno>3.2. </span> Image Fallbacks and
505505
id=image-decl-type>&lt;image-decl></dfn> = &lt;string> [ ltr | rtl ]?</pre>
506506

507507
<p>Each <code>&lt;string></code> represents a <a
508-
href="http://dev.w3.org/csswg/css3-values/#urls">URL</a>. The computed
509-
value of an <a href="#image-list-type"><i>&lt;image-list></i></a> is the
510-
same as specified, except with all relative URLs converted into absolute
511-
URLs.
508+
href="http://dev.w3.org/csswg/css3-values/#urls">URL</a>. As usual for
509+
URLs in CSS, each is resolved to an absolute URL (as described in Values
510+
&amp; Units) when &lsquo;<code class=css>image()</code>&rsquo; appears in
511+
the computed value of a property.
512512

513513
<p>Multiple arguments can be given separated by commas, in which case the
514514
function represents the first &lt;string> representing an image that the

css3-images/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ <h3 id="image-notation">
227227
<pre class='prod'><dfn id='image-list-type'>&lt;image-list></dfn> = image( [ &lt;image-decl> , ]* [ &lt;image-decl> | &lt;color> ] )
228228
<dfn id='image-decl-type'>&lt;image-decl></dfn> = &lt;string> [ ltr | rtl ]?</pre>
229229

230-
<p>Each <code>&lt;string></code> represents a <a href="http://dev.w3.org/csswg/css3-values/#urls">URL</a>. The computed value of an <i>&lt;image-list></i> is the same as specified, except with all relative URLs converted into absolute URLs.</p>
230+
<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>
231231

232232
<p>Multiple arguments can be given separated by commas, in which case the function represents the first &lt;string> representing an image that the browser can successfully load and display. The final argument can specify a &lt;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 &lt;image-decl>s can be used. If the final argument is a &lt;color>, it represents a solid-color image of the given color with no <i>intrinsic dimensions</i>.
233233

0 commit comments

Comments
 (0)