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.45 2006-04-06 21:32:24 bbos Exp $ -->
3+ <!-- $Id: grammar.src,v 2.46 2006-05-09 14:09:23 bbos Exp $ -->
44<HEAD>
55<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66<TITLE>Grammar of CSS 2.1</TITLE>
@@ -165,7 +165,7 @@ string {string1}|{string2}
165165invalid {invalid1}|{invalid2}
166166url ([!#$%&*-~]|{nonascii}|{escape})*
167167s [ \t\r\n\f]
168- w ( {s}|{comment}) *
168+ w {s}*
169169nl \n|\r\n|\r|\f
170170
171171A a|\\0{0,4}(41|61)(\r\n|[ \t\r\n\f])?
@@ -214,7 +214,7 @@ Z z|\\0{0,4}(5a|7a)(\r\n|[ \t\r\n\f])?|\\z
214214"@media" {return MEDIA_SYM;}
215215"@charset " {return CHARSET_SYM;}
216216
217- "!"{w}"important" {return IMPORTANT_SYM;}
217+ "!"( {w}|{comment})* "important" {return IMPORTANT_SYM;}
218218
219219{num}{E}{M} {return EMS;}
220220{num}{E}{X} {return EXS;}
You can’t perform that action at this time.
0 commit comments