Skip to content

Commit 4d7252c

Browse files
committed
[css2] Edited issues 27, 8, 17
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402644
1 parent 3a7f9d4 commit 4d7252c

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

css2/box.src

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01//EN'>
22

33
<html lang="en">
4-
<!-- $Id: box.src,v 1.63 2006-01-24 06:50:24 bbos Exp $ -->
4+
<!-- $Id: box.src,v 1.64 2007-03-07 16:42:17 bbos Exp $ -->
55
<HEAD>
66
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
77
<TITLE>Box model</TITLE>
@@ -357,7 +357,7 @@ child's bottom margin if the element has no bottom padding or border.
357357

358358
<p>An element's own margins are adjoining if the <span
359359
class="propinst-min-height">'min-height'</span> property is zero, and
360-
it has neither vertical borders nor vertical padding, and it has a
360+
it has neither top or bottom borders nor top or bottom padding, and it has a
361361
<span class="propinst-height">'height'</span> of either 0 or 'auto',
362362
and it does not contain a line box, and all of its in-flow children's
363363
margins (if any) are adjoining.</p>

css2/syndata.src

Lines changed: 7 additions & 7 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.147 2007-02-19 16:45:47 bbos Exp $ -->
3+
<!-- $Id: syndata.src,v 2.148 2007-03-07 16:42:17 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>
@@ -760,7 +760,7 @@ consists of one or more digits "0" to "9". A &lt;number&gt; can either
760760
be an &lt;integer&gt;, or it can be zero or more digits followed by a
761761
dot (.) followed by one or more digits. Both integers and real numbers
762762
may be preceded by a "-" or "+" to indicate the sign.
763-
</p>
763+
-0 is equivalent to 0 and is not a negative number.</p>
764764

765765
<p>Note that many properties that allow an integer or real number as a
766766
value actually restrict the value to some range, often to a
@@ -1186,7 +1186,8 @@ href="colors.html#gamma-correction">gamma correction</a> for further
11861186
details. Note that only colors specified in CSS are affected; e.g.,
11871187
images are expected to carry their own color information.
11881188
</p>
1189-
<p>Values outside the device gamut should be clipped: the red, green,
1189+
<p>Values outside the device gamut should be clipped or
1190+
mapped into the gamut when the gamut is known: the red, green,
11901191
and blue values must be changed to fall within the range supported by
11911192
the device. Users agents may perform higher quality mapping of colors
11921193
from one gamut to another. For a typical CRT monitor, whose device
@@ -1206,10 +1207,9 @@ some colors outside the 0..255 sRGB range will be representable
12061207
(inside the device gamut), while other colors inside the 0..255 sRGB
12071208
range will be outside the device gamut and will thus be mapped.
12081209
</p>
1209-
<div class=note><p><em><strong>Note.</strong> It is thus not possible
1210-
to simply clip all colors to the range 0..255. Clipping (or mapping)
1211-
must be done to the actual device gamut, which may be larger or
1212-
smaller than 0..255.</em>
1210+
<div class=note><p><em><strong>Note.</strong> Mapping or clipping of
1211+
color values should be done to the actual device gamut if known (which
1212+
may be larger or smaller than 0..255).</em>
12131213
</div>
12141214

12151215
<h3><a name="strings">Strings</a></h3>

0 commit comments

Comments
 (0)