Skip to content

Commit 9d3589b

Browse files
committed
small grammar fix
1 parent e1e3b2d commit 9d3589b

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

css3-mediaqueries/Overview.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ <h2 id=syntax><span class=secno>3. </span>Syntax</h2>
542542
: S* media_query [ ',' S* media_query]*
543543
;
544544
media_query
545-
: [ONLY | NOT] S* media_type S* [ AND S* expression ]*
545+
: [ONLY | NOT]? S* media_type S* [ AND S* expression ]*
546546
| expression [ AND S* expression ]*
547547
;
548548
media_type
@@ -571,7 +571,9 @@ <h2 id=syntax><span class=secno>3. </span>Syntax</h2>
571571
{num}{D}{P}{C}{M} {return RESOLUTION;}</pre>
572572

573573
<p><code>RESOLUTION</code> is to be added to the CSS2 <code>term</code>
574-
production.
574+
production and <code>NOT</code>, <code>ONLY</code>, <code>AND</code>, and
575+
<code>&lsquo;<code class=css>,</code>&rsquo;</code> are to be added to the
576+
CSS2 <code>value</code> production.
575577

576578
<p>CSS style sheets are generally case-insensitive, and this is also the
577579
case for media queries.

css3-mediaqueries/Overview.src.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ <h2>Syntax</h2>
426426
: S* media_query [ ',' S* media_query]*
427427
;
428428
media_query
429-
: [ONLY | NOT] S* media_type S* [ AND S* expression ]*
429+
: [ONLY | NOT]? S* media_type S* [ AND S* expression ]*
430430
| expression [ AND S* expression ]*
431431
;
432432
media_type
@@ -455,7 +455,9 @@ <h2>Syntax</h2>
455455
{num}{D}{P}{C}{M} {return RESOLUTION;}</pre>
456456

457457
<p><code>RESOLUTION</code> is to be added to the CSS2
458-
<code>term</code> production.</p>
458+
<code>term</code> production and <code>NOT</code>, <code>ONLY</code>,
459+
<code>AND</code>, and <code>','</code> are to be added to the CSS2
460+
<code>value</code> production.</p>
459461

460462
<p>CSS style sheets are generally case-insensitive, and this is
461463
also the case for media queries.</p>

0 commit comments

Comments
 (0)