Skip to content

Commit 380bec6

Browse files
committed
[css2] Missing commas and other minor editorial corrections.
(With thanks to Gary Schnabl <gSchnabl@swdetroit.com>) --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402943
1 parent 3f707a8 commit 380bec6

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

css2/conform.src

Lines changed: 13 additions & 13 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: conform.src,v 2.85 2008-06-25 16:20:35 bbos Exp $ -->
3+
<!-- $Id: conform.src,v 2.86 2009-05-13 12:59:58 bbos Exp $ -->
44
<HEAD>
55
<TITLE>Conformance: requirements and recommendations</TITLE>
66

@@ -53,7 +53,7 @@ paragraph.</p></div>
5353
<div class=note><p>Notes start with the word "Note," are indented and
5454
shown in green, like this paragraph.</p></div>
5555

56-
<p>Figures are for illustration only, they are not reference
56+
<p>Figures are for illustration only. They are not reference
5757
renderings, unless explicitly stated.
5858

5959
<dl>
@@ -106,7 +106,7 @@ an XML or SGML instance.</dd>
106106
<dt><strong><span class="index-def" title="document language"><a
107107
name="doclanguage">Document language</a></span></strong>
108108

109-
<dd>The encoding language of the source document (e.g., HTML, XHTML or
109+
<dd>The encoding language of the source document (e.g., HTML, XHTML, or
110110
SVG). CSS is used to describe the presentation of document languages
111111
and CSS does not change the underlying semantics of the document
112112
languages.
@@ -131,7 +131,7 @@ have intrinsic dimensions: an intrinsic width, an intrinsic height,
131131
and an intrinsic ratio. For example, a bitmap image has an intrinsic
132132
width and an intrinsic height specified in absolute units (from which
133133
the intrinsic ratio can obviously be determined). On the other hand,
134-
other documents may not have any intrinsic dimensions (for example a
134+
other documents may not have any intrinsic dimensions (for example, a
135135
blank HTML document).
136136

137137
<p>User agents may consider a replaced element to not have any
@@ -177,14 +177,14 @@ title="ignore"><a name="ignore">Ignore</a></span></strong>
177177
specification. First, a CSS parser must follow certain rules when it
178178
discovers unknown or illegal syntax in a style sheet. The parser must
179179
then ignore certain parts of the style sheets. The exact rules for
180-
what parts must be ignored is given in these section: <a
181-
href="syndata.html#declaration">Declarations and properties</a>, <a
180+
which parts must be ignored are described in these sections (<a
181+
href="syndata.html#declaration">Declarations and properties,</a> <a
182182
href="syndata.html#parsing-errors">Rules for handling parsing
183-
errors</a>, <a href="syndata.html#unsupported-values">Unsupported
184-
Values</a>, or may be explained in the text where the term "ignore"
183+
errors,</a> <a href="syndata.html#unsupported-values">Unsupported
184+
Values</a>) or may be explained in the text where the term "ignore"
185185
appears. Second, a user agent may (and, in some cases must) disregard
186-
certain properties or values in the style sheet even if the syntax is
187-
legal. For example, table-column elements can't affect the font of the
186+
certain properties or values in the style sheet, even if the syntax is
187+
legal. For example, table-column elements cannot affect the font of the
188188
column, so the font properties must be ignored.
189189

190190

@@ -289,10 +289,10 @@ class="index-def"><a name="property">Property</a></span></strong>
289289

290290
<dd>CSS defines a finite set of parameters, called properties, that
291291
direct the rendering of a document. Each property has a name (e.g.,
292-
'color', 'font' or border') and a value (e.g., 'red', '12pt Times' or
292+
'color', 'font', or border') and a value (e.g., 'red', '12pt Times', or
293293
'dotted'). Properties are attached to various parts of the document
294294
and to the page on which the document is to be displayed by the
295-
mechanisms of specificity, cascading and inheritance (see the chapter
295+
mechanisms of specificity, cascading, and inheritance (see the chapter
296296
on <a href="cascade.html">Assigning property values, Cascading, and
297297
Inheritance</a>).
298298

@@ -417,7 +417,7 @@ not imply non-conformance. </P>
417417
<p>UAs must allow users to specify a file that contains the user style
418418
sheet. UAs that run on devices without any means of writing or
419419
specifying files are exempted from this requirement. Additionally, UAs
420-
may offer other means to specify user preferences, for example through
420+
may offer other means to specify user preferences, for example, through
421421
a GUI.
422422

423423
<p>CSS&nbsp;2.1 does not define which properties apply to form controls and

css2/syndata.src

Lines changed: 3 additions & 3 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.167 2009-04-20 12:58:25 bbos Exp $ -->
3+
<!-- $Id: syndata.src,v 2.168 2009-05-13 12:59:59 bbos Exp $ -->
44
<head>
55
<title>Syntax and basic data types</title>
66
<meta name="editor" lang="tr" content="Tantek &Ccedil;elik">
@@ -237,7 +237,7 @@ href="#parsing-errors">rules for handling parsing errors</a>. However, because t
237237
<ul>
238238
<li> All CSS syntax is <span class="index-inst" title="case
239239
sensitivity">case-insensitive</span> within the ASCII
240-
range (i.e. [a-z] and [A-Z] are equivalent), except for parts that are
240+
range (i.e., [a-z] and [A-Z] are equivalent), except for parts that are
241241
not under the control of CSS. For example, the case-sensitivity of
242242
values of the HTML attributes "id" and "class", of font names, and
243243
of URIs lies outside the scope of this specification. Note in
@@ -271,7 +271,7 @@ href="#parsing-errors">rules for handling parsing errors</a>. However, because t
271271
</p>
272272
<p>Second, it cancels the meaning of special CSS characters.
273273
Except within CSS comments, any character (except a
274-
hexadecimal digit, linefeed, carriage return or form feed)
274+
hexadecimal digit, linefeed, carriage return, or form feed)
275275
can be escaped
276276
with a backslash to remove its special meaning.
277277
For example, <samp>"\""</samp> is a string consisting of one

0 commit comments

Comments
 (0)