File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22<html lang="en">
3- <!-- $Id: grammar.src,v 1.11 1997-10-28 21:21:04 bbos Exp $ -->
3+ <!-- $Id: grammar.src,v 1.12 1997-10-28 23:33:31 bbos Exp $ -->
44<HEAD>
55<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66<TITLE>Appendix D: The grammar of CSS2</TITLE>
@@ -36,10 +36,16 @@ human consumption and some shorthand notation beyond
3636
3737 <PRE>
3838stylesheet
39- : [CDO|CDC]* [ import [CDO|CDC]* ]* [ ruleset [CDO|CDC]* ]*
39+ : [CDO|CDC]* [ import [CDO|CDC]* ]* [ [ ruleset | media ] [CDO|CDC]* ]*
4040 ;
4141import
42- : IMPORT_SYM [STRING|URL] ';' /* E.g., @import url(fun.css); */
42+ : IMPORT_SYM [STRING|URL] medium*';' /* E.g., @import url(fun.css); */
43+ ;
44+ media
45+ : MEDIA_SYM medium+ '{' ruleset* '}'
46+ ;
47+ medium /* e.g., SPEECH */
48+ : IDENT
4349 ;
4450unary_operator
4551 : '-' | '+'
You can’t perform that action at this time.
0 commit comments