Skip to content

Commit 48c5c27

Browse files
committed
Make image() non-recursive.
1 parent eff8ccf commit 48c5c27

2 files changed

Lines changed: 29 additions & 26 deletions

File tree

css3-images/Overview.html

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<h1>CSS Image Values and Replaced Content Module Level 3</h1>
1717

18-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 3 May 2011</h2>
18+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 5 May 2011</h2>
1919

2020
<dl>
2121
<dt>Latest Version:
@@ -370,10 +370,10 @@ <h3 id=url><span class=secno>4.1. </span> Image References and Image
370370
</div>
371371

372372
<p>A portion of an image may be referenced (clipped out and used as a
373-
standalone image) by use of fragment identifiers. <span class=issue>Need a
374-
spec to reference here. Expecting to get one from <a
375-
href="http://www.w3.org/2008/WebVideo/Fragments/">Media Fragments
376-
WG</a>.</span>
373+
standalone image) by use of <a
374+
href="http://www.w3.org/TR/media-frags/#naming-space">fragment
375+
identifiers</a>. <a href="#MEDIA-FRAGS"
376+
rel=biblioentry>[MEDIA-FRAGS]<!--{{!MEDIA-FRAGS}}--></a>
377377

378378
<div class=example>
379379
<p>For example,</p>
@@ -383,10 +383,6 @@ <h3 id=url><span class=secno>4.1. </span> Image References and Image
383383
<p>uses the 60 pixel by 20 pixel rectangle of <code>logos.png</code>
384384
beginning at the point 10 pixels in from the left, 30 pixels down from
385385
the top.
386-
387-
<p class=note>Note that quotation marks are required here, because
388-
unquoted commas are not allowed in &lsquo;<code
389-
class=css>url()</code>&rsquo; syntax.</p>
390386
</div>
391387
<!-- ====================================================================== -->
392388

@@ -395,15 +391,15 @@ <h3 id=image-notation><span class=secno>4.2. </span> Image Annotations: the
395391

396392
<p>The &lsquo;<code class=css>image()</code>&rsquo; notation allows an
397393
author to tag an image with a few types of useful processing instructions
398-
which can affect the rendering of the image. The author can specify the
399-
desired resolution the image should be rendered at, declare the
400-
directionality of an image so that it can be automatically be reversed if
401-
used in text with a different directionality, or declare fallback images
394+
which can affect the rendering of the image and to declare fallback images
402395
to be used if the original image can't be decoded or is a type that the
403-
browser doesn't recognize.
396+
browser doesn't recognize. The author can specify the desired resolution
397+
the image should be rendered at, declare the directionality of an image so
398+
that it can be automatically be reversed if used in text with a different
399+
directionality.
404400

405401
<pre class=prod><dfn id=ltimage-list>&lt;image-list></dfn> =
406-
image( [ &lt;image-decl> , ]* [ &lt;image-decl> | &lt;color> | &lt;image> ] )</pre>
402+
image( [ &lt;image-decl> , ]* [ &lt;image-decl> | &lt;element-reference> | &lt;gradient> | &lt;color> ] )</pre>
407403

408404
<p>where &lt;image-decl> is given by:
409405

@@ -2270,6 +2266,16 @@ <h3 class=no-num id=normative-references>Normative references</h3>
22702266
</dd>
22712267
<!---->
22722268

2269+
<dt id=MEDIA-FRAGS>[MEDIA-FRAGS]
2270+
2271+
<dd>Rapha&#235;l Troncy; et al. <a
2272+
href="http://www.w3.org/TR/2011/WD-media-frags-20110317"><cite>Media
2273+
Fragments URI 1.0.</cite></a> 17 March 2011. W3C Working Draft. (Work in
2274+
progress.) URL: <a
2275+
href="http://www.w3.org/TR/2011/WD-media-frags-20110317">http://www.w3.org/TR/2011/WD-media-frags-20110317</a>
2276+
</dd>
2277+
<!---->
2278+
22732279
<dt id=RFC2119>[RFC2119]
22742280

22752281
<dd>S. Bradner. <a href="http://www.ietf.org/rfc/rfc2119.txt"><cite>Key

css3-images/Overview.src.html

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ <h3 id="url">
178178
</div>
179179

180180
<p>A portion of an image may be referenced (clipped out and used as a
181-
standalone image) by use of fragment identifiers.
182-
<span class='issue'>Need a spec to reference here. Expecting to get one from
183-
<a href="http://www.w3.org/2008/WebVideo/Fragments/">Media Fragments WG</a>.</span></p>
181+
standalone image) by use of
182+
<a href="http://www.w3.org/TR/media-frags/#naming-space">fragment identifiers</a>.
183+
[[!MEDIA-FRAGS]]
184184

185185
<div class="example">
186186
<p>For example,</p>
@@ -189,9 +189,6 @@ <h3 id="url">
189189

190190
<p>uses the 60 pixel by 20 pixel rectangle of <code>logos.png</code> beginning
191191
at the point 10 pixels in from the left, 30 pixels down from the top.
192-
193-
<p class="note">Note that quotation marks are required here, because
194-
unquoted commas are not allowed in ''url()'' syntax.</p>
195192
</div>
196193

197194
<!-- ====================================================================== -->
@@ -200,15 +197,15 @@ <h3 id="image-notation">
200197
Image Annotations: the ''image()'' notation</h3>
201198

202199
<p>The ''image()'' notation allows an author to tag an image with a few types
203-
of useful processing instructions which can affect the rendering of the image.
200+
of useful processing instructions which can affect the rendering of the image
201+
and to declare fallback images to be used if the original image can't be
202+
decoded or is a type that the browser doesn't recognize.
204203
The author can specify the desired resolution the image should be rendered at,
205204
declare the directionality of an image so that it can be automatically be
206-
reversed if used in text with a different directionality, or declare fallback
207-
images to be used if the original image can't be decoded or is a type that the
208-
browser doesn't recognize.</p>
205+
reversed if used in text with a different directionality.</p>
209206

210207
<pre class='prod'><dfn>&lt;image-list></dfn> =
211-
image( [ &lt;image-decl> , ]* [ &lt;image-decl> | &lt;color> | &lt;image> ] )</pre>
208+
image( [ &lt;image-decl> , ]* [ &lt;image-decl> | &lt;element-reference> | &lt;gradient> | &lt;color> ] )</pre>
212209

213210
<p>where &lt;image-decl> is given by:</p>
214211

0 commit comments

Comments
 (0)