csswg/css3-images Overview.html,1.103,1.104 Overview.src.html,1.107,1.108

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

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Fixed references to <resolution> to specify that vector images have no resolution, and thus tweaking their resolution does nothing.


Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-images/Overview.html,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -d -r1.103 -r1.104
--- Overview.html	24 May 2011 22:31:56 -0000	1.103
+++ Overview.html	24 May 2011 22:43:46 -0000	1.104
@@ -343,15 +343,18 @@
   </dl>
 
   <p>The &lt;resolution> unit represents the size of a single "dot" of an
-   image. For raster images, a dot is an image pixel. For vector images, a
-   dot is a pixel in the outermost coordinate space of the image. A
-   &lt;resolution> defines how many of these dots fit in a CSS &lsquo;<code
+   image. For raster images, a dot is an image pixel. A &lt;resolution>
+   defines how many of these dots fit in a CSS &lsquo;<code
    class=property>in</code>&rsquo;, &lsquo;<code
    class=property>cm</code>&rsquo;, or &lsquo;<code
    class=property>px</code>&rsquo; so that images can be sized accordingly.
-   <span class=note>The default resolution of raster images in CSS is
-   &lsquo;<code class=css>1dppx</code>&rsquo;, which is equivalent to
-   &lsquo;<code class=css>96dpi</code>&rsquo;.</span>
+   The default resolution of raster images in CSS is &lsquo;<code
+   class=css>1dppx</code>&rsquo;, which is equivalent to &lsquo;<code
+   class=css>96dpi</code>&rsquo;. The concept of "resolution" does not apply
+   to vector image formats like SVG; generally, this means that any attempt
+   to change the resolution of a vector image is simply meaningless.
+   Individual uses of the &lt;resolution> value define precisely what effects
+   they have on raster and vector images.
 
   <div class=example>
    <p>Printers tend to have substantially higher resolution than computer
@@ -480,18 +483,20 @@
   <p>Each <a href="#ltimage-decl"><i>&lt;image-decl></i></a> represents the
    external image referenced by the URI given as the &lt;string> argument.
 
-  <p>If a &lt;resolution> is given, the image must be rendered at that
-   resolution. <span class=note>Recall that the default resolution of images
-   is &lsquo;<code class=css>1dppx</code>&rsquo;, so that one image pixel
-   corresponds to one CSS &lsquo;<code class=css>px</code>&rsquo;
-   unit.</span> If the &lsquo;<code class=css>snap</code>&rsquo; keyword is
-   also specified, and the specified resolution would make one image pixel
-   larger than one device pixel, the image must be rendered at the specified
-   resolution, rounded to the nearest value that would map one image pixel to
-   an integer number of device pixels; if the specified resolution would make
-   one image pixel smaller than one device pixel, the image must be rendered
-   at the specified resolution, rounded to the nearest value that would map
-   an integer number of image pixels to one device pixel.
+  <p>If the image is a raster image and a &lt;resolution> is given, the image
+   must be rendered at that resolution. <span class=note>Recall that the
+   default resolution of raster images is &lsquo;<code
+   class=css>1dppx</code>&rsquo;, so that one image pixel corresponds to one
+   CSS &lsquo;<code class=css>px</code>&rsquo; unit.</span> If the
+   &lsquo;<code class=css>snap</code>&rsquo; keyword is also specified, and
+   the specified resolution would make one image pixel larger than one device
+   pixel, the image must be rendered at the specified resolution, rounded to
+   the nearest value that would map one image pixel to an integer number of
+   device pixels; if the specified resolution would make one image pixel
+   smaller than one device pixel, the image must be rendered at the specified
+   resolution, rounded to the nearest value that would map an integer number
+   of image pixels to one device pixel. If the image is a vector image,
+   specifying a resolution has no effect.
 
   <p>If a directional keyword (&lsquo;<code class=css>ltr</code>&rsquo; or
    &lsquo;<code class=css>rtl</code>&rsquo;) is given, the image itself gains
@@ -1745,6 +1750,9 @@
     or &lsquo;<code class=css>1dppx</code>&rsquo; if none is given.
   </dl>
 
+  <p>This property must have no effect on vector images, as vector images do
+   not have a concept of "resolution".
+
   <div class=example>
    <p>This rule specifies that the UA should use the image resolution found
     in the image itself, falling back to 1 image pixel per CSS &lsquo;<code

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-images/Overview.src.html,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -d -r1.107 -r1.108
--- Overview.src.html	24 May 2011 22:31:56 -0000	1.107
+++ Overview.src.html	24 May 2011 22:43:46 -0000	1.108
@@ -150,10 +150,12 @@
 	</dl>
 
 	<p>The &lt;resolution> unit represents the size of a single "dot" of an image.  For raster images,
-	a dot is an image pixel.  For vector images, a dot is a pixel in the outermost coordinate space of
-	the image.  A &lt;resolution> defines how many of these dots fit in a CSS 'in', 'cm', or 'px' so that 
-	images can be sized accordingly. <span class='note'>The default resolution of raster images in 
-	CSS is ''1dppx'', which is equivalent to ''96dpi''.</span></p>
+	a dot is an image pixel.  A &lt;resolution> defines how many of these dots fit in a CSS 'in', 'cm', or 'px' so that 
+	images can be sized accordingly. The default resolution of raster images in CSS is ''1dppx'', 
+	which is equivalent to ''96dpi''.  The concept of "resolution" does not apply to vector image
+	formats like SVG; generally, this means that any attempt to change the resolution of a vector
+	image is simply meaningless.  Individual uses of the &lt;resolution> value define precisely
+	what effects they have on raster and vector images.</p>
 
 	<div class='example'>
 		<p>Printers tend to have substantially higher resolution than computer monitors; due to this,
@@ -270,8 +272,9 @@
 	<p>Each <i>&lt;image-decl></i> represents the external image referenced
 	by the URI given as the &lt;string> argument.</p>
 
-	<p>If a &lt;resolution> is given, the image must be rendered at that resolution.
-	<span class='note'>Recall that the default resolution of images is ''1dppx'',
+	<p>If the image is a raster image and a &lt;resolution> is given, the image 
+	must be rendered at that resolution.
+	<span class='note'>Recall that the default resolution of raster images is ''1dppx'',
 	so that one image pixel corresponds to one CSS ''px'' unit.</span>  If the 
 	''snap'' keyword is also specified, and the specified resolution would make 
 	one image pixel larger than one device pixel, the image must be rendered at 
@@ -279,7 +282,8 @@
 	pixel to an integer number of device pixels; if the specified resolution would 
 	make one image pixel smaller than one device pixel, the image must be rendered 
 	at the specified resolution, rounded to the nearest value that would map an 
-	integer number of image pixels to one device pixel.</p>
+	integer number of image pixels to one device pixel.  If the image is a vector 
+	image, specifying a resolution has no effect.</p>
 
 	<p>If a directional keyword (''ltr'' or ''rtl'') is given, the image itself
 	gains that directionality.  If the image is used in a property on an element
@@ -1314,6 +1318,9 @@
 		value is used, or ''1dppx'' if none is given.</dd>
 	</dl>
 
+	<p>This property must have no effect on vector images, as vector images
+	do not have a concept of "resolution".</p>
+
 	<div class="example">
 		<p>This rule specifies that the UA should use the image resolution
 		found in the image itself, falling back to 1 image pixel per CSS

Received on Tuesday, 24 May 2011 22:43:49 UTC