11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22<html lang="en">
3- <!-- $Id: grammar.src,v 2.12 1998-03-20 19:22:27 bbos Exp $ -->
3+ <!-- $Id: grammar.src,v 2.13 1998-04-19 23:57:33 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>
@@ -18,9 +18,14 @@ href="./about.html#property-defs">property and value notation</a>,
1818and the unit notation. In
1919addition, the document language may impose restrictions, e.g. HTML
2020imposes restrictions on the possible values of the "class" attribute.
21+
2122<!-- IJ: There used to be a link to "unit notation", but I couldn't
2223find anything in the spec that corresponded. -->
2324
25+ <!-- The words "forward-compatible" no longer appear in syndata.src.
26+ They appear here and in fonts.src. Should be label them in
27+ syndata.src? -IJ -->
28+
2429<h2>Grammar</h2>
2530
2631<P> The grammar below is <span class="index-inst"
@@ -232,8 +237,8 @@ U\+{h}{1,6}-{h}{1,6} {return UNICODERANGE;}
232237CSS1</a></h2>
233238
234239<p>There are some differences in the syntax specified in the CSS1
235- recommendation ([[-CSS1]]), and the one above. Most of these are because
236- of new tokens in CSS2, that didn't exist in CSS1, others are because
240+ recommendation ([[-CSS1]]), and the one above. Most of these are due
241+ to new tokens in CSS2 that didn't exist in CSS1. Others are because
237242the grammar has been rewritten to be more readable. However, there are
238243some incompatible changes, that were felt to be errors in the CSS1
239244syntax. They are explained below.
0 commit comments