Skip to content

Commit cb7e79a

Browse files
committed
[css2] Corrected HTML errors
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%4064
1 parent b24b4b8 commit cb7e79a

4 files changed

Lines changed: 35 additions & 44 deletions

File tree

css2/colors.src

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML SYSTEM "http://www.w3.org/TR/WD-html40/sgml/HTML4.dtd">
22
<html lang="en">
3-
<!-- $Id: colors.src,v 1.13 1997-09-10 22:35:01 ian Exp $ -->
3+
<!-- $Id: colors.src,v 1.14 1997-09-11 18:41:37 ian Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Colors and backgrounds</TITLE>
@@ -19,7 +19,7 @@ repeated it, and declare whether it should be fixed or scrolled.
1919
<P> See the section on <a href="./syndata.html#color-units">color units</a>
2020
for the syntax of legal color values.
2121

22-
<H2><a name="colors">Foreground properties</a>
22+
<H2><a name="colors">Foreground properties</a></H2>
2323

2424
<P> The following property specifies the foreground color of an
2525
element's content. The <span class="propinst-color">'color'</span>
@@ -36,7 +36,7 @@ content. There are different ways to specify red:
3636
EM { color: rgb(255,0,0) } /* RGB range 0-255 */
3737
</PRE>
3838

39-
<H2><a name="background-properties">Background properties</a><H2>
39+
<H2><a name="background-properties">Background properties</a></H2>
4040
Authors may specify the background of an element
4141
(i.e., its rendering surface) as either a color or an image.
4242

css2/cover-info.src

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML SYSTEM "http://www.w3.org/TR/WD-html40/sgml/HTML4.dtd">
22
<html lang="en">
3-
<!-- $Id: cover-info.src,v 1.2 1997-09-07 00:32:04 ian Exp $ -->
3+
<!-- $Id: cover-info.src,v 1.3 1997-09-11 18:42:13 ian Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>CSS2 Specification</TITLE>
@@ -45,7 +45,7 @@ looking at the list of W3C technical reports at &lt;<a
4545
href="http://www.w3.org/TR/">http://www.w3.org/TR/</a>&gt;.
4646

4747
<P>CSS2 replaces CSS1, specified in <a
48-
href=http://www.w3.org/TR/REC-CSS1-961217"">http://www.w3.org/TR/REC-CSS1-961217</a>
48+
href="http://www.w3.org/TR/REC-CSS1-961217">http://www.w3.org/TR/REC-CSS1-961217</a>
4949

5050
<h2>Editors</h2>
5151
<UL>

css2/ui.src

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML SYSTEM "http://www.w3.org/TR/WD-html40/sgml/HTML4.dtd">
22
<html lang="en">
3-
<!-- $Id: ui.src,v 1.7 1997-09-09 00:01:22 ian Exp $ -->
3+
<!-- $Id: ui.src,v 1.8 1997-09-11 18:42:32 ian Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>User interface</TITLE>
@@ -48,8 +48,7 @@
4848
<dd>Help is available for the object under the cursor. Usually a
4949
question mark or a balloon.
5050

51-
<dt><span class="index-inst" title="&lt;url&gt;"><span
52-
class="value-inst-url">&lt;url&gt;</span></span>
51+
<dt><span class="value-inst-url">&lt;url&gt;</span>
5352

5453
<dd>The user agent should retrieve the cursor from the resource
5554
designated by the URL. It is considered an error if the resource is

css2/visudet.src

Lines changed: 28 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML SYSTEM "http://www.w3.org/TR/WD-html40/sgml/HTML4.dtd">
22
<html lang="en">
3-
<!-- $Id: visudet.src,v 1.9 1997-09-08 23:55:58 ian Exp $ -->
3+
<!-- $Id: visudet.src,v 1.10 1997-09-11 18:44:22 ian Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Visual flow model details</TITLE>
@@ -269,20 +269,17 @@ together.
269269
<P> The property sets the distance between two adjacent lines'
270270
baselines.
271271

272-
<P> When a <span class="index-inst" title="&lt;number&gt;"><span
273-
class="value-inst-number">&lt;number&gt;</span></span>, the line
274-
height is given by the font size of the current element multiplied by
275-
the <span class="index-inst" title="&lt;number&gt;"><span
276-
class="value-inst-number">&lt;number&gt;</span></span>. This differs
277-
from a <span class="index-inst" title="&lt;percentage&gt;"><span
278-
class="value-inst-percentage">&lt;percentage&gt;</span></span> value
279-
in the way it inherits: when a <span class="index-inst"
280-
title="&lt;number&gt;"><span
281-
class="value-inst-number">&lt;number&gt;</span></span> value is
282-
specified, child elements will inherit the factor itself, not the
283-
resultant value (as is the case with <span class="index-inst"
284-
title="&lt;percentage&gt;"><span
285-
class="value-inst-percentage">&lt;percentage&gt;</span></span> and other units).
272+
<P> When a <span class="value-inst-number">&lt;number&gt;</span>, the
273+
line height is given by the font size of the current element
274+
multiplied by the <span
275+
class="value-inst-number">&lt;number&gt;</span>. This differs from a
276+
<span class="value-inst-percentage">&lt;percentage&gt;</span> value in
277+
the way it inherits: when a <span
278+
class="value-inst-number">&lt;number&gt;</span> value is specified,
279+
child elements will inherit the factor itself, not the resultant value
280+
(as is the case with <span
281+
class="value-inst-percentage">&lt;percentage&gt;</span> and other
282+
units).
286283

287284
<P> Negative values are not allowed.
288285

@@ -367,10 +364,10 @@ the baseline of the next line should have been. This allows precise
367364
control over the vertical position of elements (such as images that
368365
are used in place of letters) that don't have a baseline.
369366

370-
<div class="note"><P>
371-
<em><strong>Note.</strong> It is expected that a future version of CSS
372-
will allow a <span class="index-inst" title="&lt;length&gt;"><span
373-
class="value-inst-length">&lt;length&gt;</span></span> value for this
367+
<div class="note"><P>
368+
<em><strong>Note.</strong> It is expected that a
369+
future version of CSS will allow a <span
370+
class="value-inst-length">&lt;length&gt;</span> value for this
374371
property.</em>
375372
</div>
376373

@@ -672,12 +669,10 @@ The <span class="index-def" title="&lt;shape&gt;, definition of"><a
672669
have the following values:
673670

674671
<ul>
675-
<li> rect (<span class="index-inst" title="&lt;top&gt;"><span
676-
class="value-inst-top">&lt;top&gt;</span></span>
677-
<span class="index-inst" title="&lt;right&gt;"><span
678-
class="value-inst-right">&lt;right&gt;</span></span>
679-
<span class="index-inst" title="&lt;bottom&gt;"><span
680-
class="value-inst-bottom">&lt;bottom&gt;</span></span> <span class="index-inst" title="&lt;left&gt;"><span class="value-inst-left">&lt;left&gt;</span></span>)
672+
<li> rect (<span class="value-inst-top">&lt;top&gt;</span>
673+
<span class="value-inst-right">&lt;right&gt;</span>
674+
<span class="value-inst-bottom">&lt;bottom&gt;</span>
675+
<span class="value-inst-left">&lt;left&gt;</span>)
681676
</ul>
682677

683678
<P>The value types <span class="index-def" title="&lt;top&gt;,
@@ -692,23 +687,20 @@ have the following values:
692687
class="index-def" title="&lt;left&gt;, definition of"><a
693688
name="value-def-left"
694689
class="value-def">&lt;left&gt;</a></span> may either
695-
have the values <span class="index-inst"
696-
title="&lt;length&gt;"><span
697-
class="value-inst-length">&lt;length&gt;</span></span>
690+
have the values <span
691+
class="value-inst-length">&lt;length&gt;</span>
698692
or 'auto'.
699693

700-
<P>The <span class="index-inst" title="&lt;top&gt;"><span
701-
class="value-inst-top">&lt;top&gt;</span></span> value aligns the top
702-
of the text (or object) with the tallest element on the line that has
703-
baseline positioning.
694+
<P>The <span class="value-inst-top">&lt;top&gt;</span> value aligns
695+
the top of the text (or object) with the tallest element on the line
696+
that has baseline positioning.
704697

705698
<p>Lengths are specified with respect to the element's top-left corner.
706699
Negative values are permitted.
707700

708-
<P>The <span class="index-inst" title="&lt;bottom&gt;"><span
709-
class="value-inst-bottom">&lt;bottom&gt;</span></span> value aligns
710-
the bottom of the text (or object) with the lowest element on the line
711-
that has baseline positioning.
701+
<P>The <span class="value-inst-bottom">&lt;bottom&gt;</span>
702+
value aligns the bottom of the text (or object) with the lowest
703+
element on the line that has baseline positioning.
712704

713705
<P> When converted to pixel coordinates, the bottom-right corner is
714706
excluded from the clipping rectangle. This rule is necessary to permit

0 commit comments

Comments
 (0)