1010 < meta content ="CSS Image Values and Replaced Content Module Level 4 "
1111 name =DC.title >
1212 < meta content =text name =DC.type >
13- < meta content =2012-08-31 name =DC.issued >
14- < meta content ="http://dev.w3.org/csswg/css4-images/ <!-- " name =DC.creator >
13+ < meta content =2012-09-11 name =DC.issued >
14+ < meta content ="http://dev.w3.org/csswg/css4-images/ " name =DC.creator >
1515 < meta content =W3C name =DC.publisher >
16- < meta content ="http://www.w3.org/TR/2012/ED-css4-images-20120831 / "
16+ < meta content ="http://www.w3.org/TR/2012/ED-css4-images-20120911 / "
1717 name =DC.identifier >
1818 < link href ="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright "
1919 rel =DC.rights >
2828
2929 < h1 > CSS Image Values and Replaced Content Module Level 4</ h1 >
3030
31- < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 31 August 2012</ h2 >
31+ < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 11 September
32+ 2012</ h2 >
3233
3334 < dl >
3435 < dt > This Version:
3536
3637 < dd > < a
3738 href ="http://dev.w3.org/csswg/css4-images/ "> http://dev.w3.org/csswg/css4-images/</ a >
38- <!-- <dd><a href="http://www.w3.org/TR/2012/ED-css4-images-20120831/">http://www.w3.org/TR/2012/WD-css4-images-20120831/</a>-->
39- <!--
40- <dt>Latest Version:
41- <dd><a href="http://www.w3.org/TR/css4-images/">http://www.w3.org/TR/css4-images/</a>
42- -->
39+ <!-- <dd><a href="http://www.w3.org/TR/2012/ED-css4-images-20120911/">http://www.w3.org/TR/2012/WD-css4-images-20120911/</a>-->
40+
41+ < dt > Latest Version:
42+
43+ < dd > < a
44+ href ="http://www.w3.org/TR/css4-images/ "> http://www.w3.org/TR/css4-images/</ a >
4345
4446 < dt > Editor's Draft:
4547
4648 < dd > < a
4749 href ="http://dev.w3.org/csswg/css4-images/ "> http://dev.w3.org/csswg/css4-images/</ a >
48- <!--
49- <dt>Previous Version:
50- <dd><a href="http://www.w3.org/TR/2012/WD-css4-images-20120112/">http://www.w3.org/TR/2012/WD-css4-images-20120112/</a>
51- -->
50+
51+ < dt > Previous Version:
52+
53+ < dd > < a
54+ href ="http://www.w3.org/TR/2012/WD-css4-images-20120911/ "> http://www.w3.org/TR/2012/WD-css4-images-20120911/</ a >
5255
5356 < dt > Issue Tracking:
5457
@@ -316,8 +319,6 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
316319 references</ a >
317320
318321 < li class =no-num > < a href ="#other-references "> Other references</ a >
319-
320- < li class =no-num > < a href ="#changes "> Changes Since Last Call</ a >
321322 </ ul >
322323
323324 < li class =no-num > < a href ="#index "> Index</ a >
@@ -334,7 +335,7 @@ <h2 id=intro><span class=secno>1. </span> Introduction</h2>
334335 class =property > background-image</ code > ’ property, could only be given by
335336 a single URL value. This module introduces additional ways of representing
336337 2D images, for example as < a href ="#image-notation "> a list of URIs
337- denoting fallbacks</ a > , as < a href ="#element-image "> a reference to an
338+ denoting fallbacks</ a > , as < a href ="#element-image-type "> a reference to an
338339 element</ a > , or as < a href ="#gradients "> a gradient</ a > .
339340
340341 < p > This module also defines several properties for < a
@@ -381,7 +382,7 @@ <h3 id=values><span class=secno>1.2. </span> Values</h3>
381382
382383 < p > In addition to the property-specific values listed in their
383384 definitions, all properties defined in this specification also accept the
384- < a href ="http://www.w3.org/TR/css -values "> global keywords</ a > as their
385+ < a href ="http://www.w3.org/TR/css3 -values "> global keywords</ a > as their
385386 property value. For readability they has not been repeated explicitly.
386387
387388 < h2 id =planned-features > < span class =secno > 2. </ span > Planned Features</ h2 >
@@ -543,8 +544,9 @@ <h4 id=image-fragments><span class=secno>3.2.1. </span> Image Fragments</h4>
543544 standalone image.
544545
545546 < div class =example >
546- < p > For example, given the following image and CSS: < a href =sprites.svg >
547- < img alt ="[9 circles, with 0 to 8 eighths filled in] " height =20
547+ < p > For example, given the following image and CSS: < a
548+ href ="images/sprites.svg "> < img
549+ alt ="[9 circles, with 0 to 8 eighths filled in] " height =20
548550 src ="images/sprites.svg " width =180 > </ a >
549551
550552 < pre > background-image: image('sprites.svg#xywh=40,0,20,20')</ pre >
@@ -960,7 +962,8 @@ <h3 id=element-notation><span class=secno>3.4. </span> Using Elements as
960962
961963 < p > If the referenced element has a transform applied to it or an
962964 ancestor, the transform must be ignored when rendering the element as an
963- image. [[!CSS-TRANSFORMS]]
965+ image. < a href ="#CSS3-TRANSFORMS "
966+ rel =biblioentry > [CSS3-TRANSFORMS]<!--{{!CSS3-TRANSFORMS}}--> </ a >
964967
965968 < p > If the referenced element is broken across pages, the element is
966969 displayed as if the page content areas were joined flush in the
@@ -2382,16 +2385,16 @@ <h3 id=color-stop-syntax><span class=secno>4.5. </span> Gradient
23822385 < p > In premultiplied space, transitions to or from "transparent" always
23832386 look nice:
23842387
2385- < p > < object data =gradient2.svg height =100 width =200 > (Image requires
2386- SVG)</ object >
2388+ < p > < object data =" images/ gradient2.svg" height =100 width =200 > (Image
2389+ requires SVG)</ object >
23872390
23882391 < p > On the other hand, if a gradient were to incorrectly transition in
23892392 non-premultiplied space, the colors near "transparent" would noticeably
23902393 darken to a grayish color, because "transparent" is actually a shorthand
23912394 for ‘< code class =css > rgba(0,0,0,0)</ code > ’, or transparent black:
23922395
2393- < p > < object data =gradient3.svg height =100 width =200 > (Image requires
2394- SVG)</ object >
2396+ < p > < object data =" images/ gradient3.svg" height =100 width =200 > (Image
2397+ requires SVG)</ object >
23952398 </ div >
23962399
23972400 < p class =note > Note: It is recommended that authors not mix different types
@@ -2718,7 +2721,7 @@ <h3 id=object-sizing-examples><span class=secno>5.4. </span> Examples of
27182721
27192722 < dt > < a
27202723 href ="http://www.w3.org/TR/css3-background/#border-images "> ‘< code
2721- class =property > border-image</ code > ’ </ a >
2724+ class =property > border-image</ code > ’</ a >
27222725
27232726 < dd > Border images are sized twice: first the entire image is sized to
27242727 determine the slice points, then the slices are sized to decorate the
@@ -2897,16 +2900,19 @@ <h3 id=the-object-fit><span class=secno>5.5. </span> Sizing Objects: the
28972900 replaced elements always clip their contents to the content box, the
28982901 content will never overflow. See the ‘< a href ="#object-position "> < code
28992902 class =property > object-position</ code > </ a > ’ property for positioning the
2900- object with respect to the content box. < figure > < img alt =alt
2901- src ="images/img_scale.png " style ="border: thin solid black; "> < figcaption >
2902- An example showing how four of the values of ‘< a
2903- href ="#object-fit "> < code class =property > object-fit</ code > </ a > ’ cause the
2904- replaced element (blue figure) to be scaled to fit its height/width box
2905- (shown with a green background), using the initial value for ‘< a
2906- href ="#object-position "> < code
2907- class =property > object-position</ code > </ a > ’. The fifth value, ‘< code
2908- class =css > scale-down</ code > ’, in this case looks identical to ‘< code
2909- class =css > contain</ code > ’. </ figcaption > </ figure >
2903+ object with respect to the content box.
2904+
2905+ < div class =figure > < img alt ="" src ="images/img_scale.png "
2906+ style ="border: thin solid black; ">
2907+ < p class =caption > An example showing how four of the values of ‘< a
2908+ href ="#object-fit "> < code class =property > object-fit</ code > </ a > ’ cause
2909+ the replaced element (blue figure) to be scaled to fit its height/width
2910+ box (shown with a green background), using the initial value for ‘< a
2911+ href ="#object-position "> < code
2912+ class =property > object-position</ code > </ a > ’. The fifth value, ‘< code
2913+ class =css > scale-down</ code > ’, in this case looks identical to ‘< code
2914+ class =css > contain</ code > ’.
2915+ </ div >
29102916
29112917 < p class =note > Note: the ‘< a href ="#object-fit "> < code
29122918 class =property > object-fit</ code > </ a > ’ property has similar semantics to
@@ -3905,13 +3911,23 @@ <h3 class=no-num id=normative-references>Normative references</h3>
39053911 </ dd >
39063912 <!---->
39073913
3914+ < dt id =CSS3-TRANSFORMS > [CSS3-TRANSFORMS]
3915+
3916+ < dd > Simon Fraser; et al. < a
3917+ href ="http://www.w3.org/TR/2012/WD-css3-transforms-20120403/ "> < cite > CSS
3918+ Transforms.</ cite > </ a > 3 April 2012. W3C Working Draft. (Work in
3919+ progress.) URL: < a
3920+ href ="http://www.w3.org/TR/2012/WD-css3-transforms-20120403/ "> http://www.w3.org/TR/2012/WD-css3-transforms-20120403/</ a >
3921+ </ dd >
3922+ <!---->
3923+
39083924 < dt id =CSS3VAL > [CSS3VAL]
39093925
39103926 < dd > Håkon Wium Lie; Tab Atkins; Elika J. Etemad. < a
3911- href ="http://www.w3.org/TR/2012/WD -css3-values-20120308 / "> < cite > CSS
3912- Values and Units Module Level 3.</ cite > </ a > 8 March 2012. W3C Working
3913- Draft . (Work in progress.) URL: < a
3914- href ="http://www.w3.org/TR/2012/WD -css3-values-20120308 / "> http://www.w3.org/TR/2012/WD -css3-values-20120308 /</ a >
3927+ href ="http://www.w3.org/TR/2012/CR -css3-values-20120828 / "> < cite > CSS
3928+ Values and Units Module Level 3.</ cite > </ a > 28 August 2012. W3C Candidate
3929+ Recommendation . (Work in progress.) URL: < a
3930+ href ="http://www.w3.org/TR/2012/CR -css3-values-20120828 / "> http://www.w3.org/TR/2012/CR -css3-values-20120828 /</ a >
39153931 </ dd >
39163932 <!---->
39173933
@@ -4029,67 +4045,44 @@ <h3 class=no-num id=other-references>Other references</h3>
40294045 <!---->
40304046 </ dl >
40314047 <!--end-informative-->
4032-
4033- < h3 class =no-num id =changes > Changes Since Last Call</ h3 >
4034-
4035- < p > Major changes include:
4036-
4037- < ul >
4038- < li > The ‘< code class =css > element()</ code > ’ feature has been deferred
4039- to Level 4.
4040-
4041- < li > The directional images feature (‘< code
4042- class =css > ltr</ code > ’/‘< code class =css > rtl</ code > ’ annotations in
4043- ‘< code class =css > image()</ code > ’) has been deferred to Level 4 to
4044- address some design-level feedback.
4045-
4046- < li > Images referenced with unsupported URL fragment syntax are now
4047- considered invalid (and trigger fallback) within ‘< code
4048- class =css > image()</ code > ’.
4049-
4050- < li > The ‘< a href ="#object-fit "> < code
4051- class =property > object-fit</ code > </ a > ’ property no longer resizes the
4052- element's content box in any cases.
4053-
4054- < li > The ‘< a href ="#image-orientation "> < code
4055- class =property > image-orientation</ code > </ a > ’ property is now inherited.
4056- </ ul >
4057-
4058- < p > Significant details updated:
4059-
4060- < ul >
4061- < li > There is now a definition for < a href ="#invalid-image "> < i > invalid
4062- images</ i > </ a > , which trigger fallback in the ‘< code
4063- class =css > image()</ code > ’ notation.
4064-
4065- < li > Clarified that media fragments are only required to be supported
4066- within ‘< code class =css > image()</ code > ’ in order to satisfy the
4067- prerequisite for supporting ‘< code class =css > image()</ code > ’.
4068-
4069- < li > Defined how to determine the closeness of two aspect ratios (used in
4070- the definition of < a href ="#intrinsic-dimensions "> < i > intrinsic
4071- dimensions</ i > </ a > ).
4072-
4073- < li > Corrected error in which ‘< a href ="#image-orientation "> < code
4074- class =property > image-orientation</ code > </ a > ’ was applied after CSS
4075- transforms.
4076-
4077- < li > The ‘< a href ="#object-fit "> < code
4078- class =property > object-fit</ code > </ a > ’ and ‘< a
4079- href ="#object-position "> < code
4080- class =property > object-position</ code > </ a > ’ properties may no longer be
4081- aliased to ‘< code class =property > image-fit</ code > ’ and ‘< code
4082- class =property > image-position</ code > ’. A future edition of the < a
4083- href ="http://www.w3.org/TR/css-print/ "> CSS Print Profile</ a > may allow
4084- this for printer implementations, however.
4085- </ ul >
4086-
4087- < p > There were also many clarifications and several sections were rearranged
4088- to make them easier to read.
4089-
4090- < p > The < a
4091- href ="http://dev.w3.org/csswg/css4-images/issues-lc-2012 "> Disposition of
4092- Last Call Comments</ a > is available.
4048+ <!--
4049+ <h3 class="no-num" id="changes">Changes Since Last Call</h3>
4050+
4051+ <p>Major changes include:
4052+ <ul>
4053+ <li>The ''element()'' feature has been deferred to Level 4.
4054+ <li>The directional images feature (''ltr''/''rtl'' annotations in ''image()'')
4055+ has been deferred to Level 4 to address some design-level feedback.
4056+ <li>Images referenced with unsupported URL fragment syntax are now considered
4057+ invalid (and trigger fallback) within ''image()''.
4058+ <li>The 'object-fit' property no longer resizes the element's content box in
4059+ any cases.
4060+ <li>The 'image-orientation' property is now inherited.
4061+ </ul>
4062+
4063+ <p>Significant details updated:
4064+
4065+ <ul>
4066+ <li>There is now a definition for <i>invalid images</i>, which trigger fallback
4067+ in the ''image()'' notation.
4068+ <li>Clarified that media fragments are only required to be supported within
4069+ ''image()'' in order to satisfy the prerequisite for supporting ''image()''.
4070+ <li>Defined how to determine the closeness of two aspect ratios (used in
4071+ the definition of <i>intrinsic dimensions</i>).
4072+ <li>Corrected error in which 'image-orientation' was applied after CSS
4073+ transforms.
4074+ <li>The 'object-fit' and 'object-position' properties may no longer be
4075+ aliased to 'image-fit' and 'image-position'. A future edition of the
4076+ <a href="http://www.w3.org/TR/css-print/">CSS Print Profile</a> may allow
4077+ this for printer implementations, however.
4078+ </ul>
4079+
4080+ <p>There were also many clarifications and several sections were rearranged to
4081+ make them easier to read.
4082+
4083+ <p>The <a href="http://dev.w3.org/csswg/css4-images/issues-lc-2012">Disposition
4084+ of Last Call Comments</a> is available.
4085+ -->
40934086
40944087 < h2 class =no-num id =index > Index</ h2 >
40954088 <!--begin-index-->
0 commit comments