2424
2525 < h1 id =media-queries > Media Queries</ h1 >
2626
27- < h2 class ="no-num no-toc " id =w3c-working > Editor's Draft 1 September 2008</ h2 >
27+ < h2 class ="no-num no-toc " id =w3c-working > Editor's Draft 8 September 2008</ h2 >
2828
2929 < dl >
3030 < dt > This version:
3131
3232 < dd > < a
33- href ="http://www.w3.org/TR/2008/ED-css3-mediaqueries-20080901 / "> http://www.w3.org/TR/2008/ED-css3-mediaqueries-20080901 /</ a >
33+ href ="http://www.w3.org/TR/2008/ED-css3-mediaqueries-20080908 / "> http://www.w3.org/TR/2008/ED-css3-mediaqueries-20080908 /</ a >
3434
3535 < dt > Latest version:
3636
@@ -569,7 +569,7 @@ <h2 id=syntax><span class=secno>3. </span>Syntax</h2>
569569 rel =biblioentry > [CSS21]<!--{{!CSS21}}--> </ a >
570570
571571 < pre > media_query_list
572- : S* media_query [ ',' S* media_query]* | S*
572+ : S* media_query [ ',' S* media_query]* | S*
573573 ;
574574media_query
575575 : [ONLY | NOT]? S* media_type S* [ AND S* expression ]*
@@ -579,7 +579,7 @@ <h2 id=syntax><span class=secno>3. </span>Syntax</h2>
579579 : IDENT
580580 ;
581581expression
582- : '(' S* media_feature S* [':' S* value]? ')' S*
582+ : '(' S* media_feature S* [':' S* value]? ')' S*
583583 ;
584584media_feature
585585 : IDENT
@@ -746,11 +746,12 @@ <h2 id=media1><span class=secno>4. </span>Media features</h2>
746746 features, on the other hand, can also be used without a value. For a
747747 media feature < var > feature</ var > , < code > (< var > feature</ var > )</ code > will
748748 evaluate to true if < code > (< var > feature</ var > :< var > x</ var > )</ code > will
749- evaluate to true for a value < var > x</ var > other than zero, including e.g.
750- < code > 0</ code > , < code > 0px</ code > , and < code > 0em</ code > . Media features
751- that are prefixed by min/max cannot be used without a value. When a media
752- feature prefixed with min/max is used without a value it makes the media
753- query malformed.
749+ evaluate to true for a value < var > x</ var > other than zero or zero
750+ followed by a unit identifier (i.e., other than < code > 0</ code > ,
751+ < code > 0px</ code > , < code > 0em</ code > , etc.). Media features that are
752+ prefixed by min/max cannot be used without a value. When a media feature
753+ prefixed with min/max is used without a value it makes the media query
754+ malformed.
754755
755756 < li > Properties may accept more complex values, e.g., calculations that
756757 involve several other values. Media features only accept single values:
0 commit comments