|
24 | 24 |
|
25 | 25 | <h1 id=media-queries>Media Queries</h1> |
26 | 26 |
|
27 | | - <h2 class="no-num no-toc" id=w3c-working>Editor's Draft 20 April 2009</h2> |
| 27 | + <h2 class="no-num no-toc" id=w3c-working>Editor's Draft 31 July 2009</h2> |
28 | 28 |
|
29 | 29 | <dl> |
30 | 30 | <dt>This Version: |
31 | 31 |
|
32 | 32 | <dd><a |
33 | | - href="http://www.w3.org/TR/2009/ED-css3-mediaqueries-20090420/">http://www.w3.org/TR/2009/ED-css3-mediaqueries-20090420/</a> |
| 33 | + href="http://www.w3.org/TR/2009/ED-css3-mediaqueries-20090731/">http://www.w3.org/TR/2009/ED-css3-mediaqueries-20090731/</a> |
34 | 34 |
|
35 | 35 | <dt>Latest Version: |
36 | 36 |
|
@@ -378,6 +378,12 @@ <h2 id=media0><span class=secno>2 </span>Media Queries</h2> |
378 | 378 | id=media-features>media features</span>. If the media type is omitted it |
379 | 379 | is assumed to be ‘<code class=css>all</code>’. |
380 | 380 |
|
| 381 | + <p>Statements regarding media queries in this section assume the <a |
| 382 | + href="#syntax">syntax section</a> is followed. Media queries that do not |
| 383 | + conform to the syntax are discussed in the <a href="#error-handling">error |
| 384 | + handling section</a>. I.e. the syntax takes precedence over requirements |
| 385 | + in this section. |
| 386 | + |
381 | 387 | <div class=example> |
382 | 388 | <p>Here is a simple example written in HTML:</p> |
383 | 389 |
|
@@ -622,10 +628,8 @@ <h3 id=error-handling><span class=secno>3.1 </span>Error Handling</h3> |
622 | 628 | <ul> |
623 | 629 | <li> |
624 | 630 | <p><strong>Unknown media types.</strong> Unknown media types evaluate to |
625 | | - false, unless negated by the ‘<code class=css>not</code>’ |
626 | | - keyword, in which case they evaluate to true. Effectively, they are |
627 | | - treated identically to known media types that do not match the media |
628 | | - type of the device.</p> |
| 631 | + false. Effectively, they are treated identically to known media types |
| 632 | + that do not match the media type of the device.</p> |
629 | 633 |
|
630 | 634 | <div class=example> |
631 | 635 | <p>The media query "<code>unknown</code>" will evaluate to false, unless |
@@ -780,9 +784,10 @@ <h3 id=width><span class=secno>4.1 </span>width</h3> |
780 | 784 | the width of the targeted display area of the output device. For |
781 | 785 | continuous media, this is the width of the viewport (as described by CSS2, |
782 | 786 | section 9.1.1 <a href="#CSS21" |
783 | | - rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>). For paged media, this is |
784 | | - the width of the page box (as described by CSS2, section 13.2 <a |
785 | | - href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>). |
| 787 | + rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>) including the size of a |
| 788 | + rendered scroll bar (if any). For paged media, this is the width of the |
| 789 | + page box (as described by CSS2, section 13.2 <a href="#CSS21" |
| 790 | + rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>). |
786 | 791 |
|
787 | 792 | <p>A specified <length> cannot be negative. |
788 | 793 |
|
@@ -827,8 +832,9 @@ <h3 id=height><span class=secno>4.2 </span>height</h3> |
827 | 832 |
|
828 | 833 | <p>The ‘<code class=css>height</code>’ media feature describes |
829 | 834 | the height of the targeted display area of the output device. For |
830 | | - continuous media, this is the height of the viewport. For paged media, |
831 | | - this is the height of the page box. |
| 835 | + continuous media, this is the height of the viewport including the size of |
| 836 | + a rendered scroll bar (if any). For paged media, this is the height of the |
| 837 | + page box. |
832 | 838 |
|
833 | 839 | <p>A specified <length> cannot be negative. |
834 | 840 |
|
@@ -1222,10 +1228,10 @@ <h3 class=no-num id=normative-references>Normative references</h3> |
1222 | 1228 | <dt id=CSS21>[CSS21] |
1223 | 1229 |
|
1224 | 1230 | <dd>Bert Bos; et al. <a |
1225 | | - href="http://www.w3.org/TR/2009/CR-CSS21-20090423"><cite>Cascading Style |
| 1231 | + href="http://www.w3.org/TR/2009/CR-CSS2-20090423/"><cite>Cascading Style |
1226 | 1232 | Sheets Level 2 Revision 1 (CSS 2.1) Specification.</cite></a> 23 April |
1227 | 1233 | 2009. W3C Candidate Recommendation. (Work in progress.) URL: <a |
1228 | | - href="http://www.w3.org/TR/2009/CR-CSS21-20090423">http://www.w3.org/TR/2009/CR-CSS21-20090423</a> |
| 1234 | + href="http://www.w3.org/TR/2009/CR-CSS2-20090423/">http://www.w3.org/TR/2009/CR-CSS2-20090423/</a> |
1229 | 1235 | </dd> |
1230 | 1236 | <!----> |
1231 | 1237 | </dl> |
|
0 commit comments