|
17 | 17 |
|
18 | 18 | <h1>CSS Device Adaptation</h1> |
19 | 19 |
|
20 | | - <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 19 June 2012</h2> |
| 20 | + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 19 July 2012</h2> |
21 | 21 |
|
22 | 22 | <dl> |
23 | 23 | <dt>This version: |
24 | 24 |
|
25 | 25 | <dd>$Date$ (editor's draft) |
26 | | - <!--<dd><a href="http://www.w3.org/TR/2012/ED-css-device-adapt-20120619/">http://www.w3.org/TR/2012/WD-css-device-adapt-20120619/</a></dd>--> |
| 26 | + <!--<dd><a href="http://www.w3.org/TR/2012/ED-css-device-adapt-20120719/">http://www.w3.org/TR/2012/WD-css-device-adapt-20120719/</a></dd>--> |
27 | 27 |
|
28 | 28 |
|
29 | 29 | <dt>Latest version: |
@@ -180,10 +180,6 @@ <h2 class="no-num no-toc" id=table-of-contents>Table of Contents</h2> |
180 | 180 | <li><a href="#the-lsquoorientationrsquo-descriptor"><span |
181 | 181 | class=secno>5.9. </span>The ‘<code |
182 | 182 | class=descriptor>orientation</code>’ descriptor</a> |
183 | | - |
184 | | - <li><a href="#the-lsquoresolutionrsquo-descriptor"><span |
185 | | - class=secno>5.10. </span>The ‘<code |
186 | | - class=descriptor>resolution</code>’ descriptor</a> |
187 | 183 | </ul> |
188 | 184 |
|
189 | 185 | <li><a href="#constraining-viewport-descriptor-values"><span |
@@ -1082,76 +1078,6 @@ <h3 id=the-lsquoorientationrsquo-descriptor><span class=secno>5.9. |
1082 | 1078 | <dd>The document should be locked to landscape presentation. |
1083 | 1079 | </dl> |
1084 | 1080 |
|
1085 | | - <h3 id=the-lsquoresolutionrsquo-descriptor><span class=secno>5.10. |
1086 | | - </span>The ‘<a href="#resolution"><code |
1087 | | - class=descriptor>resolution</code></a>’ descriptor</h3> |
1088 | | - <!-- http://lists.w3.org/Archives/Public/www-style/2010Aug/0131.html --> |
1089 | | - |
1090 | | - <table class=descdef> |
1091 | | - <tbody> |
1092 | | - <tr> |
1093 | | - <td><em>Name:</em> |
1094 | | - |
1095 | | - <td><dfn id=resolution>resolution</dfn> |
1096 | | - |
1097 | | - <tr> |
1098 | | - <td><em>Value:</em> |
1099 | | - |
1100 | | - <td>auto | device |
1101 | | - |
1102 | | - <tr> |
1103 | | - <td><em>Initial:</em> |
1104 | | - |
1105 | | - <td><a href="#auto4" title="auto!!resolution">auto</a> |
1106 | | - |
1107 | | - <tr> |
1108 | | - <td><em>Percentages:</em> |
1109 | | - |
1110 | | - <td>N/A |
1111 | | - |
1112 | | - <tr> |
1113 | | - <td><em>Media:</em> |
1114 | | - |
1115 | | - <td>visual, continuous |
1116 | | - |
1117 | | - <tr> |
1118 | | - <td><em>Computed value:</em> |
1119 | | - |
1120 | | - <td>‘<a href="#auto4"><code class=css |
1121 | | - title="auto!!resolution">auto</code></a>’ or ‘<a |
1122 | | - href="#device"><code class=css>device</code></a>’. |
1123 | | - </table> |
1124 | | - |
1125 | | - <p>The UA relates the CSS pixel to the <a |
1126 | | - href="http://www.w3.org/TR/CSS21/syndata.html#x40">reference pixel</a> or |
1127 | | - the physical <a |
1128 | | - href="http://www.w3.org/TR/CSS21/syndata.html#length-units">length |
1129 | | - units</a> as described in CSS 2.1 <a href="#CSS21" |
1130 | | - rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>. The resolution descriptor |
1131 | | - can be used to override the CSS pixel size chosen by the UA. In CSS, |
1132 | | - absolute length units are fixed in relation to each other, hence, changing |
1133 | | - the CSS pixel resolution will for instance change the physical length of a |
1134 | | - CSS cm. |
1135 | | - |
1136 | | - <p>Note that setting this descriptor will affect the used lengths for ‘<a |
1137 | | - href="#device-width"><code class=css>device-width</code></a>’, ‘<a |
1138 | | - href="#device-height"><code class=css>device-height</code></a>’, and the |
1139 | | - size of the <a href="#initial-viewport">initial viewport</a>. |
1140 | | - |
1141 | | - <p>Values have the following meanings: |
1142 | | - |
1143 | | - <dl> |
1144 | | - <dt>‘<code class=css><dfn id=auto4 |
1145 | | - title="auto!!resolution">auto</dfn></code>’ |
1146 | | - |
1147 | | - <dd>Use the UAs CSS pixel resolution. |
1148 | | - |
1149 | | - <dt>‘<code class=css><dfn id=device>device</dfn></code>’ |
1150 | | - |
1151 | | - <dd>Use device resolution as the CSS pixel resolution. That is, have a 1-1 |
1152 | | - relationship between a CSS and a device pixel. |
1153 | | - </dl> |
1154 | | - |
1155 | 1081 | <h2 id=constraining-viewport-descriptor-values><span class=secno>6. |
1156 | 1082 | </span>Constraining viewport descriptor values</h2> |
1157 | 1083 |
|
@@ -1570,9 +1496,6 @@ <h2 id=conformance><span class=secno>10. </span>Conformance</h2> |
1570 | 1496 | descriptors is optional. |
1571 | 1497 | </ul> |
1572 | 1498 |
|
1573 | | - <p class=issue>Need to say something about the resolution descriptor if it |
1574 | | - is kept. |
1575 | | - |
1576 | 1499 | <h2 id=viewport-meta><span class=secno>11. </span>Viewport <code |
1577 | 1500 | class=html>META</code> element</h2> |
1578 | 1501 |
|
@@ -1619,8 +1542,6 @@ <h3 id=meta-properties><span class=secno>11.1. </span>Properties</h3> |
1619 | 1542 | <li><code class=index id=maximum-scale>maximum-scale</code> |
1620 | 1543 |
|
1621 | 1544 | <li><code class=index id=user-scalable>user-scalable</code> |
1622 | | - |
1623 | | - <li><code class=index id=target-densitydpi>target-densityDpi</code> |
1624 | 1545 | </ul> |
1625 | 1546 |
|
1626 | 1547 | <h3 id=parsing-algorithm><span class=secno>11.2. </span>Parsing algorithm</h3> |
@@ -1947,25 +1868,6 @@ <h4 class="no-num no-toc" id=the-user-scalable-property>The <code |
1947 | 1868 | --></pre> |
1948 | 1869 | </div> |
1949 | 1870 |
|
1950 | | - <h4 class="no-num no-toc" id=the-target-densitydpi-property>The <code |
1951 | | - class=index id=target-densitydpi0>target-densityDpi</code> property</h4> |
1952 | | - |
1953 | | - <p class=note>This property differ from the others since it is from the |
1954 | | - WebKit implementation used in the Android browser and not supported in |
1955 | | - Safari |
1956 | | - |
1957 | | - <p>The <code class=index id=target-densitydpi1>target-densityDpi</code> |
1958 | | - property is translated into ‘<a href="#resolution"><code |
1959 | | - class=descriptor>resolution</code></a>’ with the following value |
1960 | | - translations. |
1961 | | - |
1962 | | - <ol> |
1963 | | - <li><code class=index id=device-dpi>device-dpi</code> translates to ‘<a |
1964 | | - href="#device"><code class=css>device</code></a>’ |
1965 | | - |
1966 | | - <li>Other values are dropped |
1967 | | - </ol> |
1968 | | - |
1969 | 1871 | <h2 id=handling-auto-zoom><span class=secno>12. </span>Handling ‘<a |
1970 | 1872 | href="#auto0"><code class=css title="auto!!zoom">auto</code></a>’ for |
1971 | 1873 | ‘<code class=descriptor title="zoom!!descriptor">zoom</code>’</h2> |
@@ -2082,10 +1984,9 @@ <h3 class=no-num id=normative-references>Normative references</h3> |
2082 | 1984 | <dt id=MEDIAQ>[MEDIAQ] |
2083 | 1985 |
|
2084 | 1986 | <dd>Florian Rivoal. <a |
2085 | | - href="http://www.w3.org/TR/2012/PR-css3-mediaqueries-20120426/"><cite>Media |
2086 | | - Queries.</cite></a> 26 April 2012. W3C Proposed Recommendation. (Work in |
2087 | | - progress.) URL: <a |
2088 | | - href="http://www.w3.org/TR/2012/PR-css3-mediaqueries-20120426/">http://www.w3.org/TR/2012/PR-css3-mediaqueries-20120426/</a> |
| 1987 | + href="http://www.w3.org/TR/2012/REC-css3-mediaqueries-20120619/"><cite>Media |
| 1988 | + Queries.</cite></a> 19 June 2012. W3C Recommendation. URL: <a |
| 1989 | + href="http://www.w3.org/TR/2012/REC-css3-mediaqueries-20120619/">http://www.w3.org/TR/2012/REC-css3-mediaqueries-20120619/</a> |
2089 | 1990 | </dd> |
2090 | 1991 | <!----> |
2091 | 1992 | </dl> |
@@ -2205,17 +2106,6 @@ <h2 class=no-num id=descriptor-index>Descriptor index</h2> |
2205 | 2106 |
|
2206 | 2107 | <td>visual, continuous |
2207 | 2108 |
|
2208 | | - <tr> |
2209 | | - <th><a class=property href="#resolution">resolution</a> |
2210 | | - |
2211 | | - <td>auto | device |
2212 | | - |
2213 | | - <td>auto |
2214 | | - |
2215 | | - <td>N/A |
2216 | | - |
2217 | | - <td>visual, continuous |
2218 | | - |
2219 | 2109 | <tr> |
2220 | 2110 | <th><a class=property href="#user-zoom">user-zoom</a> |
2221 | 2111 |
|
@@ -2272,16 +2162,9 @@ <h2 class=no-num id=index>Index</h2> |
2272 | 2162 | <li>orientation, <a href="#auto3" |
2273 | 2163 | title="auto, orientation"><strong>5.9.</strong></a> |
2274 | 2164 |
|
2275 | | - <li>resolution, <a href="#auto4" |
2276 | | - title="auto, resolution"><strong>5.10.</strong></a> |
2277 | | - |
2278 | 2165 | <li>zoom, <a href="#auto0" title="auto, zoom"><strong>5.5.</strong></a> |
2279 | 2166 | </ul> |
2280 | 2167 |
|
2281 | | - <li>device, <a href="#device" title=device><strong>5.10.</strong></a> |
2282 | | - |
2283 | | - <li>device-dpi, <a href="#device-dpi" title=device-dpi>#</a> |
2284 | | - |
2285 | 2168 | <li>device-height, <a href="#device-height" |
2286 | 2169 | title=device-height><strong>5.1.</strong></a> |
2287 | 2170 | <ul> |
@@ -2358,14 +2241,6 @@ <h2 class=no-num id=index>Index</h2> |
2358 | 2241 | <li>portrait, <a href="#portrait" title=portrait><strong>5.9.</strong></a> |
2359 | 2242 |
|
2360 | 2243 |
|
2361 | | - <li>resolution, <a href="#resolution" |
2362 | | - title=resolution><strong>5.10.</strong></a> |
2363 | | - |
2364 | | - <li>target-densityDpi, <a href="#target-densitydpi" |
2365 | | - title=target-densityDpi>11.1.</a>, <a href="#target-densitydpi0" |
2366 | | - title=target-densityDpi>#</a>, <a href="#target-densitydpi1" |
2367 | | - title=target-densityDpi>#</a> |
2368 | | - |
2369 | 2244 | <li>user-scalable, <a href="#user-scalable" title=user-scalable>11.1.</a>, |
2370 | 2245 | <a href="#user-scalable0" title=user-scalable>#</a>, <a |
2371 | 2246 | href="#user-scalable1" title=user-scalable>#</a> |
|
0 commit comments