Skip to content

Commit c46fa1c

Browse files
committed
[css2] Allowed empty selector.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401416
1 parent 9d84327 commit c46fa1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css2/syndata.src

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: syndata.src,v 2.47 1998-03-24 13:01:14 bbos Exp $ -->
3+
<!-- $Id: syndata.src,v 2.48 1998-03-24 14:49:55 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>CSS2 syntax and basic data types</TITLE>
@@ -93,7 +93,7 @@ stylesheet : [ CDO | CDC | S | statement ]*;
9393
statement : ruleset | at-rule;
9494
at-rule : ATKEYWORD S* any* [ block | ';' S* ];
9595
block : '{' S* [ any | block | ATKEYWORD S* | ';' ]* '}' S*;
96-
ruleset : selector '{' S* declaration? [ ';' S* declaration? ]* '}' S*;
96+
ruleset : selector? '{' S* declaration? [ ';' S* declaration? ]* '}' S*;
9797
selector : any+;
9898
declaration : property ':' S* value;
9999
property : IDENT S*;

0 commit comments

Comments
 (0)