Skip to content

Commit 282bf2d

Browse files
committed
[css2] Deleted RGB S\* entry in term definition; fixed examle to escape number in 55ft class name
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401768
1 parent a530cd1 commit 282bf2d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

css2/grammar.src

Lines changed: 3 additions & 3 deletions
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.19 1998-05-12 14:03:46 bbos Exp $ -->
3+
<!-- $Id: grammar.src,v 2.20 1999-11-02 18:46:17 ijacobs 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>
@@ -118,7 +118,7 @@ term
118118
: unary_operator?
119119
[ NUMBER S* | PERCENTAGE S* | LENGTH S* | EMS S* | EXS S* | ANGLE S* |
120120
TIME S* | FREQ S* | function ]
121-
| STRING S* | IDENT S* | URI S* | RGB S* | UNICODERANGE S* | hexcolor
121+
| STRING S* | IDENT S* | URI S* | UNICODERANGE S* | hexcolor
122122
;
123123
function
124124
: FUNCTION S* expr ')' S*
@@ -265,7 +265,7 @@ example, but not the second.)
265265
it was a dimension (".55in"). In CSS2, such classes are parsed as
266266
unknown dimensions (to allow for future additions of new units). To
267267
make ".55ft" a valid class, CSS2 requires the first digit to be
268-
escaped (".\55ft")
268+
escaped (".\35 5ft")
269269
</ul>
270270

271271

0 commit comments

Comments
 (0)