Skip to content

Commit 581baaa

Browse files
committed
address 3 out of 4 editorial issues raised on www-style
1 parent f7a1b45 commit 581baaa

2 files changed

Lines changed: 31 additions & 20 deletions

File tree

css3-mediaqueries/Overview.html

Lines changed: 19 additions & 13 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 20 April 2009</h2>
27+
<h2 class="no-num no-toc" id=w3c-working>Editor's Draft 31 July 2009</h2>
2828

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

3232
<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>
3434

3535
<dt>Latest Version:
3636

@@ -378,6 +378,12 @@ <h2 id=media0><span class=secno>2 </span>Media Queries</h2>
378378
id=media-features>media features</span>. If the media type is omitted it
379379
is assumed to be &lsquo;<code class=css>all</code>&rsquo;.
380380

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+
381387
<div class=example>
382388
<p>Here is a simple example written in HTML:</p>
383389

@@ -622,10 +628,8 @@ <h3 id=error-handling><span class=secno>3.1 </span>Error Handling</h3>
622628
<ul>
623629
<li>
624630
<p><strong>Unknown media types.</strong> Unknown media types evaluate to
625-
false, unless negated by the &lsquo;<code class=css>not</code>&rsquo;
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>
629633

630634
<div class=example>
631635
<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>
780784
the width of the targeted display area of the output device. For
781785
continuous media, this is the width of the viewport (as described by CSS2,
782786
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>).
786791

787792
<p>A specified &lt;length> cannot be negative.
788793

@@ -827,8 +832,9 @@ <h3 id=height><span class=secno>4.2 </span>height</h3>
827832

828833
<p>The &lsquo;<code class=css>height</code>&rsquo; media feature describes
829834
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.
832838

833839
<p>A specified &lt;length> cannot be negative.
834840

@@ -1222,10 +1228,10 @@ <h3 class=no-num id=normative-references>Normative references</h3>
12221228
<dt id=CSS21>[CSS21]
12231229

12241230
<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
12261232
Sheets Level 2 Revision 1 (CSS 2.1) Specification.</cite></a> 23 April
12271233
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>
12291235
</dd>
12301236
<!---->
12311237
</dl>

css3-mediaqueries/Overview.src.html

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,12 @@ <h2 id="media0">Media Queries</h2>
252252
class="index">media features</span>. If the media type is omitted it is
253253
assumed to be ''all''.</p>
254254

255+
<p>Statements regarding media queries in this section assume the
256+
<a href="#syntax">syntax section</a> is followed. Media queries that do not
257+
conform to the syntax are discussed in the
258+
<a href="#error-handling">error handling section</a>. I.e. the syntax takes
259+
precedence over requirements in this section.</p>
260+
255261
<div class="example">
256262
<p>Here is a simple example written in HTML:</p>
257263
<pre>
@@ -484,8 +490,7 @@ <h3>Error Handling</h3>
484490
<ul>
485491
<li>
486492
<p><strong>Unknown media types.</strong> Unknown media types evaluate to
487-
false, unless negated by the ''not'' keyword, in which case they evaluate
488-
to true. Effectively, they are treated identically to known media types
493+
false. Effectively, they are treated identically to known media types
489494
that do not match the media type of the device.</p>
490495

491496
<div class="example">
@@ -640,9 +645,9 @@ <h3 id="width">width</h3>
640645

641646
<p>The ''width'' media feature describes the width of the targeted display
642647
area of the output device. For continuous media, this is the width
643-
of the viewport (as described by CSS2, section 9.1.1 [[!CSS21]]). For
644-
paged media, this is the width of the page box (as described by CSS2,
645-
section 13.2 [[!CSS21]]).</p>
648+
of the viewport (as described by CSS2, section 9.1.1 [[!CSS21]]) including
649+
the size of a rendered scroll bar (if any). For paged media, this is the
650+
width of the page box (as described by CSS2, section 13.2 [[!CSS21]]).</p>
646651

647652
<p>A specified &lt;length> cannot be negative.</p>
648653

@@ -695,8 +700,8 @@ <h3 id="height">height</h3>
695700

696701
<p>The ''height'' media feature describes the height of the targeted display
697702
area of the output device. For continuous media, this is the height
698-
of the viewport. For paged media, this is the height of the page
699-
box.</p>
703+
of the viewport including the size of a rendered scroll bar (if any). For
704+
paged media, this is the height of the page box.</p>
700705

701706
<p>A specified &lt;length> cannot be negative.</p>
702707

0 commit comments

Comments
 (0)