- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 04 Aug 2011 00:38:10 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-images In directory hutz:/tmp/cvs-serv29191 Modified Files: Overview.html Overview.src.html Log Message: Removed lingering references to the image() function. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.html,v retrieving revision 1.124 retrieving revision 1.125 diff -u -d -r1.124 -r1.125 --- Overview.html 4 Aug 2011 00:32:57 -0000 1.124 +++ Overview.html 4 Aug 2011 00:38:08 -0000 1.125 @@ -399,22 +399,9 @@ <p class=note>Note that a legacy UA that doesn't understand the media fragments notation will ignore the fragment and simply display the entirety of an image specified with ‘<code - class=css>url</code>’. However, since URLs with media fragment - identifiers can also be used in the ‘<code - class=css>image()</code>’ notation defined below, authors can take - advantage of CSS's forward-compatible parsing rules to provide a fallback - when using an image fragment URL: - - <div class=example> - <p>In the example below, the ‘<code class=css>image()</code>’ - notation is used together with the media fragment syntax, so that UAs - that don't support media fragments fail to parse the second declaration - and use the first.</p> - - <pre> -<!-- -->background-image: url('swirl.png'); /* old UAs */ -<!-- -->background-image: image('sprites.png#xywh=10,30,60,20'); /* new UAs */</pre> - </div> + class=css>url</code>’. A future level of this module is intended to + introduce an alternate image-referencing function that is guaranteed to + support image fragments.</p> <!-- ====================================================================== --> <h3 id=element-reference><span class=secno>4.2. </span> Using Elements as @@ -1647,10 +1634,6 @@ <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 ‘<code class=css>image()</code>’ 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 ‘<code Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.src.html,v retrieving revision 1.131 retrieving revision 1.132 diff -u -d -r1.131 -r1.132 --- Overview.src.html 4 Aug 2011 00:17:22 -0000 1.131 +++ Overview.src.html 4 Aug 2011 00:38:08 -0000 1.132 @@ -236,22 +236,7 @@ <p><small>* SVG-in-<img> support required. Click the picture to view the SVG directly.</small></p> </div> - <p class="note">Note that a legacy UA that doesn't understand the media - fragments notation will ignore the fragment and simply display the - entirety of an image specified with ''url''. However, since URLs with - media fragment identifiers can also be used in the ''image()'' notation - defined below, authors can take advantage of CSS's forward-compatible - parsing rules to provide a fallback when using an image fragment URL:</p> - - <div class="example"> - <p>In the example below, the ''image()'' notation is used together with - the media fragment syntax, so that UAs that don't support media fragments - fail to parse the second declaration and use the first.</p> - - <pre> -<!-- -->background-image: url('swirl.png'); /* old UAs */ -<!-- -->background-image: image('sprites.png#xywh=10,30,60,20'); /* new UAs */</pre> - </div> + <p class="note">Note that a legacy UA that doesn't understand the media fragments notation will ignore the fragment and simply display the entirety of an image specified with ''url''. A future level of this module is intended to introduce an alternate image-referencing function that is guaranteed to support image fragments.</p> <!-- ====================================================================== --> @@ -1218,10 +1203,6 @@ <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, 4 August 2011 00:38:15 UTC