- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 17 Feb 2012 22:43:50 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-page
In directory hutz:/tmp/cvs-serv31036
Modified Files:
Overview.html Overview.src.html
Log Message:
Simplify media query / size conflict handling via bzbarsky's suggestion. <http://lists.w3.org/Archives/Public/www-style/2012Feb/0819.html>
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-page/Overview.html,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- Overview.html 6 Oct 2011 00:43:56 -0000 1.73
+++ Overview.html 17 Feb 2012 22:43:48 -0000 1.74
@@ -87,14 +87,14 @@
<h1>CSS Paged Media Module Level 3</h1>
- <h2 class="no-num no-toc" id=w3c-working>Editor's Draft 6 October 2011</h2>
+ <h2 class="no-num no-toc" id=w3c-working>Editor's Draft 17 February 2012</h2>
<dl>
<dt>This version:
<dd><a
href="http://dev.w3.org/csswg/css3-page/">http://dev.w3.org/csswg/css3-page/</a></dd>
- <!-- <dd><a href="http://www.w3.org/TR/2011/ED-css3-page-20111006/">http://www.w3.org/TR/2011/WD-css3-page-20111006</a></dd> -->
+ <!-- <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> -->
<dt>Latest version:
@@ -117,7 +117,7 @@
<!--begin-copyright-->
<p class=copyright><a
href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
- rel=license>Copyright</a> © 2011 <a
+ rel=license>Copyright</a> © 2012 <a
href="http://www.w3.org/"><acronym
title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup> (<a
href="http://www.csail.mit.edu/"><acronym
@@ -181,7 +181,7 @@
<p>This document contains the <abbr
title="Cascading Style Sheets">CSS3</abbr> Paged Media Module W3C Last
Call <a href="/2005/10/Process-20051014/tr.html#RecsWD">Working Draft</a>
- of 6 October 2011. The Last Call period ends on <span
+ of 17 February 2012. The Last Call period ends on <span
class=fudge>TBD</span>.</p>
<p>Relative to the previous Last Call Working Draft, this version has
@@ -1860,11 +1860,12 @@
class=css>counter()</code>’ and ‘<code
class=css>counters()</code>’ function forms.</p>
- <p>Additionally, a counter named ‘<code
- class=css>pages</code>’ is automatically created by the UA. Its
- value is always the total number of pages in the document. (In
- continuous media this is always 1.) The value of ‘<code
- class=css>pages</code>’ cannot be manipulated: while ‘<code
+ <p>Additionally, a counter named ‘<a href="#page"><code
+ class=css>pages</code></a>’ is automatically created by the UA.
+ Its value is always the total number of pages in the document. (In
+ continuous media this is always 1.) The value of ‘<a
+ href="#page"><code class=css>pages</code></a>’ cannot be
+ manipulated: while ‘<code
class=property>counter-reset</code>’ and ‘<code
class=property>counter-increment</code>’ statements that set it
are valid, they have no effect.
@@ -2120,13 +2121,18 @@
contents of the page box should be scaled down to fit the largest
smaller page sheet available.</p>
- <p>If a <a href="#size"><code>size</code></a> property declaration
- specifies a page size that would cause that declaration to not apply
- (e.g. a media query that qualifies it applies only to a different paper
- size) then the declaration must be <a
+ <p>If a <a href="#size"><code>size</code></a> property declaration is
+ qualified by a ‘<code class=css>width</code>’, ‘<code
+ class=css>height</code>’, ‘<code
+ class=css>device-width</code>’, ‘<code
+ class=css>device-height</code>’, or ‘<code
+ class=css>aspect-ratio</code>’ media query <a href="#MEDIAQ"
+ rel=biblioentry>[MEDIAQ]<!--{{!MEDIAQ}}--></a> (or other conditional on
+ the size of the paper), then the declaration must be <a
href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>. <span
- class=issue>Is this a reasonable way of dealing with this
- conflict?</span></p>
+ class=issue>Does ‘<a href="#size"><code
+ class=property>size</code></a>’ impact media query resolution?
+ This is useful, but may be hard to implement.</span></p>
<div class=example>
<p>In the following example
@@ -3574,10 +3580,20 @@
<dt id=CSS21>[CSS21]
<dd>Bert Bos; et al. <a
- href="http://www.w3.org/TR/2011/REC-CSS2-20110607/"><cite>Cascading
+ href="http://www.w3.org/TR/2011/REC-CSS2-20110607"><cite>Cascading
Style Sheets Level 2 Revision 1 (CSS 2.1)
Specification.</cite></a> 7 June 2011. W3C Recommendation. URL: <a
- href="http://www.w3.org/TR/2011/REC-CSS2-20110607/">http://www.w3.org/TR/2011/REC-CSS2-20110607/</a>
+ href="http://www.w3.org/TR/2011/REC-CSS2-20110607">http://www.w3.org/TR/2011/REC-CSS2-20110607</a>
+ </dd>
+ <!---->
+
+ <dt id=MEDIAQ>[MEDIAQ]
+
+ <dd>Håkon Wium Lie; et al. <a
+ href="http://www.w3.org/TR/2010/CR-css3-mediaqueries-20100727/"><cite>Media
+ Queries.</cite></a> 27 July 2010. W3C Candidate Recommendation. (Work
+ in progress.) URL: <a
+ href="http://www.w3.org/TR/2010/CR-css3-mediaqueries-20100727/">http://www.w3.org/TR/2010/CR-css3-mediaqueries-20100727/</a>
</dd>
<!---->
@@ -3614,16 +3630,6 @@
Modes Module.</cite> (forthcoming). W3C Working Draft. (Work in
progress.)</dd>
<!---->
-
- <dt id=MEDIAQ>[MEDIAQ]
-
- <dd>Håkon Wium Lie; et al. <a
- href="http://www.w3.org/TR/2010/CR-css3-mediaqueries-20100727/"><cite>Media
- Queries.</cite></a> 27 July 2010. W3C Candidate Recommendation. (Work
- in progress.) URL: <a
- href="http://www.w3.org/TR/2010/CR-css3-mediaqueries-20100727/">http://www.w3.org/TR/2010/CR-css3-mediaqueries-20100727/</a>
- </dd>
- <!---->
</dl>
<!--end-informative--></div>
</div>
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-page/Overview.src.html,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -d -r1.75 -r1.76
--- Overview.src.html 6 Oct 2011 00:43:56 -0000 1.75
+++ Overview.src.html 17 Feb 2012 22:43:48 -0000 1.76
@@ -1520,11 +1520,13 @@
larger size should be used; if not available, the contents of the page box
should be scaled down to fit the largest smaller page sheet available.</p>
-<p>If a <code>size</code> property declaration specifies a page size that would
-cause that declaration to not apply (e.g. a media query that qualifies it applies
-only to a different paper size) then the declaration must be
+<p>If a <code>size</code> property declaration is qualified by a ''width'',
+''height'', ''device-width'', ''device-height'', or ''aspect-ratio'' media
+query [[!MEDIAQ]] (or other conditional on the size of the paper), then
+the declaration must be
<a href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>.
-<span class="issue">Is this a reasonable way of dealing with this conflict?</span></p>
+<span class="issue">Does 'size' impact media query resolution? This is
+useful, but may be hard to implement.</span></p>
<div class="example">
<p>In the following example
Received on Friday, 17 February 2012 22:43:52 UTC