Skip to content

Commit 1d2fb13

Browse files
committed
[css2] Changed declaration-block/declaration to allow for trailing semicolons (comment from Stephen Pemberton). Also (in case the previous change is undone!) small modification to percentage desription
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40695
1 parent fa40156 commit 1d2fb13

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

css2/syndata.src

Lines changed: 11 additions & 9 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: syndata.src,v 1.47 1998-01-22 01:16:41 ijacobs Exp $ -->
3+
<!-- $Id: syndata.src,v 1.48 1998-01-24 00:20:27 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>CSS2 syntax and basic data types</TITLE>
@@ -112,8 +112,9 @@ href="#skip">skips</a></span> the string.
112112

113113
<!-- How are "beginning" and "end" defined? -IJ -->
114114

115-
<P>An <span class="index-def" title="identifier">identifier</span>
116-
consists of letters, digits, hyphens, non-ASCII, and <a
115+
<P>An <span class="index-def" title="identifier"> <a
116+
name="identifier"><dfn>identifier</dfn></a></span> consists of
117+
letters, digits, hyphens, non-ASCII, and <a
117118
href="#escaped-characters">escaped characters.</a>
118119

119120

@@ -264,8 +265,8 @@ declaration block.
264265
title="declaration-block"><dfn>declaration-block</dfn></span> (also
265266
called a {}-block in the following text) starts with a left curly
266267
brace ({) and ends with the matching right curly brace (}). In between
267-
there must be a list of zero or more declarations, separated by
268-
semicolons (;).
268+
there must be a list of one or more semicolon-separated (;)
269+
declarations.
269270

270271
<P>The <span class="index-def"
271272
title="selector"><em>selector</em></span> (see also the section on <a
@@ -317,9 +318,10 @@ a legal CSS2 statement.
317318
name="properties">properties</a></H3>
318319

319320
<P> A <span class="index-def"
320-
title="declaration"><dfn>declaration</dfn></span> consists of a <span
321-
class="index-inst" title="property">property</span>, a colon (:) and a
322-
value. Around each of these there may be <a
321+
title="declaration"><dfn>declaration</dfn></span> is either empty or
322+
consists of a <span class="index-inst"
323+
title="property">property</span>, followed by a colon (:), followed by
324+
a value. Around each of these there may be <a
323325
href="#whitespace">whitespace</a>.
324326

325327
<p>Multiple declarations for the same selector may be
@@ -638,7 +640,7 @@ is an optional sign character ('+' or '-', with '+' being the default)
638640
immediately followed by a number immediately followed by '%'.
639641

640642
<P> Percentage values are always relative to another value, for
641-
example a length unit. Each property that allows percentage units also
643+
example a length. Each property that allows percentages also
642644
defines to which value the percentage refers. When a percentage value
643645
is set for a property of the root of the <a
644646
href="conform.html#doctree">document tree</a> and the percentage is

0 commit comments

Comments
 (0)