Skip to content

Commit 0ef1032

Browse files
author
Florian Rivoal
committed
Convert a mistaken 'at risk' into an actual issue describing the problem
1 parent fb010ae commit 0ef1032

2 files changed

Lines changed: 41 additions & 25 deletions

File tree

css-device-adapt/Overview.html

Lines changed: 30 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@
1616

1717
<h1>CSS Device Adaptation</h1>
1818

19-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 23 January
20-
2012</h2>
19+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 19 April 2012</h2>
2120

2221
<dl>
2322
<dt>This version:
2423

2524
<dd>$Date$ (editor's draft)
26-
<!--<dd><a href="http://www.w3.org/TR/2012/ED-css-device-adapt-20120123/">http://www.w3.org/TR/2012/WD-css-device-adapt-20120123/</a></dd>-->
25+
<!--<dd><a href="http://www.w3.org/TR/2012/ED-css-device-adapt-20120419/">http://www.w3.org/TR/2012/WD-css-device-adapt-20120419/</a></dd>-->
2726

2827

2928
<dt>Latest version:
@@ -38,19 +37,21 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 23 January
3837

3938
<dt>Editor:
4039

40+
<dd><a href="mailto:florianr@opera.com">Florian Rivoal</a> (<a
41+
href="http://www.opera.com/">Opera Software</a>)
42+
4143
<dd><a href="mailto:rune@opera.com">Rune Lillesveen</a> (<a
4244
href="http://www.opera.com/">Opera Software</a>)
4345
</dl>
4446
<!--begin-copyright-->
4547
<p class=copyright><a
4648
href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
47-
rel=license>Copyright</a> &copy; 2012 <a
48-
href="http://www.w3.org/"><acronym
49-
title="World Wide Web Consortium">W3C</acronym></a><sup>&reg;</sup> (<a
50-
href="http://www.csail.mit.edu/"><acronym
51-
title="Massachusetts Institute of Technology">MIT</acronym></a>, <a
52-
href="http://www.ercim.eu/"><acronym
53-
title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>,
49+
rel=license>Copyright</a> &copy; 2012 <a href="http://www.w3.org/"><abbr
50+
title="World Wide Web Consortium">W3C</abbr></a><sup>&reg;</sup> (<a
51+
href="http://www.csail.mit.edu/"><abbr
52+
title="Massachusetts Institute of Technology">MIT</abbr></a>, <a
53+
href="http://www.ercim.eu/"><abbr
54+
title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>,
5455
<a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a
5556
href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
5657
<a
@@ -1185,8 +1186,6 @@ <h3 id=the-lsquoorientationrsquo-property><span class=secno>5.9. </span>The
11851186
<h3 id=the-lsquoresolutionrsquo-property><span class=secno>5.10. </span>The
11861187
&lsquo;<a href="#resolution"><code
11871188
class=property>resolution</code></a>&rsquo; property</h3>
1188-
1189-
<p class=issue>This property is at risk.</p>
11901189
<!-- http://lists.w3.org/Archives/Public/www-style/2010Aug/0131.html -->
11911190

11921191
<table class=propdef>
@@ -1282,6 +1281,17 @@ <h3 id=the-lsquoresolutionrsquo-property><span class=secno>5.10. </span>The
12821281
<dd>Set the CSS pixel resolution to a fixed dpi or dpcm value.
12831282
</dl>
12841283

1284+
<p class=issue>In this context, &lsquo;<code class=css>dpi</code>&rsquo;
1285+
(resp. &lsquo;<code class=css>dpcm</code>&rsquo;) means css pixel per
1286+
physical inch (resp. phycical centimeter). That's the oposite of what
1287+
&lsquo;<code class=css>dpi</code>&rsquo; means in the resolution
1288+
descriptor in @media. We should probably turn in on its head here, to
1289+
match what happens there. Even better, we should probably drop the ability
1290+
use &lt;resolution&gt; as a value for this descriptor. There are clear use
1291+
cases for &lsquo;<code class=css>auto</code>&rsquo; and for &lsquo;<a
1292+
href="#device"><code class=css>device</code></a>&rsquo;, but not for
1293+
arbitrary numbers.
1294+
12851295
<h2 id=constraining-viewport-property-values><span class=secno>6.
12861296
</span>Constraining viewport property values</h2>
12871297

@@ -1767,9 +1777,7 @@ <h3 id=meta-properties><span class=secno>11.1. </span>Properties</h3>
17671777

17681778
<li><code class=index id=user-scalable>user-scalable</code>
17691779

1770-
<li><code class=index id=target-densitydpi>target-densityDpi</code><span
1771-
class=issue>At risk since &lsquo;<a href="#resolution"><code
1772-
class=property>resolution</code></a>&rsquo; is at risk.</span>
1780+
<li><code class=index id=target-densitydpi>target-densityDpi</code>
17731781
</ul>
17741782

17751783
<h3 id=parsing-algorithm><span class=secno>11.2. </span>Parsing algorithm</h3>
@@ -2101,8 +2109,10 @@ <h4 class="no-num no-toc" id=the-user-scalable-property>The <code
21012109
<h4 class="no-num no-toc" id=the-target-densitydpi-property>The <code
21022110
class=index id=target-densitydpi0>target-densityDpi</code> property</h4>
21032111

2104-
<p class=issue>At risk since &lsquo;<a href="#resolution"><code
2105-
class=property>resolution</code></a>&rsquo; is at risk.
2112+
<p class=issue>All the values other than &lsquo;<code
2113+
class=css>device-dpi</code>&rsquo; may change of be dropped, depending on
2114+
how we resolve the issue in &lsquo;<a href="#resolution"><code
2115+
class=property>resolution</code></a>&rsquo;.
21062116

21072117
<p class=note>This property differ from the others since it is from the
21082118
WebKit implementation used in the Android browser and not supported in
@@ -2237,10 +2247,10 @@ <h3 class=no-num id=normative-references>Normative references</h3>
22372247
<dt id=CSS3VAL>[CSS3VAL]
22382248

22392249
<dd>H&#229;kon Wium Lie; Tab Atkins; Elika J. Etemad. <a
2240-
href="http://www.w3.org/TR/2011/WD-css3-values-20110906/"><cite>CSS
2241-
Values and Units Module Level 3.</cite></a> 6 September 2011. W3C Working
2250+
href="http://www.w3.org/TR/2012/WD-css3-values-20120308/"><cite>CSS
2251+
Values and Units Module Level 3.</cite></a> 8 March 2012. W3C Working
22422252
Draft. (Work in progress.) URL: <a
2243-
href="http://www.w3.org/TR/2011/WD-css3-values-20110906/">http://www.w3.org/TR/2011/WD-css3-values-20110906/</a>
2253+
href="http://www.w3.org/TR/2012/WD-css3-values-20120308/">http://www.w3.org/TR/2012/WD-css3-values-20120308/</a>
22442254
</dd>
22452255
<!---->
22462256

css-device-adapt/Overview.src.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ <h2 class="no-num no-toc">[LONGSTATUS] [DATE]</h2>
2727
http://www.w3.org/TR/2011/WD-css-device-adapt-20110915/</a>
2828

2929
<dt>Editor:</dt>
30+
<dd><a href="mailto:florianr@opera.com">Florian Rivoal</a> (<a href="http://www.opera.com/">Opera Software</a>)</dd>
3031
<dd><a href="mailto:rune@opera.com">Rune Lillesveen</a> (<a href="http://www.opera.com/">Opera Software</a>)</dd>
3132
</dl>
3233

@@ -946,7 +947,6 @@ <h3>The &lsquo;<code class="property">orientation</code>&rsquo; property</h3>
946947

947948
<h3>The &lsquo;<code class="property">resolution</code>&rsquo; property</h3>
948949

949-
<p class="issue">This property is at risk.</p>
950950
<!-- http://lists.w3.org/Archives/Public/www-style/2010Aug/0131.html -->
951951

952952
<table class="propdef">
@@ -1035,6 +1035,14 @@ <h3>The &lsquo;<code class="property">resolution</code>&rsquo; property</h3>
10351035
<dt><var>&lt;resolution&gt;</var></dt>
10361036
<dd>Set the CSS pixel resolution to a fixed dpi or dpcm value.</dd>
10371037
</dl>
1038+
<p class="issue">In this context, ''dpi'' (resp. ''dpcm'') means css pixel
1039+
per physical inch (resp. phycical centimeter). That's the oposite of what
1040+
''dpi'' means in the resolution descriptor in @media. We should probably turn
1041+
in on its head here, to match what happens there. Even better, we should
1042+
probably drop the ability use &lt;resolution&gt; as a value for this
1043+
descriptor. There are clear use cases for ''auto'' and for ''device'', but not
1044+
for arbitrary numbers.
1045+
</p>
10381046

10391047

10401048
<h2>Constraining viewport property values</h2>
@@ -1492,9 +1500,7 @@ <h3 id="meta-properties">Properties</h3>
14921500
<li><code class="index">minimum-scale</code></li>
14931501
<li><code class="index">maximum-scale</code></li>
14941502
<li><code class="index">user-scalable</code></li>
1495-
<li><code class="index">target-densityDpi</code><span class="issue">At
1496-
risk since &lsquo;<code class="property">resolution</code>&rsquo; is at
1497-
risk.</span></li>
1503+
<li><code class="index">target-densityDpi</code></li>
14981504
</ul>
14991505

15001506
<h3 id="parsing-algorithm">Parsing algorithm</h3>
@@ -1708,7 +1714,7 @@ <h4 class="no-num no-toc">The <code class="index">user-scalable</code> property<
17081714

17091715
<h4 class="no-num no-toc">The <code class="index">target-densityDpi</code> property</h4>
17101716

1711-
<p class="issue">At risk since &lsquo;<code class="property">resolution</code>&rsquo; is at risk.</p>
1717+
<p class="issue">All the values other than ''device-dpi'' may change of be dropped, depending on how we resolve the issue in &lsquo;<code class="property">resolution</code>&rsquo;.</p>
17121718

17131719
<p class="note">This property differ from the others since it is from the WebKit
17141720
implementation used in the Android browser and not supported in Safari</p>

0 commit comments

Comments
 (0)