File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -560,7 +560,7 @@ <h2 id=syntax><span class=secno>3. </span>Syntax</h2>
560560 rel =biblioentry > [CSS21]<!--{{!CSS21}}--> </ a >
561561
562562 < pre > media_query_list
563- : S* media_query [ ',' S* media_query]*
563+ : S* [ media_query [ ',' S* media_query ]* ]?
564564 ;
565565media_query
566566 : [ONLY | NOT]? S* media_type S* [ AND S* expression ]*
@@ -570,7 +570,7 @@ <h2 id=syntax><span class=secno>3. </span>Syntax</h2>
570570 : IDENT
571571 ;
572572expression
573- : '(' S* media_feature S* [':' S* expr]? ')' S*
573+ : '(' S* media_feature S* [ ':' S* expr ]? ')' S*
574574 ;
575575media_feature
576576 : IDENT
Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ <h2>Syntax</h2>
416416< code > media_list</ code > production from CSS2. [[!CSS21]]</ p >
417417
418418< pre > media_query_list
419- : S* media_query [ ',' S* media_query]*
419+ : S* [ media_query [ ',' S* media_query ]* ]?
420420 ;
421421media_query
422422 : [ONLY | NOT]? S* media_type S* [ AND S* expression ]*
@@ -426,7 +426,7 @@ <h2>Syntax</h2>
426426 : IDENT
427427 ;
428428expression
429- : '(' S* media_feature S* [':' S* expr]? ')' S*
429+ : '(' S* media_feature S* [ ':' S* expr ]? ')' S*
430430 ;
431431media_feature
432432 : IDENT
You can’t perform that action at this time.
0 commit comments