Skip to content

Commit e87f2fc

Browse files
author
Florian Rivoal
committed
Clarify that in the case of printers, the resolution should be the screening resolution.
1 parent a491f5c commit e87f2fc

2 files changed

Lines changed: 41 additions & 24 deletions

File tree

css3-mediaqueries/Overview.html

Lines changed: 32 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424

2525
<h1 id=media-queries>Media Queries</h1>
2626

27-
<h2 class="no-num no-toc" id=w3c-working>Editor's Draft 03 August 2010</h2>
27+
<h2 class="no-num no-toc" id=w3c-working>Editor's Draft 14 February 2012</h2>
2828

2929
<dl>
3030
<dt>This Version:
3131

3232
<dd><a
33-
href="http://www.w3.org/TR/2010/ED-css3-mediaqueries-20100803/">http://www.w3.org/TR/2010/ED-css3-mediaqueries-20100803/</a>
33+
href="http://www.w3.org/TR/2012/ED-css3-mediaqueries-20120214//">http://www.w3.org/TR/2012/ED-css3-mediaqueries-20120214/</a>
3434

3535
<dt>Latest Version:
3636

@@ -49,6 +49,12 @@ <h2 class="no-num no-toc" id=w3c-working>Editor's Draft 03 August 2010</h2>
4949

5050
<dt>Editors:
5151

52+
<dd class=vcard><span class=given-name>Florian</span> <span
53+
class=family-name>Rivoal</span> &lt;<span
54+
class=email>florianr&nbsp;@opera.com</span>&gt;
55+
56+
<dt>Previous Editors:
57+
5258
<dd class=vcard><a class="url fn n"
5359
href="http://people.opera.com/howcome/" lang=no> <span
5460
class=given-name>H&aring;kon</span> <span
@@ -70,14 +76,14 @@ <h2 class="no-num no-toc" id=w3c-working>Editor's Draft 03 August 2010</h2>
7076
<!--begin-copyright-->
7177
<p class=copyright><a
7278
href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
73-
rel=license>Copyright</a> &copy; 2010 <a
74-
href="http://www.w3.org/"><acronym title="World Wide Web
75-
Consortium">W3C</acronym></a><sup>&reg;</sup> (<a
76-
href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute
77-
of Technology">MIT</acronym></a>, <a href="http://www.ercim.eu/"><acronym
78-
title="European Research Consortium for Informatics and
79-
Mathematics">ERCIM</acronym></a>, <a
80-
href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a
79+
rel=license>Copyright</a> &copy; 2012 <a
80+
href="http://www.w3.org/"><acronym
81+
title="World Wide Web Consortium">W3C</acronym></a><sup>&reg;</sup> (<a
82+
href="http://www.csail.mit.edu/"><acronym
83+
title="Massachusetts Institute of Technology">MIT</acronym></a>, <a
84+
href="http://www.ercim.eu/"><acronym
85+
title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>,
86+
<a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a
8187
href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
8288
<a
8389
href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>
@@ -658,9 +664,9 @@ <h3 id=error-handling><span class=secno>3.1. </span>Error Handling</h3>
658664
unexpected tokens encountered while parsing a media query by reading
659665
until the end of the media query, while observing <a
660666
href="http://www.w3.org/TR/CSS21/syndata.html#block">the rules for
661-
matching pairs</a> of (), [], {}, "", and '', and correctly handling
662-
escapes. Media queries with unexpected tokens are represented as
663-
"<code>not all</code>". <a href="#CSS21"
667+
matching pairs</a> of (), [], {}, "", and &#39;&#39;, and correctly
668+
handling escapes. Media queries with unexpected tokens are represented
669+
as "<code>not all</code>". <a href="#CSS21"
664670
rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>
665671

666672
<div class=example>
@@ -1031,6 +1037,9 @@ <h3 id=resolution><span class=secno>4.11. </span>resolution</h3>
10311037
class=css>resolution</code>&rsquo; (without a "min-" or "max-" prefix)
10321038
query never matches a device with non-square pixels.
10331039

1040+
<p>For printers, this corresponds to the screening resolution (the
1041+
resolution for printing dots of arbitrary color).
1042+
10341043
<div class=example>
10351044
<p>For example, this media query expresses that a style sheet is usable on
10361045
devices with resolution greater than 300 dots per inch:</p>
@@ -1083,7 +1092,8 @@ <h3 id=grid><span class=secno>4.13. </span>grid</h3>
10831092
<p>Here are two examples:</p>
10841093

10851094
<pre><code>@media handheld and (grid) and (max-width: 15em) { &hellip; }
1086-
<span class=css-example>@media handheld and (grid) and (device-max-height: 7em) { &hellip; }</span></code></pre>
1095+
<span
1096+
class=css-example>@media handheld and (grid) and (device-max-height: 7em) { &hellip; }</span></code></pre>
10871097
</div>
10881098

10891099
<h2 id=values><span class=secno>5. </span>Values</h2>
@@ -1157,10 +1167,10 @@ <h3 class=no-num id=normative-references>Normative references</h3>
11571167
<dt id=CSS21>[CSS21]
11581168

11591169
<dd>Bert Bos; et al. <a
1160-
href="http://www.w3.org/TR/2009/CR-CSS2-20090908"><cite>Cascading Style
1161-
Sheets Level 2 Revision 1 (CSS 2.1) Specification.</cite></a> 8 September
1162-
2009. W3C Candidate Recommendation. (Work in progress.) URL: <a
1163-
href="http://www.w3.org/TR/2009/CR-CSS2-20090908">http://www.w3.org/TR/2009/CR-CSS2-20090908</a>
1170+
href="http://www.w3.org/TR/2011/REC-CSS2-20110607"><cite>Cascading Style
1171+
Sheets Level 2 Revision 1 (CSS&#160;2.1) Specification.</cite></a> 7 June
1172+
2011. W3C Recommendation. URL: <a
1173+
href="http://www.w3.org/TR/2011/REC-CSS2-20110607">http://www.w3.org/TR/2011/REC-CSS2-20110607</a>
11641174
</dd>
11651175
<!---->
11661176
</dl>
@@ -1176,7 +1186,7 @@ <h3 class=no-num id=other-references>Other references</h3>
11761186

11771187
<dt id=HTML401>[HTML401]
11781188

1179-
<dd>David Raggett; Ian Jacobs; Arnaud Le Hors. <a
1189+
<dd>Dave Raggett; Arnaud Le Hors; Ian Jacobs. <a
11801190
href="http://www.w3.org/TR/1999/REC-html401-19991224"><cite>HTML 4.01
11811191
Specification.</cite></a> 24 December 1999. W3C Recommendation. URL: <a
11821192
href="http://www.w3.org/TR/1999/REC-html401-19991224">http://www.w3.org/TR/1999/REC-html401-19991224</a>
@@ -1186,10 +1196,9 @@ <h3 class=no-num id=other-references>Other references</h3>
11861196
<dt id=HTML5>[HTML5]
11871197

11881198
<dd>Ian Hickson. <a
1189-
href="http://www.w3.org/TR/2010/WD-html5-20100624/"><cite>HTML
1190-
5.</cite></a> 24 June 2010. W3C Working Draft. (Work in progress.) URL:
1191-
<a
1192-
href="http://www.w3.org/TR/2010/WD-html5-20100624/">http://www.w3.org/TR/2010/WD-html5-20100624/</a>
1199+
href="http://www.w3.org/TR/2011/WD-html5-20110525/"><cite>HTML5.</cite></a>
1200+
25 May 2011. W3C Working Draft. (Work in progress.) URL: <a
1201+
href="http://www.w3.org/TR/2011/WD-html5-20110525/">http://www.w3.org/TR/2011/WD-html5-20110525/</a>
11931202
</dd>
11941203
<!---->
11951204

css3-mediaqueries/Overview.src.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ <h2 class="no-num no-toc" id="w3c-working">[LONGSTATUS] [DATE]</h2>
4848

4949
<dt>Editors:</dt>
5050

51+
<dd class="vcard"><span class="given-name">Florian</span> <span class="family-name">Rivoal</span> &lt;<span class="email">florianr&nbsp;@opera.com</span>&gt;</dd>
52+
53+
<dt>Previous Editors:</dt>
54+
5155
<dd class="vcard"><a class="url fn n" lang="no" href="http://people.opera.com/howcome/">
5256
<span class="given-name">H&aring;kon</span> <span class="additional-name">Wium</span> <span class="family-name">Lie</span></a> &lt;<span class="email">howcome&nbsp;@opera.com</span>&gt;</dd>
5357

@@ -61,6 +65,7 @@ <h2 class="no-num no-toc" id="w3c-working">[LONGSTATUS] [DATE]</h2>
6165
</dl>
6266

6367

68+
6469
<!--copyright-->
6570

6671
<hr title="Separator for header">
@@ -887,7 +892,10 @@ <h3 id="resolution">resolution</h3>
887892
dimension must be compared to the specified value and in
888893
''max-resolution'' queries the most-dense dimensions must be compared
889894
instead. A ''resolution'' (without a "min-" or "max-" prefix) query
890-
never matches a device with non-square pixels.
895+
never matches a device with non-square pixels.</p>
896+
897+
<p>For printers, this corresponds to the screening resolution (the
898+
resolution for printing dots of arbitrary color).</p>
891899

892900
<div class="example">
893901

0 commit comments

Comments
 (0)