Skip to content

Commit a1f90eb

Browse files
committed
[css2] Added ending paragraphs
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40637
1 parent 92eb965 commit a1f90eb

15 files changed

+71
-76
lines changed

css2/aural.src

Lines changed: 5 additions & 5 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: aural.src,v 1.13 1997-12-30 14:37:38 ijacobs Exp $ -->
3+
<!-- $Id: aural.src,v 1.14 1998-01-14 17:44:33 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Aural style sheets</TITLE>
@@ -57,7 +57,7 @@ to me (perhaps through the 5 speaker home theater set-up)</i>
5757

5858
<p>Hence, aural or mixed aural/visual presentation is likely to increase
5959
in importance over the next few years. Realizing that the aural
60-
rendering is essentially independent of the visual rendering:
60+
rendering is essentially independent of the visual rendering:</p>
6161

6262
<ul>
6363

@@ -82,7 +82,7 @@ class="propinst-volume">'volume'</span></H3>
8282
<p>Percentage values are calculated relative to the inherited value,
8383
and are then clipped to the range 0 to 100.
8484

85-
<P>There is a fixed mapping between keyword values and volumes:
85+
<P>There is a fixed mapping between keyword values and volumes:</p>
8686

8787
<UL>
8888
<li>'silent' = no sound at all, the element is spoken silently
@@ -105,7 +105,7 @@ range.
105105
100 to be set by the listener. No one setting is universally
106106
applicable; suitable values depend on the equipment in use (speakers,
107107
headphones), the environment (in car, home theater, library) and
108-
personal preferences. Some examples:
108+
personal preferences. Some examples:</p>
109109

110110
<ul>
111111
<li>A browser for in-car use has a setting for when there is lots
@@ -373,7 +373,7 @@ Examples:
373373
do so. If spatial-azimuth is specified and the output device cannot
374374
produce sounds <em>behind</em> the listening position, values in the
375375
rearwards hemisphere should be converted into forwards hemisphere
376-
values. One method is as follows:
376+
values. One method is as follows:</p>
377377

378378
<ul>
379379
<li>if 90deg &lt; x &lt;= 180deg then x := 180deg - x

css2/cascade.src

Lines changed: 5 additions & 5 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: cascade.src,v 1.28 1998-01-12 12:18:51 ijacobs Exp $ -->
3+
<!-- $Id: cascade.src,v 1.29 1998-01-14 17:44:43 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Assigning property values, Cascading, and Inheritance</TITLE>
@@ -28,7 +28,7 @@ necessary.
2828

2929
<P>User agents must first assign a <span class="index-def"
3030
title="specified value">specified value</span> to a property
31-
based on the following mechanisms (in order of precedence):
31+
based on the following mechanisms (in order of precedence):</p>
3232

3333
<ol>
3434
<li>If the <a href="#cascade">cascade</a> results in a value,
@@ -176,7 +176,7 @@ same property.
176176
<H2><a name="cascade">The cascade</a></h2>
177177

178178
<P>Style sheets may have three different origins: author, user, and
179-
user agent.
179+
user agent.</p>
180180

181181
<ul>
182182
<li><strong>Author</strong>. The author specifies style sheets
@@ -228,7 +228,7 @@ the same precedence rules apply.
228228
<H3><a name="cascading-order">Cascading order</a></H3>
229229

230230
<P>To find the value for an element/property combination, user agents
231-
must apply the following algorithm:
231+
must apply the following algorithm:</p>
232232

233233
<OL>
234234
<LI>
@@ -298,7 +298,7 @@ class="propinst-background">'background'</span>) to be important
298298
is equivalent to declaring all of its sub-properties important.
299299

300300
<H3>Cascading order in HTML</H3>
301-
In HTML, a selector's specificity is calculated as follows:
301+
<P>In HTML, a selector's specificity is calculated as follows:</p>
302302

303303
<ul>
304304
<li>(a) count the number of "id" attributes in the selector

css2/changes.src

Lines changed: 2 additions & 7 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: changes.src,v 1.10 1998-01-12 12:19:00 ijacobs Exp $ -->
3+
<!-- $Id: changes.src,v 1.11 1998-01-14 17:44:49 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Appendix B: Changes from CSS1</TITLE>
@@ -20,7 +20,7 @@ descriptions of CSS1 functionality, and changes to CSS1.
2020

2121
<H2>New functionality</H2>
2222

23-
<P>In addition to the functionality of CSS1, CSS2 supports:
23+
<P>In addition to the functionality of CSS1, CSS2 supports:</p>
2424

2525
<UL>
2626

@@ -69,8 +69,6 @@ semantics.
6969

7070
<H2>Changes</H2>
7171

72-
<P>In CSS2
73-
7472
<UL>
7573

7674
<LI>In CSS2 <A HREF="syndata.html#color-units">color values</A> are clipped
@@ -87,9 +85,6 @@ specification reflects this.
8785
<LI>Initial value of 'display' is 'inline', not 'block' as in CSS1.
8886
</UL>
8987

90-
91-
92-
9388
</BODY>
9489
</HTML>
9590

css2/colors.src

Lines changed: 2 additions & 2 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: colors.src,v 1.23 1998-01-12 12:19:09 ijacobs Exp $ -->
3+
<!-- $Id: colors.src,v 1.24 1998-01-14 17:44:56 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Colors and backgrounds</TITLE>
@@ -196,7 +196,7 @@ positions are allowed.
196196
<P> One can also use keyword values to indicate the position of the
197197
background image. Keywords cannot be combined with percentage values,
198198
or length values. The possible combinations of keywords and their
199-
interpretations are as follows:
199+
interpretations are as follows:</p>
200200

201201
<UL>
202202
<LI>

css2/conform.src

Lines changed: 9 additions & 8 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: conform.src,v 1.37 1998-01-13 14:09:11 ijacobs Exp $ -->
3+
<!-- $Id: conform.src,v 1.38 1998-01-14 17:45:07 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Conformance: requirements and recommendations</TITLE>
@@ -46,8 +46,8 @@ inheritance</a>.</P>
4646
<dd>The <span class="index-def" title="valid style sheet">validity</span>
4747
of a style sheet depends on the level of CSS used for the style sheet.
4848

49-
<P>All style sheets of level N-1 are valid level N style sheets. Thus,
50-
all CSS1 style sheets are valid CSS2 style sheets.
49+
<P>All valid level N-1 style sheets are valid level N style sheets. In
50+
particular, all valid CSS1 style sheets are valid CSS2 style sheets.
5151

5252
<P>A valid CSS2 style sheet must respect the <a
5353
href="grammar.html">grammar of CSS2</a> and the <a
@@ -143,7 +143,7 @@ For example, the following HTML document:
143143

144144
<P>results in the following tree:</P>
145145

146-
<IMG src="images/doctree.gif" alt="Sample document tree">
146+
<P><IMG src="images/doctree.gif" alt="Sample document tree"></p>
147147

148148
<P>According to the definition of HTML, HEAD elements will be inferred
149149
during parsing and become part of the document tree even if the HEAD
@@ -162,7 +162,7 @@ or otherwise use a document and its associated style sheets.</dd>
162162
<dt><dfn><strong><a name="user-agent">User agent</a></strong></dfn>
163163
<dd>A <span class="index-def" title="user agent|UA">user
164164
agent</span> is any program that interprets a document written in
165-
the document language and applies associated style sheets by according
165+
the document language and applies associated style sheets according
166166
to the terms of this specification. A user agent may display a
167167
document, read it aloud, cause it to be printed, convert it
168168
to another format, etc.</dd>
@@ -184,7 +184,8 @@ claiming conformance to this specification:</P>
184184
supports.
185185
<li>For each source document, it must retrieve all
186186
associated style sheets that are appropriate for the supported media
187-
types.
187+
types. If a user agent cannot retrieve a specified style sheet,
188+
it should make a best effort to display the document.
188189
<li>It must parse the style sheets according to this specification.
189190
In particular, it must recognize all at-rules, blocks, declarations,
190191
and selectors (see the <a href="grammar.html">grammar of CSS2</a>).
@@ -205,7 +206,7 @@ assign a value for every supported property according to
205206
the rules of <a href="cascade.html">cascading and inheritance</a>.
206207
</ol>
207208

208-
<P>Not every user agent must observe every point, however:
209+
<P>Not every user agent must observe every point, however:</p>
209210

210211
<ul>
211212
<li>A user agent that <em>inputs</em> style sheets must
@@ -227,7 +228,7 @@ not imply non-conformance. </P>
227228

228229
<p>This specification also recommends that a user agent offer the following
229230
functionality to the user (these do not refer to any specific
230-
user interface):
231+
user interface):</p>
231232

232233
<UL>
233234
<LI>Allow the user to specify user style sheets

css2/fonts.src

Lines changed: 14 additions & 14 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: fonts.src,v 1.33 1998-01-08 20:54:04 ijacobs Exp $ -->
3+
<!-- $Id: fonts.src,v 1.34 1998-01-14 17:45:37 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Fonts</TITLE>
@@ -33,7 +33,7 @@ representations, all observing same basic motif according to design,
3333
size, appearance, and other attributes associated with the entire set.
3434

3535
<P>A visual user agent must address the following issues before actually
36-
rendering a character:
36+
rendering a character:</p>
3737

3838
<ul>
3939
<li>Has the author specified a font for this character?
@@ -353,7 +353,7 @@ sometimes <EM>Medium</EM>.
353353
<P> The association of other weights within a family to the numerical
354354
weight values is intended only to preserve the ordering of darkness
355355
within that family. However, the following heuristics tell how the
356-
assignment is done in typical cases:
356+
assignment is done in typical cases:</p>
357357

358358
<UL>
359359
<LI>
@@ -411,7 +411,7 @@ weight values, the matching of 'bolder' is to the next darker face
411411
available on the client within the family and the matching of
412412
'lighter' is to the next lighter face within the family. To be
413413
precise, the meaning of the relative keywords 'bolder' and 'lighter'
414-
is as follows:
414+
is as follows:</p>
415415

416416
<UL>
417417
<LI>
@@ -703,7 +703,7 @@ available fonts, etc. The details of the <a href="#algorithm">font
703703
matching algorithm</a> are provided below.
704704

705705
<P>There are four possible font selection actions:
706-
matching, intelligent matching, synthesis, and download.
706+
matching, intelligent matching, synthesis, and download.</p>
707707

708708
<UL>
709709

@@ -788,7 +788,7 @@ vary from just the name of the font up to a list of glyph
788788
representation widths. This data is a subset of the glyph
789789
representation metrics contained in the font.
790790

791-
<P>Font descriptors may be classified into three types:
791+
<P>Font descriptors may be classified into three types:</p>
792792

793793
<ol>
794794
<li>those that provide the link between the CSS usage of the font and
@@ -950,7 +950,7 @@ same reason).
950950
<p>This is the descriptor for the weight of a face relative to others
951951
in the same font family. It takes the same values as the <span
952952
class="propinst-font-weight">'font-weight'</span> property with three
953-
exceptions:
953+
exceptions:</p>
954954

955955
<ol><li>relative keywords (bolder, lighter) are not permitted
956956
<li>a comma separated list of values is permitted
@@ -1403,7 +1403,7 @@ or alternative stylesheet languages. Fonts retrieved by one medium and
14031403
stored in a proxy cache could be re-used by another medium, saving
14041404
download time and network bandwidth.
14051405

1406-
<p>A non-exhaustive list examples of such media includes:
1406+
<p>A non-exhaustive list examples of such media includes:</p>
14071407

14081408
<ul>
14091409
<li>2-D vector formats
@@ -1614,8 +1614,7 @@ heights, as a means of comparison between font families. The terms
16141614
large-eye, small-eye are also used to indicate the height of lowercase
16151615
glyph representations relative to the height of uppercase.
16161616

1617-
<br>
1618-
<img src="./images/x-height.gif" alt="Illustration of x-height">
1617+
<P><img src="./images/x-height.gif" alt="Illustration of x-height"></p>
16191618

16201619
<p>This descriptor is not useful for fonts that do not contain any glyph
16211620
representations from these scripts. Since the heights of lowercase and
@@ -1624,8 +1623,9 @@ different fonts, it may be useful to set both the lowercase and
16241623
uppercase heights to the same value for unicameral scripts such as
16251624
Hebrew, where for mixed Latin and Hebrew text the Hebrew characters
16261625
are typically set at a height midway between the capital and lowercase
1627-
heights of the Latin font.<br>
1628-
<img src="./images/heb-height-54.gif" alt="Height of Hebrew characters">
1626+
heights of the Latin font.
1627+
1628+
<P><img src="./images/heb-height-54.gif" alt="Height of Hebrew characters"></p>
16291629

16301630
<p>For Type 1 fonts, this value may be obtained from the
16311631
<tt>Bluevalues</tt> entry in the Private dictionary.
@@ -1792,7 +1792,7 @@ results of this matching process are as consistent as possible across
17921792
UAs (assuming that the same library of font faces and font
17931793
descriptions is presented to each of them). This algorithm may be
17941794
optimized, provided that an implementation behaves as if the algorithm
1795-
had been followed exactly.
1795+
had been followed exactly.</p>
17961796

17971797
<OL>
17981798

@@ -1918,7 +1918,7 @@ the CSS2 properties for each character.
19181918
</em>
19191919
</div>
19201920

1921-
<P>The per-descriptor matching rules from (2) above are as follows:
1921+
<P>The per-descriptor matching rules from (2) above are as follows:</p>
19221922

19231923

19241924
<OL>

css2/generate.src

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ seventh chapter title. For audio or braille in particular, user agents
2121
should be able to insert these strings.
2222

2323
<p>The inserted content can consist of fixed strings (e.g., "Figure"),
24-
fixed images (such as an icon: <img src="images/caution.gif"
24+
fixed images (such as an icon: <img id="caution-img" src="images/caution.gif"
2525
alt="caution icon">), or counters that automatically
2626
increment. Combinations are also possible ("Chapter 7").
2727

28-
<P>The following sections describe the mechanisms CSS2 offers
28+
<P>Below we describe the mechanisms CSS2 offers
2929
for specifying generated content.
3030

3131
<h2><a name="before-after-content">The</a> <span class="index-def"
@@ -83,7 +83,7 @@ BODY:after {
8383
property is a sequence of strings, URIs, and counters. The various
8484
parts are laid out as inline boxes inside the element.</p>
8585

86-
<P>The values have the following meanings:
86+
<P>The values have the following meanings:</p>
8787

8888
<ul>
8989
<li><span class="index-def" title="&lt;string&gt;, definition of"><a

css2/lists.src

Lines changed: 4 additions & 4 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: lists.src,v 1.15 1998-01-08 20:16:23 ijacobs Exp $ -->
3+
<!-- $Id: lists.src,v 1.16 1998-01-14 17:46:34 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Lists</TITLE>
@@ -61,7 +61,7 @@ marker will appear next to list items:
6161

6262
<P>The list might be formatted as follows:</P>
6363

64-
<img src="./images/list-none.gif" alt="A list with no markers.">
64+
<P><img src="./images/list-none.gif" alt="A list with no markers."></p>
6565

6666
<P>The illustration shows the relationship between the current left
6767
margin and the margins and padding of the list element (UL) and the
@@ -79,7 +79,7 @@ LI { display: list-item; list-style: square }
7979
placement of the square does not affect the block formatting of the
8080
list item content:</P>
8181

82-
<img src="./images/list-square.gif" alt="A list with square markers.">
82+
<p><img src="./images/list-square.gif" alt="A list with square markers."></p>
8383
</div>
8484

8585
<div class="note"><P>
@@ -222,7 +222,7 @@ For example:
222222

223223
<P> The above example may be formatted as:</P>
224224

225-
<img src="./images/list-inout.gif" alt="Difference between inside and outside list style position">
225+
<P><img src="./images/list-inout.gif" alt="Difference between inside and outside list style position"></p>
226226
</div>
227227

228228
<P>In right-to-left text, the markers would have been on the right

0 commit comments

Comments
 (0)