Skip to content

Commit 6b20462

Browse files
committed
[css2] Punctuation and similar small changes.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402946
1 parent 50fe474 commit 6b20462

18 files changed

+81
-81
lines changed

css2/cascade.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.01//EN">
22
<html lang="en">
3-
<!-- $Id: cascade.src,v 2.65 2008-11-26 15:05:03 bbos Exp $ -->
3+
<!-- $Id: cascade.src,v 2.66 2009-05-15 17:31:38 bbos Exp $ -->
44
<HEAD>
55
<TITLE>Assigning property values, Cascading, and Inheritance</TITLE>
66
</HEAD>
@@ -54,7 +54,7 @@ property. See the section on <a href="#inheritance">inheritance</a>
5454
for the definition of computed values when the specified value is
5555
'inherit'.
5656

57-
<p>The computed value exists even when the property doesn't apply, as
57+
<p>The computed value exists even when the property does not apply, as
5858
defined by the <a href="about.html#applies-to">'Applies To'</a> line.
5959
However, some
6060
properties may define the computed value of a property for an element

css2/changes.src

Lines changed: 12 additions & 12 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: changes.src,v 2.108 2009-04-23 14:40:39 bbos Exp $ -->
3+
<!-- $Id: changes.src,v 2.109 2009-05-15 17:31:38 bbos Exp $ -->
44
<HEAD>
55
<TITLE>Changes</TITLE>
66
</HEAD>
@@ -568,7 +568,7 @@ Text direction</a></h3>
568568
<p>Conforming UAs are now allowed to not support bidirectional text; in
569569
this case they must ignore the 'direction' and 'unicode-bidi' properties.
570570
However since applying bidi can have an effect even when a document
571-
doesn't contain right-to-left characters, UAs that do support bidi are
571+
does not contain right-to-left characters, UAs that do support bidi are
572572
no longer permitted to not apply the algorithm just because the document
573573
lacks right-to-left characters.</p>
574574

@@ -1599,7 +1599,7 @@ Text direction</a></h3>
15991599

16001600
<p>Corrected note about 'direction' on table column elements to say
16011601
that "columns are not the ancestors of the cells in the document tree"
1602-
rather than saying "columns don't exist in the document tree".</p>
1602+
rather than saying "columns do not exist in the document tree".</p>
16031603

16041604
<p>Added table cells, table captions, and inline blocks alongside
16051605
block-level elements in description of 'bidi-override' value. Also
@@ -1661,7 +1661,7 @@ and inline-block elements".</p>
16611661
another DIV was not rendered correctly. The first style rule applied
16621662
to both DIVs, so the second DIV box should have been rendered with a
16631663
red border as well. The second DIV has now been changed to a CITE,
1664-
which doesn't have a red border.
1664+
which does not have a red border.
16651665

16661666
<h3 id="x11.1.2"><a href="visufx.html#clipping">Section 11.1.2 Clipping:
16671667
the 'clip' property</a></h3>
@@ -1677,7 +1677,7 @@ Visibility</a></h3>
16771677
<h3 id="x12.4.2"><a href="generate.html#counter-styles">Section 12.4.2 Counter
16781678
styles</a></h3>
16791679

1680-
<p>The example used the style 'hebrew', which doesn't exist in CSS
1680+
<p>The example used the style 'hebrew', which does not exist in CSS
16811681
level�2. Changed to 'lower-greek'.
16821682

16831683
<h3 id="x12.6.2"><a href="generate.html#list-style">Section 12.6.2 Lists</a></h3>
@@ -1960,7 +1960,7 @@ Integers and real numbers</a></h3>
19601960
<h3 id="r4.3.2"><a href="syndata.html#length-units">Section 4.3.2
19611961
Lengths</a></h3>
19621962

1963-
<p>Clarified that negative length values on properties that don't allow them
1963+
<p>Clarified that negative length values on properties that do not allow them
19641964
cause the declaration to be ignored.</p>
19651965

19661966
<h3 id="r4.3.4"><a href="syndata.html#uri">Section 4.3.4
@@ -2182,7 +2182,7 @@ as that situation is now defined in <a href="box.html#bidi-box-model">section
21822182
<h3 id="r9.4.3"><a href="visuren.html#relative-positioning">Section 9.4.3
21832183
Relative positioning</a></h3>
21842184

2185-
<p>Clarified that although relative positioning normally doesn't
2185+
<p>Clarified that although relative positioning normally does not
21862186
directly affect layout, it may affect layout indirectly through
21872187
the creation of scrollbars.</p>
21882188

@@ -2345,7 +2345,7 @@ different languages are mixed.</p>
23452345
Automatic counters and numbering</a></h3>
23462346

23472347
<p>In the "self-nesting" behavior of counters, clarified that merely
2348-
using a counter in a child element doesn't create a new instance of it:
2348+
using a counter in a child element does not create a new instance of it:
23492349
only resetting it does.</p>
23502350

23512351
<p>Clarified that the scope of a counter does not include any elements
@@ -2378,7 +2378,7 @@ stacking context and referred to z-index property for details.</p>
23782378

23792379
<blockquote><p>Note that there is only <em>one</em> viewport per
23802380
document. I.e., even if an element has a scrolling mechanism (see
2381-
'overflow'), a 'fixed' background doesn't move with it.</blockquote>
2381+
'overflow'), a 'fixed' background does not move with it.</blockquote>
23822382

23832383
<p>Definition of 'background-position' has been rewritten as normative rules
23842384
rather than just examples.</p>
@@ -2796,7 +2796,7 @@ Rule sets, declaration blocks, and selectors</a></h3>
27962796
<p><span class=date>[2008-11-26]</span> More precise statement of what
27972797
is ignored:
27982798

2799-
<blockquote><p>When a user agent can't parse the selector (i.e., it is
2799+
<blockquote><p>When a user agent cannot parse the selector (i.e., it is
28002800
not valid CSS&nbsp;2.1), it must ignore the <ins>selector and the
28012801
following</ins> declaration block <ins>(if any)</ins> as
28022802
well.</blockquote>
@@ -3251,7 +3251,7 @@ Section 10.3.2 Inline, replaced elements</a></h3>
32513251
follows:
32523252

32533253
<blockquote><p>If it does, <del>then a percentage intrinsic width on
3254-
that element can't be resolved and the element is assumed to have no
3254+
that element cannot be resolved and the element is assumed to have no
32553255
intrinsic width</del> <ins>then the resulting layout is undefined in
32563256
CSS2.1</ins>.</blockquote>
32573257

@@ -3588,7 +3588,7 @@ sheet</a></h3>
35883588

35893589
<p><span class=date>[2009-02-02]</span> <p>Remove sections 13.2.1.1
35903590
and 13.2.1.2. (The described situations cannot occur in CSS&nbsp;2.1,
3591-
because CSS&nbsp;2.1 doesn't have a 'size' property.)
3591+
because CSS&nbsp;2.1 does not have a 'size' property.)
35923592

35933593
<!--========================== issue 76 ===========================-->
35943594

css2/colors.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: colors.src,v 2.53 2009-04-15 13:26:27 bbos Exp $ -->
3+
<!-- $Id: colors.src,v 2.54 2009-05-15 17:31:38 bbos Exp $ -->
44
<head>
55
<title>Colors and backgrounds</title>
66
<meta name="editor" lang="tr" content="Tantek &Ccedil;elik">
@@ -231,8 +231,8 @@ href="visuren.html#viewport">viewport</a> ('fixed') or scrolls along
231231
with the containing block ('scroll').</p>
232232

233233
<p>Note that there is only one viewport per view. If an element has
234-
a scrolling mechanism (see 'overflow'), a 'fixed' background doesn't
235-
move with the element, and a 'scroll' background doesn't move with
234+
a scrolling mechanism (see 'overflow'), a 'fixed' background does not
235+
move with the element, and a 'scroll' background does not move with
236236
the scrolling mechanism.</p>
237237

238238
<p>Even if the image is fixed, it is still only visible when it is in

css2/fonts.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.01//EN">
22
<html lang="en">
3-
<!-- $Id: fonts.src,v 2.94 2009-02-23 21:08:16 bbos Exp $ -->
3+
<!-- $Id: fonts.src,v 2.95 2009-05-15 17:31:38 bbos Exp $ -->
44
<head>
55
<title>Fonts</title>
66
<meta name="editor" lang="tr" content="Tantek &Ccedil;elik">
@@ -62,7 +62,7 @@ processed by step 2, and if there is a next alternative 'font-family'
6262
in the font set, then repeat step 2 with the next alternative
6363
'font-family'.
6464
</li>
65-
<li>If there is a matching font face, but it doesn't contain a glyph
65+
<li>If there is a matching font face, but it does not contain a glyph
6666
for the current character, and if there is a next alternative
6767
'font-family' in the font sets, then repeat step 2 with the next
6868
alternative 'font-family'.

css2/generate.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ class="value-inst-no-close-quote"><strong>no-close-quote</strong></span></span>
218218
<dd>This function returns as a string the value of attribute X
219219
for the subject of the selector. The
220220
string is not parsed by the CSS processor. If the subject of the selector
221-
doesn't have an attribute X, an empty string is returned. The
221+
does not have an attribute X, an empty string is returned. The
222222
case-sensitivity of attribute names depends on the document language.
223223
</dl>
224224

css2/grammar.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: grammar.src,v 2.58 2009-04-09 17:10:27 bbos Exp $ -->
3+
<!-- $Id: grammar.src,v 2.59 2009-05-15 17:31:38 bbos Exp $ -->
44
<HEAD>
55
<TITLE>Grammar of CSS&nbsp;2.1</TITLE>
66
</HEAD>
@@ -22,7 +22,7 @@ the "class" attribute.
2222

2323
<P> The grammar below is <span class="index-inst"
2424
title="LALR(1)">LALR(1)</span> (but note that most UA's should not use it
25-
directly, since it doesn't express the <a
25+
directly, since it does not express the <a
2626
href="syndata.html#parsing-errors">parsing conventions</a>, only the
2727
CSS&nbsp;2.1 syntax). The format of the productions is optimized for human
2828
consumption and some shorthand notation beyond Yacc (see [[YACC]]) is
@@ -248,7 +248,7 @@ CSS1</a></h2>
248248

249249
<p>There are some differences in the syntax specified in the CSS1
250250
recommendation ([[-CSS1]]), and the one above. Most of these are due
251-
to new tokens in CSS2 that didn't exist in CSS1. Others are because
251+
to new tokens in CSS2 that did not exist in CSS1. Others are because
252252
the grammar has been rewritten to be more readable. However, there are
253253
some incompatible changes, that were felt to be errors in the CSS1
254254
syntax. They are explained below.

css2/images/longdesc/pixel1-desc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <h1>Long description for the illustration of a pixel's definition</h1>
1515
<P>The image depicts the user looking at two planes, one 28 inches (71
1616
cm) from the user, the second 140 inches (3.5 m) from the user. An
1717
expanding cone is projected from the user's eye onto each plane. Where
18-
the cone strikes the first plane, the projected pixel is .28 mm
18+
the cone strikes the first plane, the projected pixel is 0.26 mm
1919
high. Where the cone strikes the second plane, the projected pixel is
2020
1.4mm high.
2121

css2/images/pixel1.idraw

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ Helvetica 14 SetF
728728
[ 1 0 0 1 293 580 ] concat
729729
%I
730730
[
731-
(28 inch)
731+
(28 inches)
732732
(71 cm)
733733
] Text
734734
End
@@ -757,7 +757,7 @@ Helvetica 14 SetF
757757
[ 1 0 0 1 361 522 ] concat
758758
%I
759759
[
760-
(140 inch)
760+
(140 inches)
761761
(3.5 m)
762762
] Text
763763
End

css2/intro.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.01//EN">
22
<html lang="en">
3-
<!-- $Id: intro.src,v 2.50 2009-05-12 11:47:41 bbos Exp $ -->
3+
<!-- $Id: intro.src,v 2.51 2009-05-15 17:31:38 bbos Exp $ -->
44
<HEAD>
55
<TITLE>Introduction to CSS&nbsp;2.1</TITLE>
66
</HEAD>
@@ -158,7 +158,7 @@ semicolons, though the last declaration may also be followed by a
158158
semicolon.
159159

160160
<P>The first declaration on the BODY element sets the font family to
161-
"Gill Sans". If that font isn't available, the user agent (often
161+
"Gill Sans". If that font is not available, the user agent (often
162162
referred to as a "browser") will use the 'sans-serif' font family
163163
which is one of five generic font families which all users agents
164164
know. Child elements of BODY will inherit the value of the <span
@@ -181,7 +181,7 @@ element are three times wider than the font size.
181181
<P>CSS can be used with any structured document format, for example
182182
with applications of the eXtensible Markup Language [[-XML10]]. In
183183
fact, XML depends more on style sheets than HTML, since authors can
184-
make up their own elements that user agents don't know how to
184+
make up their own elements that user agents do not know how to
185185
display.
186186

187187
<P>Here is a simple XML fragment:
@@ -240,7 +240,7 @@ a processing instruction:
240240
<P>Notice that the word "flute" remains within the paragraph since it
241241
is the content of the inline element INSTRUMENT.
242242

243-
<P>Still, the text isn't formatted the way you would expect. For
243+
<P>Still, the text is not formatted the way you would expect. For
244244
example, the headline font size should be larger than then the rest of
245245
the text, and you may want to display the author's name in italic:</P>
246246

@@ -375,7 +375,7 @@ interface</a>).
375375
<LI>
376376
<P><STRONG>Forward and backward compatibility</STRONG>. CSS&nbsp;2.1 user
377377
agents will be able to understand CSS1 style sheets. CSS1 user agents
378-
will be able to read CSS&nbsp;2.1 style sheets and discard parts they don't
378+
will be able to read CSS&nbsp;2.1 style sheets and discard parts they do not
379379
understand. Also, user agents with no CSS support will be able to
380380
display style-enhanced documents. Of course, the stylistic
381381
enhancements made possible by CSS will not be rendered, but all

css2/media.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.01//EN">
22
<html lang="en">
3-
<!-- $Id: media.src,v 2.44 2008-12-02 18:50:38 bbos Exp $ -->
3+
<!-- $Id: media.src,v 2.45 2009-05-15 17:31:38 bbos Exp $ -->
44
<HEAD>
55
<TITLE>Media types</TITLE>
66
</HEAD>
@@ -253,7 +253,7 @@ devices that allow user interaction), or
253253
<span
254254
class="index-def" title="'static' media group"><a
255255
name="static-media-group"><strong>static</strong></a></span> (for
256-
those that don't).
256+
those that do not).
257257

258258
<li><span class="index-def" title="'all'
259259
media group"> <a name="all-media-group"><strong>all</strong></a></span>

css2/page.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.01//EN">
22
<html lang="en">
3-
<!-- $Id: page.src,v 2.60 2009-04-15 13:26:27 bbos Exp $ -->
3+
<!-- $Id: page.src,v 2.61 2009-05-15 17:31:38 bbos Exp $ -->
44
<HEAD>
55
<TITLE>Paged media</TITLE>
66
</HEAD>
@@ -204,7 +204,7 @@ the page box:</p>
204204
pages to "bleed".
205205

206206
<li>User agents should avoid generating a large number of empty page
207-
boxes to honor the positioning of elements (e.g., you don't want to
207+
boxes to honor the positioning of elements (e.g., you do not want to
208208
print 100 blank pages).
209209

210210
<li>Authors should not position elements in inconvenient locations
@@ -359,7 +359,7 @@ class="propinst-page-break-inside">'page-break-inside'</span> property
359359
of the element and all its ancestors is 'auto'.
360360
</ul>
361361

362-
<p>If the above doesn't provide enough break points to keep content
362+
<p>If the above does not provide enough break points to keep content
363363
from overflowing the page boxes, then rules A, B and D are dropped in
364364
order to find additional breakpoints.
365365

@@ -386,7 +386,7 @@ that they are sometimes contradictory):</p>
386386

387387
<ul>
388388
<li>Break as few times as possible.
389-
<li>Make all pages that don't end with a forced break appear to have about
389+
<li>Make all pages that do not end with a forced break appear to have about
390390
the same height.
391391
<li>Avoid breaking inside a replaced element.
392392
</ul>

css2/selector.src

Lines changed: 8 additions & 8 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: selector.src,v 2.113 2009-04-15 07:25:26 bbos Exp $ -->
3+
<!-- $Id: selector.src,v 2.114 2009-05-15 17:31:38 bbos Exp $ -->
44
<head>
55
<title>Selectors</title>
66
</head>
@@ -881,12 +881,12 @@ focus (accepts keyboard events or other forms of text input).
881881

882882
<p>An element may match several pseudo-classes at the same time.
883883

884-
<p>CSS doesn't define which elements may be in the above states, or
884+
<p>CSS does not define which elements may be in the above states, or
885885
how the states are entered and left. Scripting may change whether
886886
elements react to user events or not, and different devices and UAs
887887
may have different ways of pointing to, or activating elements.
888888

889-
<p>CSS&nbsp;2.1 doesn't define if the parent of an element that is
889+
<p>CSS&nbsp;2.1 does not define if the parent of an element that is
890890
':active' or ':hover' is also in that state.
891891

892892
<p>User agents are not required to reflow a currently displayed
@@ -971,7 +971,7 @@ being either equal to, or a hyphen-separated substring of, the
971971
element's language value, in the same way as if performed by the <a
972972
href="#attribute-selectors">'|='</a> operator. The matching of C
973973
against the element's language value is performed case-insensitively.
974-
The identifier C doesn't have to be a valid language name.</p>
974+
The identifier C does not have to be a valid language name.</p>
975975

976976
<p>C must not be empty.
977977

@@ -1120,7 +1120,7 @@ etcetera&lt;/DIV&gt;</code> the first formatted line of the DIV is not
11201120
the line "Hello".
11211121

11221122
<p class="note">Note that the first line of the P in this fragment:
1123-
<code>&lt;p&gt&lt;br&gt;First...</code> doesn't contain any letters
1123+
<code>&lt;p&gt&lt;br&gt;First...</code> does not contain any letters
11241124
(assuming the default style for BR in HTML 4). The word "First" is
11251125
not on the first formatted line.
11261126

@@ -1199,7 +1199,7 @@ have specific properties that apply to first-letter.
11991199
<p>This example shows a possible rendering of an initial cap. Note
12001200
that the 'line-height' that is inherited by the first-letter
12011201
pseudo-element is 1.1, but the UA in this example has computed the
1202-
height of the first letter differently, so that it doesn't cause any
1202+
height of the first letter differently, so that it does not cause any
12031203
unnecessary space between the first two lines. Also note that the
12041204
fictional start tag of the first letter is inside the SPAN, and thus
12051205
the font weight of the first letter is normal, not bold as the SPAN:
@@ -1313,12 +1313,12 @@ fragment:
13131313
first letter of an ancestor element. Thus, in <code>&lt;DIV&gt;&lt;P
13141314
STYLE="display: inline-block">Hello&lt;BR&gt;Goodbye&lt;/P&gt;
13151315
etcetera&lt;/DIV&gt;</code> the first letter of the DIV is not the
1316-
letter "H". In fact, the DIV doesn't have a first letter.
1316+
letter "H". In fact, the DIV does not have a first letter.
13171317

13181318
<p>The first letter must occur on the <a
13191319
href="#first-formatted-line">first formatted line.</a> For example, in
13201320
this fragment: <code>&lt;p&gt&lt;br&gt;First...</code> the first line
1321-
doesn't contain any letters and ':first-letter' doesn't match anything
1321+
does not contain any letters and ':first-letter' does not match anything
13221322
(assuming the default style for BR in HTML 4). In particular, it
13231323
does not match the "F" of "First."
13241324

0 commit comments

Comments
 (0)