Skip to content

Commit 94684e2

Browse files
committed
[css2] "@charset" does not need to be case-insensitive and does need a space after it.
See http://csswg.inkedblade.net/spec/css2.1@issue-3 --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402790
1 parent a07b260 commit 94684e2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

css2/grammar.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.01//EN">
22
<html lang="en">
3-
<!-- $Id: grammar.src,v 2.49 2007-07-17 03:49:06 fantasai Exp $ -->
3+
<!-- $Id: grammar.src,v 2.50 2007-09-13 04:29:27 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>
@@ -213,7 +213,7 @@ Z z|\\0{0,4}(5a|7a)(\r\n|[ \t\r\n\f])?|\\z
213213
@{I}{M}{P}{O}{R}{T} {return IMPORT_SYM;}
214214
@{P}{A}{G}{E} {return PAGE_SYM;}
215215
@{M}{E}{D}{I}{A} {return MEDIA_SYM;}
216-
@{C}{H}{A}{R}{S}{E}{T} {return CHARSET_SYM;}
216+
"@charset " {return CHARSET_SYM;}
217217

218218
"!"({w}|{comment})*{I}{M}{P}{O}{R}{T}{A}{N}{T} {return IMPORTANT_SYM;}
219219

0 commit comments

Comments
 (0)