8000 [css2] Added some commas. · w3c/csswg-drafts@aa11182 · GitHub
Skip to content

Commit aa11182

Browse files
committed
[css2] Added some commas.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402948
1 parent 8e8b778 commit aa11182

8 files changed

Lines changed: 34 additions & 34 deletions

File tree

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.66 2009-05-15 17:31:38 bbos Exp $ -->
3+
<!-- $Id: cascade.src,v 2.67 2009-05-19 17:25:35 bbos Exp $ -->
44
<HEAD>
55
<TITLE>Assigning property values, Cascading, and Inheritance</TITLE>
66
</HEAD>
@@ -258,7 +258,7 @@ browsers, the EM element in HTML is presented using an italic
258258
font). See <a href="sample.html">A sample style sheet for HTML
259259
</a> for a recommended default style sheet for HTML documents.
260260

261-
<p class="note">Note that the user may modify system settings (e.g.
261+
<p class="note">Note that the user may modify system settings (e.g.,
262262
system colors) that affect the default style sheet. However, some user
263263
agent implementations make it impossible to change the values in the
264264
default style sheet.

css2/changes.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: changes.src,v 2.109 2009-05-15 17:31:38 bbos Exp $ -->
3+
<!-- $Id: changes.src,v 2.110 2009-05-19 17:25:35 bbos Exp $ -->
44
<HEAD>
55
<TITLE>Changes</TITLE>
66
</HEAD>
@@ -150,7 +150,7 @@ range allowed by Unicode.</p>
150150
<p>CSS is no longer case-insensitive, but case-sensitive with
151151
exceptions. Changed "All CSS style sheets are case-insensitive, except
152152
for parts that are not under the control of CSS" to "All CSS syntax is
153-
case-insensitive within the ASCII range (i.e. [a-z] and [A-Z] are
153+
case-insensitive within the ASCII range (i.e., [a-z] and [A-Z] are
154154
equivalent), except for parts that are not under the control of CSS."
155155
See also the change to case-sensitivity of counters in <a
156156
href="#c4.3.5">4.3.5.</a>
@@ -1891,7 +1891,7 @@ presentation of a document language, and has no effect on its semantics.</p>
18911891

18921892
<p>Changed definition of 'replaced element' to "an element whose content
18931893
is outside the scope of the CSS formatting model" and added further clarifying
1894-
text. This clarifies that e.g. SVG images embedded in an XML document are
1894+
text. This clarifies that e.g., SVG images embedded in an XML document are
18951895
also considered replaced elements, not just those linked in from an outside
18961896
file. Also changed definition of 'rendered content' to be consistent with this
18971897
clarification.</p>
@@ -2739,7 +2739,7 @@ Section&nbsp;4.1.3 Characters and case</a></h3>
27392739
except for certain parts:
27402740

27412741
<blockquote><p>All CSS syntax is case-insensitive <ins>within the
2742-
ASCII range (i.e. [a-z] and [A-Z] are equivalent)</ins>, except for
2742+
ASCII range (i.e., [a-z] and [A-Z] are equivalent)</ins>, except for
27432743
parts that are not under the control of CSS.</blockquote>
27442744

27452745
<!--========================== issue 66 ===========================-->

css2/cover.src

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,12 @@ conditions must be met:</p>
200200
<p>a user agent which:</p>
201201
<ol>
202202
<li>implements the feature.</li>
203-
<li>is available (i.e. publicly downloadable or available
203+
<li>is available (i.e., publicly downloadable or available
204204
through some other public point of sale mechanism). This is the
205205
"show me" requirement.</li>
206-
<li>is shipping (i.e. development, private or unofficial
206+
<li>is shipping (i.e., development, private or unofficial
207207
versions are insufficient).</li>
208-
<li>is not experimental (i.e. is intended for a wide audience
208+
<li>is not experimental (i.e., is intended for a wide audience
209209
and could be used on a daily basis).</li>
210210
</ol>
211211
</dd>

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.01//EN">
22
<html lang="en">
3-
<!-- $Id: fonts.src,v 2.95 2009-05-15 17:31:38 bbos Exp $ -->
3+
<!-- $Id: fonts.src,v 2.96 2009-05-19 17:25:35 bbos Exp $ -->
44
<head>
55
<title>Fonts</title>
66
<meta name="editor" lang="tr" content="Tantek &Ccedil;elik">
@@ -25,7 +25,7 @@ body>del,body>ins {display:block}
2525
<p>Setting font properties will be among the most common uses of style
2626
sheets. Unfortunately, there exists no well-defined and universally
2727
accepted taxonomy for classifying fonts, and terms that apply to one
28-
font family may not be appropriate for others. E.g. 'italic' is
28+
font family may not be appropriate for others. E.g., 'italic' is
2929
commonly used to label slanted text, but slanted text may also be
3030
labeled as being <em>Oblique, Slanted, Incline, Cursive</em> or
3131
<em>Kursiv</em>. Therefore it is not a simple problem to map typical
@@ -104,7 +104,7 @@ never fail. (See 'font-weight' below.)
104104
<li><span class="propinst-font-size">'font-size'</span> must be matched within a
105105
UA-dependent margin of tolerance. (Typically, sizes for scalable fonts
106106
are rounded to the nearest whole pixel, while the tolerance for
107-
bitmapped fonts could be as large as 20%.) Further computations, e.g.
107+
bitmapped fonts could be as large as 20%.) Further computations, e.g.,
108108
by 'em' values in other properties, are based on
109109
the computed value of 'font-size'.
110110
</li>
@@ -148,15 +148,15 @@ following generic families are defined:
148148

149149
<ul>
150150

151-
<li>'serif' (e.g. Times)</li>
151+
<li>'serif' (e.g., Times)</li>
152152

153-
<li>'sans-serif' (e.g. Helvetica)</li>
153+
<li>'sans-serif' (e.g., Helvetica)</li>
154154

155-
<li>'cursive' (e.g. Zapf-Chancery)</li>
155+
<li>'cursive' (e.g., Zapf-Chancery)</li>
156156

157-
<li>'fantasy' (e.g. Western)</li>
157+
<li>'fantasy' (e.g., Western)</li>
158158

159-
<li>'monospace' (e.g. Courier)</li>
159+
<li>'monospace' (e.g., Courier)</li>
160160

161161
</ul>
162162

@@ -183,7 +183,7 @@ body { font-family: "New Century Schoolbook", serif }
183183
the font name are ignored and any sequence of white space characters
184184
inside the font name is converted to a single space.
185185

186-
Font family <em>names</em> that happen to be the same as a keyword value (e.g. 'initial', 'inherit', 'default', 'serif', 'sans-serif', 'monospace', 'fantasy', and 'cursive') must be quoted to prevent confusion with the keywords with the same names. UAs must not consider these keywords as matching the '&lt;family-name&gt;' type.
186+
Font family <em>names</em> that happen to be the same as a keyword value (e.g., 'initial', 'inherit', 'default', 'serif', 'sans-serif', 'monospace', 'fantasy', and 'cursive') must be quoted to prevent confusion with the keywords with the same names. UAs must not consider these keywords as matching the '&lt;family-name&gt;' type.
187187
</p>
188188

189189

@@ -447,7 +447,7 @@ assignment is done in typical cases:
447447
</p>
448448
<ul>
449449
<li>If the font family already uses a numerical scale with nine values
450-
(like e.g. <em>OpenType</em> does), the font weights should be mapped
450+
(like e.g., <em>OpenType</em> does), the font weights should be mapped
451451
directly.
452452
</li>
453453
<li>If there is both a face labeled <em>Medium</em> and one labeled
@@ -593,7 +593,7 @@ sizes computed and kept by the UA. Possible values are:
593593

594594
<p class="note">Note: implementation experience has demonstrated that a fixed ratio between adjacent absolute-size keywords is problematic, and this specification does NOT recommend such a fixed ratio, in contrast to previous specifications (<a href="http://www.w3.org/TR/REC-CSS1#font-size">CSS1 suggested 1.5</a>, and <a href="http://www.w3.org/TR/REC-CSS2/fonts.html#font-size-props">CSS2 suggested 1.2</a>).</p>
595595

596-
<p>Implementors should build a table of scaling factors for absolute-size keywords relative to the 'medium' font size and the particular device and its characteristics (e.g. the resolution of the device).
596+
<p>Implementors should build a table of scaling factors for absolute-size keywords relative to the 'medium' font size and the particular device and its characteristics (e.g., the resolution of the device).
597597
</p>
598598

599599
<p>
@@ -608,9 +608,9 @@ these guidelines should nevertheless avoid creating font-size resulting
608608
in less than 9 pixels per EM unit on a computer display.</em></p>
609609

610610
<p class="note"><em><strong>Note 2.</strong> In CSS1, the suggested
611-
scaling factor between adjacent indexes was 1.5 which user experience
612-
proved to be too large. In CSS2, the suggested scaling factor for computer
613-
screen between adjacent indexes was 1.2 which still created issues for the small
611+
scaling factor between adjacent indexes was 1.5, which user experience
612+
proved to be too large. In CSS2, the suggested scaling factor for a computer
613+
screen between adjacent indexes was 1.2, which still created issues for the small
614614
sizes. The new scaling factor varies between each index to provide better
615615
readability.</em></p>
616616

css2/selector.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: selector.src,v 2.114 2009-05-15 17:31:38 bbos Exp $ -->
3+
<!-- $Id: selector.src,v 2.115 2009-05-19 17:25:35 bbos Exp $ -->
44
<head>
55
<title>Selectors</title>
66
</head>
@@ -472,7 +472,7 @@ EXAMPLE[notation=octal] { /*... other settings...*/ }
472472
</pre>
473473

474474
<p>the first rule will not match elements whose "notation" attribute
475-
is set by default, i.e. not set explicitly. To catch all cases, the
475+
is set by default, i.e., not set explicitly. To catch all cases, the
476476
attribute selector for the default value must be dropped:</p>
477477

478478
<pre class="example">
@@ -502,7 +502,7 @@ period (.) notation in XML documents if the UA has namespace specific
502502
knowledge that allows it to determine which attribute is the
503503
&quot;class&quot; attribute for the respective namespace. One such
504504
example of namespace specific knowledge is the prose in the
505-
specification for a particular namespace (e.g. SVG 1.1 [[-SVG11]]
505+
specification for a particular namespace (e.g., SVG 1.1 [[-SVG11]]
506506
describes the <a
507507
href="http://www.w3.org/TR/2003/REC-SVG11-20030114/styling.html#ClassAttribute">SVG
508508
&quot;class&quot; attribute</a> and how a UA should interpret it, and

css2/text.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: text.src,v 2.68 2009-05-15 17:31:39 bbos Exp $ -->
3+
<!-- $Id: text.src,v 2.69 2009-05-19 17:25:35 bbos Exp $ -->
44
<head>
55
<title>Text</title>
66
<meta http-equiv="Content-Style-Type" content="text/css">
@@ -447,7 +447,7 @@ character surrounding a linefeed (U+000A) character is removed if
447447
<li>If 'white-space' is set to 'normal' or 'nowrap', linefeed
448448
characters are transformed for rendering purpose into one of the
449449
following characters: a space character, a zero width space
450-
character (U+200B), or no character (i.e. not rendered),
450+
character (U+200B), or no character (i.e., not rendered),
451451
according to UA-specific algorithms based on the content script.
452452
</li>
453453
<li>If 'white-space' is set to 'normal', 'nowrap', or 'pre-line',

css2/visufx.src

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,10 +301,10 @@ element's border box remain hidden when these values are 'auto'.
301301
</dd>
302302
</dl>
303303

304-
<p>An element's clipping region clips out any aspect of the element (e.g. content, children, background, borders, text decoration, outline and visible scrolling mechanism &mdash; if any) that is outside the clipping region.
304+
<p>An element's clipping region clips out any aspect of the element (e.g., content, children, background, borders, text decoration, outline and visible scrolling mechanism &mdash; if any) that is outside the clipping region.
305305
Content that has been clipped does not cause overflow.
306306
</p>
307-
<p>The element's ancestors may also clip portions of their content (e.g. via their own <span class="propinst-clip">'clip'</span> property and/or if
307+
<p>The element's ancestors may also clip portions of their content (e.g., via their own <span class="propinst-clip">'clip'</span> property and/or if
308308
their <span class="propinst-overflow">'overflow'</span> property is
309309
not 'visible'); what is rendered is the cumulative intersection.
310310
</p>

css2/visuren.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: visuren.src,v 2.153 2009-05-15 17:31:39 bbos Exp $ -->
3+
<!-- $Id: visuren.src,v 2.154 2009-05-19 17:25:35 bbos Exp $ -->
44
<head>
55
<title>Visual formatting model</title>
66
<meta name="editor" lang="tr" content="Tantek &Ccedil;elik">
@@ -201,7 +201,7 @@ another anonymous block box around C2.
201201
</p></div>
202202

203203
<p>The properties of anonymous boxes are inherited from the
204-
enclosing non-anonymous box (e.g. in the example just below the subsection heading "Anonymous block boxes", the one for DIV).
204+
enclosing non-anonymous box (e.g., in the example just below the subsection heading "Anonymous block boxes", the one for DIV).
205205
Non-inherited properties have their initial value. For example,
206206
the font of the anonymous box is inherited from the DIV, but the
207207
margins will be 0.
@@ -215,7 +215,7 @@ line) and C2 (open at the start of the line).
215215
</p>
216216
<p>
217217
Some user agents have implemented borders on inlines containing
218-
blocks in other ways, e.g. by wrapping such nested blocks inside
218+
blocks in other ways, e.g., by wrapping such nested blocks inside
219219
"anonymous line boxes" and thus drawing inline borders around such
220220
boxes. As CSS1 and CSS2 did not define this behavior, CSS1-only and
221221
CSS2-only user agents may implement this alternative model and still
@@ -741,7 +741,7 @@ boxes) as well.
741741
</p>
742742

743743
<p>
744-
When an inline box exceeds the width of a line box, it is split into several boxes and these boxes are distributed across several line boxes. If an inline box cannot be split (e.g. if the inline box contains a single character, or language specific word breaking rules disallow a break within the inline box, or if the inline box is affected by a white-space value of nowrap or pre), then the inline box overflows the line box.
744+
When an inline box exceeds the width of a line box, it is split into several boxes and these boxes are distributed across several line boxes. If an inline box cannot be split (e.g., if the inline box contains a single character, or language specific word breaking rules disallow a break within the inline box, or if the inline box is affected by a white-space value of nowrap or pre), then the inline box overflows the line box.
745745
</p>
746746
<p>
747747
When an inline box is split, margins,

0 commit comments

Comments
 (0)