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.01//EN">
22<html lang="en">
3- <!-- $Id: grammar.src,v 2.60 2009-08-06 19:22:14 bbos Exp $ -->
3+ <!-- $Id: grammar.src,v 2.61 2009-08-31 17:32:27 bbos Exp $ -->
44<HEAD>
55<TITLE>Grammar of CSS 2.1</TITLE>
66</HEAD>
@@ -65,9 +65,8 @@ operator
6565 : '/' S* | ',' S*
6666 ;
6767combinator
68- : S* '+' S*
69- | S* '>' S*
70- | S+
68+ : '+' S*
69+ | '>' S*
7170 ;
7271unary_operator
7372 : '-' | '+'
@@ -80,7 +79,7 @@ ruleset
8079 '{' S* declaration? [ ';' S* declaration? ]* '}' S*
8180 ;
8281<span class="index-inst" title="selector">selector</span>
83- : simple_selector [ combinator simple_selector ]* S*
82+ : simple_selector [ combinator selector | S+ [ combinator? selector ]? ]?
8483 ;
8584simple_selector
8685 : element_name [ HASH | class | attrib | pseudo ]*
You can’t perform that action at this time.
0 commit comments