Skip to content

Commit 553234d

Browse files
committed
[css2] Removed special flex rule to replace space + comment by space and
instead allowed more than one space (S) token between simple selectors. See http://csswg.inkedblade.net/spec/css2.1#issue-5 --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402791
1 parent 94684e2 commit 553234d

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

css2/grammar.src

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: grammar.src,v 2.50 2007-09-13 04:29:27 bbos Exp $ -->
3+
<!-- $Id: grammar.src,v 2.51 2007-09-13 04:48:24 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Grammar of CSS&nbsp;2.1</TITLE>
@@ -68,7 +68,7 @@ operator
6868
combinator
6969
: PLUS S*
7070
| GREATER S*
71-
| S
71+
| S+
7272
;
7373
unary_operator
7474
: '-' | PLUS
@@ -191,7 +191,6 @@ Z z|\\0{0,4}(5a|7a)(\r\n|[ \t\r\n\f])?|\\z
191191
{s} {return S;}
192192

193193
\/\*[^*]*\*+([^/*][^*]*\*+)*\/ /* ignore comments */
194-
{s}+\/\*[^*]*\*+([^/*][^*]*\*+)*\/ {unput(' '); /*replace by space*/}
195194

196195
"&lt;!--" {return CDO;}
197196
"-->" {return CDC;}

0 commit comments

Comments
 (0)