csswg/css3-images Overview.html,1.105,1.106 Overview.src.html,1.109,1.110

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

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Resolved the image-resolution by having it apply to all images on all elements, per feedback from AH.


Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-images/Overview.html,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -r1.105 -r1.106
--- Overview.html	25 May 2011 22:01:57 -0000	1.105
+++ Overview.html	26 May 2011 16:44:03 -0000	1.106
@@ -20,7 +20,7 @@
 
    <h1>CSS Image Values and Replaced Content Module Level 3</h1>
 
-   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 25 May 2011</h2>
+   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 26 May 2011</h2>
 
    <dl>
     <dt>Latest Version:
@@ -484,19 +484,21 @@
    external image referenced by the URI given as the &lt;string> argument.
 
   <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.
+   must be rendered at that resolution. This must override the default
+   resolution given by the &lsquo;<a href="#image-resolution0"><code
+   class=property>image-resolution</code></a>&rsquo; property. <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
@@ -1710,7 +1712,7 @@
     <tr>
      <th>Applies to:
 
-     <td>replaced elements
+     <td>all elements
 
     <tr>
      <th>Inherited:
@@ -1730,11 +1732,9 @@
 
   <p>The &lsquo;<a href="#image-resolution0"><code
    class=property>image-resolution</code></a>&rsquo; property specifies the
-   resolution of images in content (i.e. replaced elements and generated
-   content). It has no effect on background images, list markers, and other
-   images that are not element content. <span class=issue>Or does this apply
-   to all images unless otherwise overridden?</span> Values have the
-   following meanings:
+   resolution of all images used in or on the element: images in content
+   (e.g. replaced elements and generated content), background images, list
+   markers, etc. Values have the following meanings:
 
   <dl>
    <dt>&lt;resolution>
@@ -1753,6 +1753,10 @@
   <p>This property must have no effect on vector images, as vector images do
    not have a concept of "resolution".
 
+  <p class=note>Note that for all images other than the contents of replaced
+   elements, the &lsquo;<code class=css>image()</code>&rsquo; function may be
+   used to override the resolution set here.
+
   <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.109
retrieving revision 1.110
diff -u -d -r1.109 -r1.110
--- Overview.src.html	25 May 2011 22:01:57 -0000	1.109
+++ Overview.src.html	26 May 2011 16:44:03 -0000	1.110
@@ -273,7 +273,8 @@
 	by the URI given as the &lt;string> argument.</p>
 
 	<p>If the image is a raster image and a &lt;resolution> is given, the image 
-	must be rendered at that resolution.
+	must be rendered at that resolution.  This must override the default resolution
+	given by the 'image-resolution' property.
 	<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 
@@ -1289,7 +1290,7 @@
 			<td>1dppx
 		<tr>
 			<th>Applies to:
-			<td>replaced elements
+			<td>all elements
 		<tr>
 			<th>Inherited:
 			<td>yes
@@ -1301,12 +1302,10 @@
 			<td>specified value
 	</table>
 
-	<p>The 'image-resolution' property specifies the resolution of images
-	in content (i.e. replaced elements and generated content). It has no
-	effect on background images, list markers, and other images that are
-	not element content. <span class="issue">Or does this apply to all
-	images unless otherwise overridden?</span>
-	Values have the following meanings:</p>
+	<p>The 'image-resolution' property specifies the resolution of all images used
+	in or on the element: images in content (e.g. replaced elements and generated 
+	content), background images, list markers, etc.  Values have the following 
+	meanings:</p>
 
 	<dl>
 		<dt>&lt;resolution></dt>
@@ -1323,6 +1322,10 @@
 	<p>This property must have no effect on vector images, as vector images
 	do not have a concept of "resolution".</p>
 
+	<p class='note'>Note that for all images other than the contents of replaced
+	elements, the ''image()'' function may be used to override the resolution set
+	here.</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 Thursday, 26 May 2011 16:44:06 UTC