You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Setting font properties will be among the most common uses of style
26
26
sheets. Unfortunately, there exists no well-defined and universally
27
27
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
29
29
commonly used to label slanted text, but slanted text may also be
30
30
labeled as being <em>Oblique, Slanted, Incline, Cursive</em> or
31
31
<em>Kursiv</em>. Therefore it is not a simple problem to map typical
@@ -104,7 +104,7 @@ never fail. (See 'font-weight' below.)
104
104
<li><span class="propinst-font-size">'font-size'</span> must be matched within a
105
105
UA-dependent margin of tolerance. (Typically, sizes for scalable fonts
106
106
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.,
108
108
by 'em' values in other properties, are based on
109
109
the computed value of 'font-size'.
110
110
</li>
@@ -148,15 +148,15 @@ following generic families are defined:
148
148
149
149
<ul>
150
150
151
-
<li>'serif' (e.g. Times)</li>
151
+
<li>'serif' (e.g., Times)</li>
152
152
153
-
<li>'sans-serif' (e.g. Helvetica)</li>
153
+
<li>'sans-serif' (e.g., Helvetica)</li>
154
154
155
-
<li>'cursive' (e.g. Zapf-Chancery)</li>
155
+
<li>'cursive' (e.g., Zapf-Chancery)</li>
156
156
157
-
<li>'fantasy' (e.g. Western)</li>
157
+
<li>'fantasy' (e.g., Western)</li>
158
158
159
-
<li>'monospace' (e.g. Courier)</li>
159
+
<li>'monospace' (e.g., Courier)</li>
160
160
161
161
</ul>
162
162
@@ -183,7 +183,7 @@ body { font-family: "New Century Schoolbook", serif }
183
183
the font name are ignored and any sequence of white space characters
184
184
inside the font name is converted to a single space.
185
185
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 '<family-name>' 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 '<family-name>' type.
187
187
</p>
188
188
189
189
@@ -447,7 +447,7 @@ assignment is done in typical cases:
447
447
</p>
448
448
<ul>
449
449
<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
451
451
directly.
452
452
</li>
453
453
<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:
593
593
594
594
<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>
595
595
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).
597
597
</p>
598
598
599
599
<p>
@@ -608,9 +608,9 @@ these guidelines should nevertheless avoid creating font-size resulting
608
608
in less than 9 pixels per EM unit on a computer display.</em></p>
609
609
610
610
<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
614
614
sizes. The new scaling factor varies between each index to provide better
Copy file name to clipboardExpand all lines: css2/visufx.src
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -301,10 +301,10 @@ element's border box remain hidden when these values are 'auto'.
301
301
</dd>
302
302
</dl>
303
303
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 — 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 — if any) that is outside the clipping region.
305
305
Content that has been clipped does not cause overflow.
306
306
</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
308
308
their <span class="propinst-overflow">'overflow'</span> property is
309
309
not 'visible'); what is rendered is the cumulative intersection.
@@ -201,7 +201,7 @@ another anonymous block box around C2.
201
201
</p></div>
202
202
203
203
<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).
205
205
Non-inherited properties have their initial value. For example,
206
206
the font of the anonymous box is inherited from the DIV, but the
207
207
margins will be 0.
@@ -215,7 +215,7 @@ line) and C2 (open at the start of the line).
215
215
</p>
216
216
<p>
217
217
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
219
219
"anonymous line boxes" and thus drawing inline borders around such
220
220
boxes. As CSS1 and CSS2 did not define this behavior, CSS1-only and
221
221
CSS2-only user agents may implement this alternative model and still
@@ -741,7 +741,7 @@ boxes) as well.
741
741
</p>
742
742
743
743
<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.
0 commit comments