Skip to content

Commit 533ce33

Browse files
committed
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402605
1 parent 04c2833 commit 533ce33

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

css2/syndata.src

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: syndata.src,v 2.145 2006-12-12 03:36:50 bbos Exp $ -->
3+
<!-- $Id: syndata.src,v 2.146 2007-01-17 23:16:47 bbos Exp $ -->
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<title>Syntax and basic data types</title>
@@ -420,8 +420,8 @@ a block as defined above.
420420
a declaration block.
421421
</p>
422422
<p> A <span class="index-def"
423-
title="declaration block"><dfn>declaration block</dfn></span> (also
424-
called a declaration block in the following text) starts with a left curly
423+
title="declaration block"><dfn>declaration block</dfn></span>
424+
starts with a left curly
425425
brace ({) and ends with the matching right curly brace (}). In between
426426
there must be a list of zero or more semicolon-separated (;)
427427
declarations.
@@ -1049,12 +1049,12 @@ class="propinst-counter-increment">'counter-increment'</span> and
10491049
properties). To refer to the value of a counter, the notation
10501050
<span class="index-def" title="counter()">
10511051
'counter(&lt;identifier&gt;)'</span> or 'counter(&lt;identifier&gt;,
1052-
&lt;list-style-type&gt;)', with optional whitespace separating the tokens,
1052+
&lt;'list-style-type'&gt;)', with optional whitespace separating the tokens,
10531053
is used. The default style is 'decimal'.
10541054
</p>
10551055
<p>To refer to a sequence of nested counters of the same name, the
10561056
notation is 'counters(&lt;identifier&gt;, &lt;string&gt;)' or
1057-
'counters(&lt;identifier&gt;, &lt;string&gt;, &lt;list-style-type&gt;)'
1057+
'counters(&lt;identifier&gt;, &lt;string&gt;, &lt;'list-style-type'&gt;)'
10581058
with optional whitespace separating the tokens.
10591059
</p>
10601060
<p>See <a href="generate.html#scope">"Nested counters and scope"</a>
@@ -1067,7 +1067,7 @@ convert these values to a string.
10671067
<p>In CSS&nbsp;2.1, the values of counters can
10681068
only be referred to from the <span
10691069
class="propinst-content">'content'</span> property. Note that 'none'
1070-
is a possible &lt;list-style-type&gt;: 'counter(x,
1070+
is a possible &lt;'list-style-type'&gt;: 'counter(x,
10711071
none)' yields an empty string.
10721072
</p>
10731073
<div class="example">
@@ -1200,6 +1200,11 @@ some colors outside the 0..255 sRGB range will be representable
12001200
(inside the device gamut), while other colors inside the 0..255 sRGB
12011201
range will be outside the device gamut and will thus be mapped.
12021202
</p>
1203+
<div class=note><p><em><strong>Note.</strong> It is thus not possible
1204+
to simply clip all colors to the range 0..255. Clipping (or mapping)
1205+
must be done to the actual device gamut, which may be larger or
1206+
smaller than 0..255.</em>
1207+
</div>
12031208

12041209
<h3><a name="strings">Strings</a></h3>
12051210

0 commit comments

Comments
 (0)