|
16 | 16 |
|
17 | 17 | <h1>CSS Image Values and Replaced Content Module Level 3</h1> |
18 | 18 |
|
19 | | - <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 24 March 2012</h2> |
| 19 | + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 27 March 2012</h2> |
20 | 20 |
|
21 | 21 | <dl> |
22 | 22 | <dt>This Version: |
23 | 23 |
|
24 | 24 | <dd><a |
25 | 25 | href="http://dev.w3.org/csswg/css3-images/">http://dev.w3.org/csswg/css3-images/</a> |
26 | | - <!-- <dd><a href="http://www.w3.org/TR/2012/ED-css3-images-20120324/">http://www.w3.org/TR/2012/WD-css3-images-20120324/</a>--> |
| 26 | + <!-- <dd><a href="http://www.w3.org/TR/2012/ED-css3-images-20120327/">http://www.w3.org/TR/2012/WD-css3-images-20120327/</a>--> |
27 | 27 |
|
28 | 28 |
|
29 | 29 | <dt>Latest Version: |
@@ -167,8 +167,7 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2> |
167 | 167 | <p>The following features are at risk: … |
168 | 168 |
|
169 | 169 | <ol> |
170 | | - <li>The <a href="#image-notation">image()</a> and <a |
171 | | - href="#element-reference">element()</a> notations |
| 170 | + <li>The <a href="#image-notation">image()</a> notation |
172 | 171 |
|
173 | 172 | <li>The ‘<a href="#object-fit0"><code |
174 | 173 | class=property>object-fit</code></a>’, ‘<a |
@@ -307,6 +306,8 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2> |
307 | 306 | references</a> |
308 | 307 |
|
309 | 308 | <li class=no-num><a href="#other-references">Other references</a> |
| 309 | + |
| 310 | + <li class=no-num><a href="#changes">Changes Since Last Call</a> |
310 | 311 | </ul> |
311 | 312 |
|
312 | 313 | <li class=no-num><a href="#index">Index</a> |
@@ -1810,7 +1811,7 @@ <h4 id=default-sizing><span class=secno>5.3.1. </span> Default Sizing |
1810 | 1811 | constraints: |
1811 | 1812 | <ol> |
1812 | 1813 | <li>If the object has an intrinsic height or width, its size is resolved |
1813 | | - as if its <i>intrinsic size</i> were the <a |
| 1814 | + as if its <i>intrinsic size</i> were given as the <a |
1814 | 1815 | href="#specified-size"><i>specified size</i></a>. |
1815 | 1816 |
|
1816 | 1817 | <li>Otherwise, its size is resolved as a <a |
@@ -1930,12 +1931,24 @@ <h3 id=object-sizing-examples><span class=secno>5.4. </span> Examples of |
1930 | 1931 | typical cursor on the UA's operating system. <a href="#CSS21" |
1931 | 1932 | rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> |
1932 | 1933 |
|
| 1934 | + <dt>‘<code class=property>content</code>’ |
| 1935 | + |
| 1936 | + <dd>Objects inserted via the CSS2.1 ‘<code |
| 1937 | + class=property>content</code>’ property are anonymous <a |
| 1938 | + href="http://www.w3.org/TR/CSS21/conform.html#replaced-element">replaced |
| 1939 | + elements</a>, and are sized the same way. <a href="#CSS21" |
| 1940 | + rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> Note that such anonymous |
| 1941 | + elements have all their non-inherited properties (including ‘<code |
| 1942 | + class=property>width</code>’, ‘<code |
| 1943 | + class=property>height</code>’, etc.) set to their initial values. |
| 1944 | + |
1933 | 1945 | <dt>replaced elements |
1934 | 1946 |
|
1935 | 1947 | <dd><a href="http://www.w3.org/TR/CSS21/">CSS 2.1</a> defines the sizing |
1936 | 1948 | of replaced elements (including those inserted as <a |
1937 | 1949 | href="http://www.w3.org/TR/CSS21/generate.html#content">generated |
1938 | | - content</a>) in sections <a |
| 1950 | + content</a> via ‘<code class=property>content</code>’) in |
| 1951 | + sections <a |
1939 | 1952 | href="http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-width">10.3.2</a>, |
1940 | 1953 | <a |
1941 | 1954 | href="http://www.w3.org/TR/CSS2/visudet.html#min-max-widths">10.4</a>, |
@@ -2737,6 +2750,69 @@ <h3 class=no-num id=other-references>Other references</h3> |
2737 | 2750 | </dl> |
2738 | 2751 | <!--end-informative--> |
2739 | 2752 |
|
| 2753 | + <h3 class=no-num id=changes>Changes Since Last Call</h3> |
| 2754 | + |
| 2755 | + <p>Major changes include: |
| 2756 | + |
| 2757 | + <ul> |
| 2758 | + <li>The ‘<code class=css>element()</code>’ feature has been |
| 2759 | + deferred to Level 4. |
| 2760 | + |
| 2761 | + <li>The directional images feature (‘<code |
| 2762 | + class=css>ltr</code>’/‘<code class=css>rtl</code>’ |
| 2763 | + annotations in ‘<code class=css>image()</code>’) has been |
| 2764 | + deferred to Level 4 to address some design-level feedback. |
| 2765 | + |
| 2766 | + <li>Images referenced with unsupported URL fragment syntax are now |
| 2767 | + considered invalid (and trigger fallback) within ‘<code |
| 2768 | + class=css>image()</code>’. |
| 2769 | + |
| 2770 | + <li>The ‘<a href="#object-fit0"><code |
| 2771 | + class=property>object-fit</code></a>’ property no longer resizes |
| 2772 | + the element's content box in any cases. |
| 2773 | + |
| 2774 | + <li>The ‘<a href="#image-orientation0"><code |
| 2775 | + class=property>image-orientation</code></a>’ property is now |
| 2776 | + inherited. |
| 2777 | + </ul> |
| 2778 | + |
| 2779 | + <p>Significant details updated: |
| 2780 | + |
| 2781 | + <ul> |
| 2782 | + <li>There is now a definition for <a href="#invalid-image"><i>invalid |
| 2783 | + images</i></a>, which trigger fallback in the ‘<code |
| 2784 | + class=css>image()</code>’ notation. |
| 2785 | + |
| 2786 | + <li>Clarified that media fragments are only required to be supported |
| 2787 | + within ‘<code class=css>image()</code>’ in order to satisfy |
| 2788 | + the prerequisite for supporting ‘<code |
| 2789 | + class=css>image()</code>’. |
| 2790 | + |
| 2791 | + <li>Defined how to determine the closeness of two aspect ratios (used in |
| 2792 | + the definition of <a href="#intrinsic-dimensions"><i>intrinsic |
| 2793 | + dimensions</i></a>). |
| 2794 | + |
| 2795 | + <li>Corrected error in which ‘<a href="#image-orientation0"><code |
| 2796 | + class=property>image-orientation</code></a>’ was applied after CSS |
| 2797 | + transforms. |
| 2798 | + |
| 2799 | + <li>The ‘<a href="#object-fit0"><code |
| 2800 | + class=property>object-fit</code></a>’ and ‘<a |
| 2801 | + href="#object-position0"><code |
| 2802 | + class=property>object-position</code></a>’ properties may no longer |
| 2803 | + be aliased to ‘<code class=property>image-fit</code>’ and |
| 2804 | + ‘<code class=property>image-position</code>’. A future |
| 2805 | + edition of the <a href="http://www.w3.org/TR/css-print/">CSS Print |
| 2806 | + Profile</a> may allow this for printer implementations, however. |
| 2807 | + </ul> |
| 2808 | + |
| 2809 | + <p>There were also many clarifications and several sections were rearranged |
| 2810 | + to make them easier to read. |
| 2811 | + |
| 2812 | + <p>The <a |
| 2813 | + href="http://dev.w3.org/csswg/css3-images/issues-lc-2012">Disposition of |
| 2814 | + Last Call Comments</a> is available. |
| 2815 | + |
2740 | 2816 | <h2 class=no-num id=index>Index</h2> |
2741 | 2817 | <!--begin-index--> |
2742 | 2818 |
|
@@ -2921,64 +2997,65 @@ <h2 class=no-num id=property-index>Property index</h2> |
2921 | 2997 |
|
2922 | 2998 | <tbody> |
2923 | 2999 | <tr> |
2924 | | - <th><span class=property>Name:</span> |
| 3000 | + <th><a class=property href="#image-orientation0">image-orientation</a> |
2925 | 3001 |
|
2926 | | - <td>Value: |
| 3002 | + <td><angle> |
2927 | 3003 |
|
2928 | | - <td>Initial: |
| 3004 | + <td>0deg |
2929 | 3005 |
|
2930 | | - <td>Applies to: |
| 3006 | + <td>all elements |
2931 | 3007 |
|
2932 | | - <td>Inherited: |
| 3008 | + <td>yes |
2933 | 3009 |
|
2934 | | - <td>Media: |
| 3010 | + <td>visual |
2935 | 3011 |
|
2936 | | - <td>Computed value: |
| 3012 | + <td>specified value, rounded and normalized (see text) |
2937 | 3013 |
|
2938 | 3014 | <tr> |
2939 | | - <th><span class=property>Name:</span> |
| 3015 | + <th><a class=property href="#image-resolution0">image-resolution</a> |
2940 | 3016 |
|
2941 | | - <td>Value: |
| 3017 | + <td>[from-image || <resolution>] && snap? |
2942 | 3018 |
|
2943 | | - <td>Initial: |
| 3019 | + <td>1dppx |
2944 | 3020 |
|
2945 | | - <td>Applies to: |
| 3021 | + <td>all elements |
2946 | 3022 |
|
2947 | | - <td>Inherited: |
| 3023 | + <td>yes |
2948 | 3024 |
|
2949 | | - <td>Media: |
| 3025 | + <td>visual |
2950 | 3026 |
|
2951 | | - <td>Computed value: |
| 3027 | + <td>as specified, except with ‘<resolution>’ possibly |
| 3028 | + altered by computing for ‘snap’ (see below) |
2952 | 3029 |
|
2953 | 3030 | <tr> |
2954 | | - <th><span class=property>Name:</span> |
| 3031 | + <th><a class=property href="#object-fit0">object-fit</a> |
2955 | 3032 |
|
2956 | | - <td>Value: |
| 3033 | + <td>fill | contain | cover | none | scale-down |
2957 | 3034 |
|
2958 | | - <td>Initial: |
| 3035 | + <td>fill |
2959 | 3036 |
|
2960 | | - <td>Applies to: |
| 3037 | + <td>replaced elements |
2961 | 3038 |
|
2962 | | - <td>Inherited: |
| 3039 | + <td>no |
2963 | 3040 |
|
2964 | | - <td>Percentages: |
| 3041 | + <td>N/A |
2965 | 3042 |
|
2966 | | - <td>Media: |
| 3043 | + <td>visual |
2967 | 3044 |
|
2968 | 3045 | <tr> |
2969 | | - <th><span class=property>Name:</span> |
| 3046 | + <th><a class=property href="#object-position0">object-position</a> |
2970 | 3047 |
|
2971 | | - <td>Value: |
| 3048 | + <td><position> |
2972 | 3049 |
|
2973 | | - <td>Initial: |
| 3050 | + <td>50% 50% |
2974 | 3051 |
|
2975 | | - <td>Applies to: |
| 3052 | + <td>replaced elements |
2976 | 3053 |
|
2977 | | - <td>Inherited: |
| 3054 | + <td>no |
2978 | 3055 |
|
2979 | | - <td>Percentages: |
| 3056 | + <td>refer to width and height of box itself |
2980 | 3057 |
|
2981 | | - <td>Media: |
| 3058 | + <td>visual |
2982 | 3059 | </table> |
2983 | 3060 | <!--end-properties--> |
2984 | 3061 | </html> |
|
0 commit comments