Skip to content

Commit 74c42b4

Browse files
committed
[css2] Grammar didn't accept ":lang(en)". Now it does.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401675
1 parent 3844c70 commit 74c42b4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

css2/grammar.src

+3-2
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: grammar.src,v 2.16 1998-05-06 02:21:21 ijacobs Exp $ -->
3+
<!-- $Id: grammar.src,v 2.17 1998-05-08 16:31:25 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>
@@ -108,7 +108,8 @@ attrib
108108
[ IDENT | STRING ] S* ]? ']'
109109
;
110110
pseudo
111-
: ':' IDENT [ '(' IDENT ')' ]?
111+
: ':' IDENT
112+
| ':' FUNCTION S* IDENT S* ')'
112113
;
113114
declaration
114115
: property ':' S* expr prio?

0 commit comments

Comments
 (0)