Skip to content

Commit 852c2e9

Browse files
committed
Add clarification that image-resolution applies to both content and CSS images.
1 parent 99904e8 commit 852c2e9

2 files changed

Lines changed: 4 additions & 9 deletions

File tree

css3-images/Overview.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2181,7 +2181,9 @@ <h3 id=image-resolution><span class=secno>6.1. </span> Overriding Image
21812181
class=property>image-resolution</code></a>&rsquo; property specifies the
21822182
intrinsic resolution of all raster images used in or on the element. (As
21832183
vector formats such as SVG do not have an intrinsic resolution, this
2184-
property has no effect on vector images.) The <dfn
2184+
property has no effect on vector images.) This affects both content images
2185+
(such as in the &lt;img> element) and CSS-supplied images such as in
2186+
&lsquo;<code class=property>background-image</code>&rsquo;. The <dfn
21852187
id=intrinsic-resolution>intrinsic resolution</dfn> of an image is used to
21862188
determine the image's <i>intrinsic size</i>. Affected images include
21872189
images in the element's content (e.g. replaced elements and/or generated

css3-images/Overview.src.html

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,14 +1409,7 @@ <h3 id="image-resolution">
14091409
by computing for ''snap'' (see below)
14101410
</table>
14111411

1412-
<p>The 'image-resolution' property specifies the intrinsic resolution of all
1413-
raster images used in or on the element. (As vector formats such as SVG do
1414-
not have an intrinsic resolution, this property has no effect on vector
1415-
images.) The <dfn>intrinsic resolution</dfn> of an image is used to determine
1416-
the image's <i>intrinsic size</i>. Affected images include images in the
1417-
element's content (e.g. replaced elements and/or generated content),
1418-
background images, list markers, etc.
1419-
Values have the following meanings:</p>
1412+
<p>The 'image-resolution' property specifies the intrinsic resolution of all raster images used in or on the element. (As vector formats such as SVG do not have an intrinsic resolution, this property has no effect on vector images.) This affects both content images (such as in the &lt;img> element) and CSS-supplied images such as in 'background-image'. The <dfn>intrinsic resolution</dfn> of an image is used to determine the image's <i>intrinsic size</i>. Affected images include images in the element's content (e.g. replaced elements and/or generated content), background images, list markers, etc. Values have the following meanings:</p>
14201413

14211414
<dl>
14221415
<dt>''&lt;resolution>''</dt>

0 commit comments

Comments
 (0)