@@ -134,8 +134,8 @@ <h2 class="no-num no-toc" id=contents> Table of contents</h2>
134134 notation</ a >
135135
136136 < li > < a href ="#image-notation "> < span class =secno > 4.2. </ span > Image
137- Annotations: the ‘< code class = css > image() </ code > ’
138- notation</ a >
137+ Annotations and Fallbacks : the ‘< code
138+ class = css > image() </ code > ’ notation</ a >
139139
140140 < li > < a href ="#element-reference "> < span class =secno > 4.3. </ span > Using
141141 Elements as Images: the ‘< code class =css > element()</ code > ’
@@ -386,8 +386,8 @@ <h3 id=url><span class=secno>4.1. </span> Image References and Image
386386 </ div >
387387 <!-- ====================================================================== -->
388388
389- < h3 id =image-notation > < span class =secno > 4.2. </ span > Image Annotations: the
390- ‘< code class =css > image()</ code > ’ notation</ h3 >
389+ < h3 id =image-notation > < span class =secno > 4.2. </ span > Image Annotations and
390+ Fallbacks: the ‘< code class =css > image()</ code > ’ notation</ h3 >
391391
392392 < p > The ‘< code class =css > image()</ code > ’ notation allows an
393393 author to tag an image with a few types of useful processing instructions
@@ -404,7 +404,7 @@ <h3 id=image-notation><span class=secno>4.2. </span> Image Annotations: the
404404 < p > where <image-decl> is given by:
405405
406406 < pre class =prod > < dfn id =ltimage-decl > <image-decl> </ dfn > =
407- [ <string> | <url> ] [ snap? && <resolution> ]? [ ltr | rtl ]?
407+ [ <string> | <url> ] [ snap? && <resolution> ]? && [ ltr | rtl ]?
408408
409409 </ pre >
410410
@@ -429,16 +429,18 @@ <h3 id=image-notation><span class=secno>4.2. </span> Image Annotations: the
429429 < p > If a directional keyword (‘< code class =css > ltr</ code > ’ or
430430 ‘< code class =css > rtl</ code > ’) is given, the image itself gains
431431 that directionality. If the image is used in a property on an element with
432- opposite directionality, is must be rendered horizontally flipped (in the
433- image's own coordinate space).
434-
435- < p > Multiple arguments can be given, in which case the function represents
436- the first <image-decl> representing an image that the browser can
437- successfully load and display. The final argument can be a <color> or
438- other type of <image to serve as ultimate fallback if none of the
439- preceding <image-decl> s can be used. If the final argument is a
440- <color> , it represents a solid-color image of the given color with no
441- < a href ="#intrinsic-dimensions "> < i > intrinsic dimensions</ i > </ a > .
432+ opposite directionality, is must be mirrored in the inline dimension when
433+ rendered.
434+
435+ < p > Multiple arguments can be given separated by commas, in which case the
436+ function represents the first <image-decl> representing an image that
437+ the browser can successfully load and display. The final argument can be a
438+ <color> , < a href ="#gradients "> <gradient> </ a > , or < a
439+ href ="#element-reference "> <element-reference> </ a > , which serves as the
440+ ultimate fallback if none of the preceding <image-decl> s can be used.
441+ If the final argument is a <color> , it represents a solid-color image
442+ of the given color with no < a href ="#intrinsic-dimensions "> < i > intrinsic
443+ dimensions</ i > </ a > .
442444
443445 < div class =example >
444446 < p > The rule below would tell the UA to load ‘< code
@@ -452,15 +454,16 @@ <h3 id=image-notation><span class=secno>4.2. </span> Image Annotations: the
452454 GIF may not exist on the server, so requesting it returns an HTML 404
453455 page instead of an image.</ p >
454456
455- < pre > background-image: image(url(wavy.svg), 'wavy.png' 150dpi, "wavy.gif", blue );</ pre >
457+ < pre > background-image: image(url(wavy.svg), 'wavy.png' 150dpi, "wavy.gif", rgba(255,0,0,0.5) );</ pre >
456458
457459 < p > The ‘< code class =property > background-image</ code > ’ property
458460 specifies that dimensionless images must stretch to cover the entire
459461 background positioning area < a href ="#CSS3BG "
460462 rel =biblioentry > [CSS3BG]<!--{{CSS3BG}}--> </ a > , so if none of the
461- specified images can be displayed the background will be painted blue. As
462- with any image, this fallback will be painted over the ‘< code
463- class =property > background-color</ code > ’ (if any).</ p >
463+ specified images can be displayed the background will be painted
464+ semi-transparent blue. As with any image, this fallback will be painted
465+ over the ‘< code class =property > background-color</ code > ’ (if
466+ any).</ p >
464467 </ div >
465468 <!-- ====================================================================== -->
466469
0 commit comments