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 2.18 1998-05-08 17:56:17 bbos Exp $ -->
3+ <!-- $Id: grammar.src,v 2.19 1998-05-12 14:03:46 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>
@@ -88,14 +88,8 @@ ruleset
8888<span class="index-inst" title="selector">selector</span>
8989 : simple_selector [ combinator simple_selector ]*
9090 ;
91- /*
92- * simple selector cannot start with attrib selector
93- */
9491simple_selector
95- : element_name [ HASH | class | attrib | pseudo ]* S*
96- | HASH [ HASH | class | attrib | pseudo ]* S*
97- | pseudo [ HASH | class | attrib | pseudo ]* S*
98- | class [ HASH | class | attrib | pseudo ]* S*
92+ : element_name? [ HASH | class | attrib | pseudo ]* S*
9993 ;
10094class
10195 : '.' IDENT
You can’t perform that action at this time.
0 commit comments