8000 Clarify (more normative wording) that Media Fragments used in image()… · xfq/csswg-drafts@76017f5 · GitHub
Skip to content

Commit 76017f5

Browse files
committed
Clarify (more normative wording) that Media Fragments used in image() actually clip out the image.
1 parent 1754b50 commit 76017f5

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

css3-images/Overview.src.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,9 @@ <h3 id="the-image-notation">
210210
<h4>
211211
Image Fragments</h4>
212212

213-
<p>A portion of an image may be referenced (clipped out and used as a standalone image) by use of <a href="http://www.w3.org/TR/media-frags/#naming-space">media fragment identifiers</a>. [[!MEDIA-FRAGS]]
213+
<p>When a URL specified in ''image()'' represents a portion of a resource
214+
(e.g. by the use of <a href="http://www.w3.org/TR/media-frags/#naming-space">media fragment identifiers</a>)
215+
that portion is clipped out of its context and used as a standalone image.
214216

215217
<p>So that authors can take advantage of CSS's forwards-compatible parsing
216218
rules to provide a fallback for image slices, implementations that support
@@ -277,7 +279,7 @@ <h4>
277279
<pre>background-image: image('cat_meme.gif#frame=5', 'lolcat.png');</pre>
278280
</div>
279281

280-
<!-- XXX SVG fragment example with spriting / fallbacks -->
282+
<!-- XXX SVG fragment example with spriting / fallbacks (once SVG can provide this) -->
281283

282284
<h4>
283285
Solid-color Images</h4>

0 commit comments

Comments
 (0)