Skip to content

Commit ef5202f

Browse files
committed
[css2] Added 2 paras about integer and number syntax.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40176
1 parent 28b0fcc commit ef5202f

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

css2/syndata.src

Lines changed: 11 additions & 1 deletion
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.14 1997-09-24 22:05:03 ian Exp $ -->
3+
<!-- $Id: syndata.src,v 1.15 1997-09-30 18:29:28 bbos 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>
@@ -312,6 +312,16 @@ to:
312312
class="value-def">&lt;number&gt;</a></span> in this
313313
specification. A number may or may not have a decimal point.
314314

315+
<P>In CSS2, numbers and integers are in decimal notation only. An
316+
&lt;integer> consists of one or more digits "0" to "9". A &lt;number>
317+
can either be an &lt;integer>, or it can be zero of more digits
318+
followed by a dot followed by one or more digits. Both integers and
319+
numbers may be preceded by a "-" or "+" to indicate the sign.
320+
321+
<P>Note that many properties that allow a number or integer as value
322+
actually restrict the value to some range, often to a non-negative
323+
value.
324+
315325
<H3><A NAME="length-units">Lengths</A></H3>
316326

317327
<P> The format of a length value (denoted by <span class="index-def"

0 commit comments

Comments
 (0)