Skip to content

Commit 36220cd

Browse files
committed
Make media queries not depend on 'size' / 'width' / 'height', see <http://lists.w3.org/Archives/Public/www-style/2012Feb/0968.html>
1 parent fbe2731 commit 36220cd

2 files changed

Lines changed: 17 additions & 14 deletions

File tree

css3-page/Overview.html

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@
8787

8888
<h1>CSS Paged Media Module Level 3</h1>
8989

90-
<h2 class="no-num no-toc" id=w3c-working>Editor's Draft 17 February 2012</h2>
90+
<h2 class="no-num no-toc" id=w3c-working>Editor's Draft 20 February 2012</h2>
9191

9292
<dl>
9393
<dt>This version:
9494

9595
<dd><a
9696
href="http://dev.w3.org/csswg/css3-page/">http://dev.w3.org/csswg/css3-page/</a></dd>
97-
<!-- <dd><a href="http://www.w3.org/TR/2012/ED-css3-page-20120217/">http://www.w3.org/TR/2012/WD-css3-page-20120217</a></dd> -->
97+
<!-- <dd><a href="http://www.w3.org/TR/2012/ED-css3-page-20120220/">http://www.w3.org/TR/2012/WD-css3-page-20120220</a></dd> -->
9898

9999
<dt>Latest version:
100100

@@ -181,7 +181,7 @@ <h2 class="no-num no-toc" id=status>Status of this Document</h2>
181181
<p>This document contains the <abbr
182182
title="Cascading Style Sheets">CSS3</abbr> Paged Media Module W3C Last
183183
Call <a href="/2005/10/Process-20051014/tr.html#RecsWD">Working Draft</a>
184-
of 17 February 2012. The Last Call period ends on <span
184+
of 20 February 2012. The Last Call period ends on <span
185185
class=fudge>TBD</span>.</p>
186186

187187
<p>Relative to the previous Last Call Working Draft, this version has
@@ -2125,14 +2125,16 @@ <h3 id=page-size-prop><span class=secno>8.1. </span>Page size: the
21252125
qualified by a &lsquo;<code class=css>width</code>&rsquo;, &lsquo;<code
21262126
class=css>height</code>&rsquo;, &lsquo;<code
21272127
class=css>device-width</code>&rsquo;, &lsquo;<code
2128-
class=css>device-height</code>&rsquo;, or &lsquo;<code
2129-
class=css>aspect-ratio</code>&rsquo; media query <a href="#MEDIAQ"
2128+
class=css>device-height</code>&rsquo;, &lsquo;<code
2129+
class=css>aspect-ratio</code>&rsquo;, &lsquo;<code
2130+
class=css>device-aspect-ratio</code>&rsquo; or &lsquo;<code
2131+
class=css>orientation</code>&rsquo; media query <a href="#MEDIAQ"
21302132
rel=biblioentry>[MEDIAQ]<!--{{!MEDIAQ}}--></a> (or other conditional on
21312133
the size of the paper), then the declaration must be <a
2132-
href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>. <span
2133-
class=issue>Does &lsquo;<a href="#size"><code
2134-
class=property>size</code></a>&rsquo; impact media query resolution?
2135-
This is useful, but may be hard to implement.</span></p>
2134+
href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>. Media
2135+
queries do not honor &lsquo;<a href="#size"><code
2136+
class=property>size</code></a>&rsquo;: they assume the paper size that
2137+
would be chosen if no @page rules were specified.</p>
21362138

21372139
<div class=example>
21382140
<p>In the following example

css3-page/Overview.src.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1521,12 +1521,13 @@ <h3 id="page-size-prop">Page size: the 'size' property</h3>
15211521
should be scaled down to fit the largest smaller page sheet available.</p>
15221522

15231523
<p>If a <code>size</code> property declaration is qualified by a ''width'',
1524-
''height'', ''device-width'', ''device-height'', or ''aspect-ratio'' media
1525-
query [[!MEDIAQ]] (or other conditional on the size of the paper), then
1524+
''height'', ''device-width'', ''device-height'', ''aspect-ratio'',
1525+
''device-aspect-ratio'' or ''orientation''
1526+
media query [[!MEDIAQ]] (or other conditional on the size of the paper), then
15261527
the declaration must be
1527-
<a href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>.
1528-
<span class="issue">Does 'size' impact media query resolution? This is
1529-
useful, but may be hard to implement.</span></p>
1528+
<a href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>. Media
1529+
queries do not honor 'size': they assume the paper size that would be chosen
1530+
if no @page rules were specified.</p>
15301531

15311532
<div class="example">
15321533
<p>In the following example

0 commit comments

Comments
 (0)