Thu, 19 Jul 2012 08:42:16 +0200
Drop support the the resolution descriptor
css-device-adapt/Overview.html | file | annotate | diff | comparison | revisions | |
css-device-adapt/Overview.src.html | file | annotate | diff | comparison | revisions |
1.1 --- a/css-device-adapt/Overview.html Thu Jul 19 01:25:48 2012 -0400 1.2 +++ b/css-device-adapt/Overview.html Thu Jul 19 08:42:16 2012 +0200 1.3 @@ -17,13 +17,13 @@ 1.4 1.5 <h1>CSS Device Adaptation</h1> 1.6 1.7 - <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 19 June 2012</h2> 1.8 + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 19 July 2012</h2> 1.9 1.10 <dl> 1.11 <dt>This version: 1.12 1.13 <dd>$Date$ (editor's draft) 1.14 - <!--<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>--> 1.15 + <!--<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>--> 1.16 1.17 1.18 <dt>Latest version: 1.19 @@ -180,10 +180,6 @@ 1.20 <li><a href="#the-lsquoorientationrsquo-descriptor"><span 1.21 class=secno>5.9. </span>The ‘<code 1.22 class=descriptor>orientation</code>’ descriptor</a> 1.23 - 1.24 - <li><a href="#the-lsquoresolutionrsquo-descriptor"><span 1.25 - class=secno>5.10. </span>The ‘<code 1.26 - class=descriptor>resolution</code>’ descriptor</a> 1.27 </ul> 1.28 1.29 <li><a href="#constraining-viewport-descriptor-values"><span 1.30 @@ -1082,76 +1078,6 @@ 1.31 <dd>The document should be locked to landscape presentation. 1.32 </dl> 1.33 1.34 - <h3 id=the-lsquoresolutionrsquo-descriptor><span class=secno>5.10. 1.35 - </span>The ‘<a href="#resolution"><code 1.36 - class=descriptor>resolution</code></a>’ descriptor</h3> 1.37 - <!-- http://lists.w3.org/Archives/Public/www-style/2010Aug/0131.html --> 1.38 - 1.39 - <table class=descdef> 1.40 - <tbody> 1.41 - <tr> 1.42 - <td><em>Name:</em> 1.43 - 1.44 - <td><dfn id=resolution>resolution</dfn> 1.45 - 1.46 - <tr> 1.47 - <td><em>Value:</em> 1.48 - 1.49 - <td>auto | device 1.50 - 1.51 - <tr> 1.52 - <td><em>Initial:</em> 1.53 - 1.54 - <td><a href="#auto4" title="auto!!resolution">auto</a> 1.55 - 1.56 - <tr> 1.57 - <td><em>Percentages:</em> 1.58 - 1.59 - <td>N/A 1.60 - 1.61 - <tr> 1.62 - <td><em>Media:</em> 1.63 - 1.64 - <td>visual, continuous 1.65 - 1.66 - <tr> 1.67 - <td><em>Computed value:</em> 1.68 - 1.69 - <td>‘<a href="#auto4"><code class=css 1.70 - title="auto!!resolution">auto</code></a>’ or ‘<a 1.71 - href="#device"><code class=css>device</code></a>’. 1.72 - </table> 1.73 - 1.74 - <p>The UA relates the CSS pixel to the <a 1.75 - href="http://www.w3.org/TR/CSS21/syndata.html#x40">reference pixel</a> or 1.76 - the physical <a 1.77 - href="http://www.w3.org/TR/CSS21/syndata.html#length-units">length 1.78 - units</a> as described in CSS 2.1 <a href="#CSS21" 1.79 - rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>. The resolution descriptor 1.80 - can be used to override the CSS pixel size chosen by the UA. In CSS, 1.81 - absolute length units are fixed in relation to each other, hence, changing 1.82 - the CSS pixel resolution will for instance change the physical length of a 1.83 - CSS cm. 1.84 - 1.85 - <p>Note that setting this descriptor will affect the used lengths for ‘<a 1.86 - href="#device-width"><code class=css>device-width</code></a>’, ‘<a 1.87 - href="#device-height"><code class=css>device-height</code></a>’, and the 1.88 - size of the <a href="#initial-viewport">initial viewport</a>. 1.89 - 1.90 - <p>Values have the following meanings: 1.91 - 1.92 - <dl> 1.93 - <dt>‘<code class=css><dfn id=auto4 1.94 - title="auto!!resolution">auto</dfn></code>’ 1.95 - 1.96 - <dd>Use the UAs CSS pixel resolution. 1.97 - 1.98 - <dt>‘<code class=css><dfn id=device>device</dfn></code>’ 1.99 - 1.100 - <dd>Use device resolution as the CSS pixel resolution. That is, have a 1-1 1.101 - relationship between a CSS and a device pixel. 1.102 - </dl> 1.103 - 1.104 <h2 id=constraining-viewport-descriptor-values><span class=secno>6. 1.105 </span>Constraining viewport descriptor values</h2> 1.106 1.107 @@ -1570,9 +1496,6 @@ 1.108 descriptors is optional. 1.109 </ul> 1.110 1.111 - <p class=issue>Need to say something about the resolution descriptor if it 1.112 - is kept. 1.113 - 1.114 <h2 id=viewport-meta><span class=secno>11. </span>Viewport <code 1.115 class=html>META</code> element</h2> 1.116 1.117 @@ -1619,8 +1542,6 @@ 1.118 <li><code class=index id=maximum-scale>maximum-scale</code> 1.119 1.120 <li><code class=index id=user-scalable>user-scalable</code> 1.121 - 1.122 - <li><code class=index id=target-densitydpi>target-densityDpi</code> 1.123 </ul> 1.124 1.125 <h3 id=parsing-algorithm><span class=secno>11.2. </span>Parsing algorithm</h3> 1.126 @@ -1947,25 +1868,6 @@ 1.127 --></pre> 1.128 </div> 1.129 1.130 - <h4 class="no-num no-toc" id=the-target-densitydpi-property>The <code 1.131 - class=index id=target-densitydpi0>target-densityDpi</code> property</h4> 1.132 - 1.133 - <p class=note>This property differ from the others since it is from the 1.134 - WebKit implementation used in the Android browser and not supported in 1.135 - Safari 1.136 - 1.137 - <p>The <code class=index id=target-densitydpi1>target-densityDpi</code> 1.138 - property is translated into ‘<a href="#resolution"><code 1.139 - class=descriptor>resolution</code></a>’ with the following value 1.140 - translations. 1.141 - 1.142 - <ol> 1.143 - <li><code class=index id=device-dpi>device-dpi</code> translates to ‘<a 1.144 - href="#device"><code class=css>device</code></a>’ 1.145 - 1.146 - <li>Other values are dropped 1.147 - </ol> 1.148 - 1.149 <h2 id=handling-auto-zoom><span class=secno>12. </span>Handling ‘<a 1.150 href="#auto0"><code class=css title="auto!!zoom">auto</code></a>’ for 1.151 ‘<code class=descriptor title="zoom!!descriptor">zoom</code>’</h2> 1.152 @@ -2082,10 +1984,9 @@ 1.153 <dt id=MEDIAQ>[MEDIAQ] 1.154 1.155 <dd>Florian Rivoal. <a 1.156 - href="http://www.w3.org/TR/2012/PR-css3-mediaqueries-20120426/"><cite>Media 1.157 - Queries.</cite></a> 26 April 2012. W3C Proposed Recommendation. (Work in 1.158 - progress.) URL: <a 1.159 - href="http://www.w3.org/TR/2012/PR-css3-mediaqueries-20120426/">http://www.w3.org/TR/2012/PR-css3-mediaqueries-20120426/</a> 1.160 + href="http://www.w3.org/TR/2012/REC-css3-mediaqueries-20120619/"><cite>Media 1.161 + Queries.</cite></a> 19 June 2012. W3C Recommendation. URL: <a 1.162 + href="http://www.w3.org/TR/2012/REC-css3-mediaqueries-20120619/">http://www.w3.org/TR/2012/REC-css3-mediaqueries-20120619/</a> 1.163 </dd> 1.164 <!----> 1.165 </dl> 1.166 @@ -2206,17 +2107,6 @@ 1.167 <td>visual, continuous 1.168 1.169 <tr> 1.170 - <th><a class=property href="#resolution">resolution</a> 1.171 - 1.172 - <td>auto | device 1.173 - 1.174 - <td>auto 1.175 - 1.176 - <td>N/A 1.177 - 1.178 - <td>visual, continuous 1.179 - 1.180 - <tr> 1.181 <th><a class=property href="#user-zoom">user-zoom</a> 1.182 1.183 <td>zoom | fixed 1.184 @@ -2272,16 +2162,9 @@ 1.185 <li>orientation, <a href="#auto3" 1.186 title="auto, orientation"><strong>5.9.</strong></a> 1.187 1.188 - <li>resolution, <a href="#auto4" 1.189 - title="auto, resolution"><strong>5.10.</strong></a> 1.190 - 1.191 <li>zoom, <a href="#auto0" title="auto, zoom"><strong>5.5.</strong></a> 1.192 </ul> 1.193 1.194 - <li>device, <a href="#device" title=device><strong>5.10.</strong></a> 1.195 - 1.196 - <li>device-dpi, <a href="#device-dpi" title=device-dpi>#</a> 1.197 - 1.198 <li>device-height, <a href="#device-height" 1.199 title=device-height><strong>5.1.</strong></a> 1.200 <ul> 1.201 @@ -2358,14 +2241,6 @@ 1.202 <li>portrait, <a href="#portrait" title=portrait><strong>5.9.</strong></a> 1.203 1.204 1.205 - <li>resolution, <a href="#resolution" 1.206 - title=resolution><strong>5.10.</strong></a> 1.207 - 1.208 - <li>target-densityDpi, <a href="#target-densitydpi" 1.209 - title=target-densityDpi>11.1.</a>, <a href="#target-densitydpi0" 1.210 - title=target-densityDpi>#</a>, <a href="#target-densitydpi1" 1.211 - title=target-densityDpi>#</a> 1.212 - 1.213 <li>user-scalable, <a href="#user-scalable" title=user-scalable>11.1.</a>, 1.214 <a href="#user-scalable0" title=user-scalable>#</a>, <a 1.215 href="#user-scalable1" title=user-scalable>#</a>
2.1 --- a/css-device-adapt/Overview.src.html Thu Jul 19 01:25:48 2012 -0400 2.2 +++ b/css-device-adapt/Overview.src.html Thu Jul 19 08:42:16 2012 +0200 2.3 @@ -846,73 +846,6 @@ 2.4 <dd>The document should be locked to landscape presentation.</dd> 2.5 </dl> 2.6 2.7 - 2.8 - <h3>The ‘<code class="descriptor">resolution</code>’ descriptor</h3> 2.9 - 2.10 - <!-- http://lists.w3.org/Archives/Public/www-style/2010Aug/0131.html --> 2.11 - 2.12 - <table class="descdef"> 2.13 - <tbody> 2.14 - <tr> 2.15 - <td><em>Name:</em></td> 2.16 - <td><dfn>resolution</dfn></td> 2.17 - </tr> 2.18 - 2.19 - <tr> 2.20 - <td><em>Value:</em></td> 2.21 - <td>auto | device</td> 2.22 - </tr> 2.23 - 2.24 - <tr> 2.25 - <td><em>Initial:</em></td> 2.26 - <td><span title="auto!!resolution">auto</span></td> 2.27 - </tr> 2.28 - 2.29 - <tr> 2.30 - <td><em>Percentages:</em></td> 2.31 - <td>N/A</td> 2.32 - </tr> 2.33 - 2.34 - <tr> 2.35 - <td><em>Media:</em></td> 2.36 - <td>visual, continuous</td> 2.37 - </tr> 2.38 - 2.39 - <tr> 2.40 - <td><em>Computed value:</em></td> 2.41 - <td>‘<code class="css" title="auto!!resolution">auto</code>’ or 2.42 - ‘<code class="css">device</code>’. </td> 2.43 - </tr> 2.44 - </tbody> 2.45 - </table> 2.46 - 2.47 - <p>The UA relates the CSS pixel to the 2.48 - <a href="http://www.w3.org/TR/CSS21/syndata.html#x40">reference pixel</a> 2.49 - or the physical 2.50 - <a href="http://www.w3.org/TR/CSS21/syndata.html#length-units">length units</a> 2.51 - as described in CSS 2.1 [[!CSS21]]. The resolution descriptor can be used to 2.52 - override the CSS pixel size chosen by the UA and force a 1 to 1 mapping between 2.53 - CSS pixels and physical ones. In CSS, absolute length units are fixed in 2.54 - relation to each other, hence, changing the CSS pixel resolution will for 2.55 - instance change the physical length of a CSS cm.</p> 2.56 - 2.57 - <p>Note that setting this descriptor will affect the used lengths for 2.58 - ‘<code class="css">device-width</code>’, 2.59 - ‘<code class="css">device-height</code>’, and the size of the 2.60 - <span>initial viewport</span>. 2.61 - 2.62 - <p>Values have the following meanings:</p> 2.63 - 2.64 - <dl> 2.65 - <dt>‘<code class="css"><dfn title="auto!!resolution">auto</dfn></code>’</dt> 2.66 - <dd>Use the UAs CSS pixel resolution.</dd> 2.67 - 2.68 - <dt>‘<code class="css"><dfn>device</dfn></code>’</dt> 2.69 - <dd>Use device resolution as the CSS pixel resolution. That is, have a 2.70 - 1-1 relationship between a CSS and a device pixel.</dd> 2.71 - 2.72 - </dl> 2.73 - 2.74 <h2>Constraining viewport descriptor values</h2> 2.75 2.76 <h3>Definitions</h3> 2.77 @@ -1316,9 +1249,6 @@ 2.78 descriptors is optional.</p></li> 2.79 </ul> 2.80 2.81 - <p class="issue">Need to say something about the resolution descriptor if it 2.82 - is kept.</p> 2.83 - 2.84 <h2 id="viewport-meta">Viewport <code class="html">META</code> element</h2> 2.85 2.86 <p><em>This section is not normative.</em></p> 2.87 @@ -1358,7 +1288,6 @@ 2.88 <li><code class="index">minimum-scale</code></li> 2.89 <li><code class="index">maximum-scale</code></li> 2.90 <li><code class="index">user-scalable</code></li> 2.91 - <li><code class="index">target-densityDpi</code></li> 2.92 </ul> 2.93 2.94 <h3 id="parsing-algorithm">Parsing algorithm</h3> 2.95 @@ -1570,21 +1499,6 @@ 2.96 --></pre> 2.97 </div> 2.98 2.99 - <h4 class="no-num no-toc">The <code class="index">target-densityDpi</code> property</h4> 2.100 - 2.101 - <p class="note">This property differ from the others since it is from the WebKit 2.102 - implementation used in the Android browser and not supported in Safari</p> 2.103 - 2.104 - <p>The <code class="index">target-densityDpi</code> property is translated 2.105 - into ‘<code class="descriptor">resolution</code>’ with the 2.106 - following value translations.</p> 2.107 - 2.108 - <ol> 2.109 - <li><code class="index">device-dpi</code> translates to 2.110 - ‘<code class="css">device</code>’</li> 2.111 - <li>Other values are dropped</li> 2.112 - </ol> 2.113 - 2.114 <h2 id="handling-auto-zoom">Handling ‘<code class="css" title="auto!!zoom">auto</code>’ 2.115 for ‘<code class="descriptor" title="zoom!!descriptor">zoom</code>’</h2> 2.116