8000 [css2] Generated. Do not edit! · w3c/csswg-drafts@925ee14 · GitHub
Skip to content

Commit 925ee14

Browse files
committed
[css2] Generated. Do not edit!
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402494
1 parent 1c14442 commit 925ee14

3 files changed

Lines changed: 180 additions & 4 deletions

File tree

css2/cover.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,16 @@ <h2><a name="toc">Full Table of Contents</a></h2>
628628
<li class="tocline2"><a href="fonts.html#q1" class="tocxref">15.1 Introduction</a>
629629
<li class="tocline2"><a href="fonts.html#algorithm" class="tocxref">15.2 Font matching algorithm</a>
630630
<li class="tocline2"><a href="fonts.html#font-family-prop" class="tocxref">15.3 Font family: the <span class="propinst-font-family">'font-family'</span> property</a>
631+
<ul class="toc">
632+
<li class="tocline3"><a href="fonts.html#generic-font-families" class="tocxref">15.3.1 Generic font families</a>
633+
<ul class="toc">
634+
<li class="tocline4"><a href="fonts.html#serif-def" class="tocxref">15.3.1.1 <span class="index-def" title="serif, definition of"><dfn>serif</dfn></span></a>
635+
<li class="tocline4"><a href="fonts.html#sans-serif-def" class="tocxref">15.3.1.2 <span class="index-def" title="sans-serif, definition of"> <dfn>sans-serif</dfn></span></a>
636+
<li class="tocline4"><a href="fonts.html#cursive-def" class="tocxref">15.3.1.3 <span class="index-def" title="cursive, definition of"> <dfn>cursive</dfn></span></a>
637+
<li class="tocline4"><a href="fonts.html#fantasy-def" class="tocxref">15.3.1.4 <span class="index-def" title="fantasy, definition of"> <dfn>fantasy</dfn></span></a>
638+
<li class="tocline4"><a href="fonts.html#monospace-def" class="tocxref">15.3.1.5 <span class="index-def" title="monospace, definition of"> <dfn>monospace</dfn></span></a>
639+
</ul>
640+
</ul>
631641
<li class="tocline2"><a href="fonts.html#font-styling" class="tocxref">15.4 Font styling: the <span class="propinst-font-style">'font-style'</span> property</a>
632642
<li class="tocline2"><a href="fonts.html#small-caps" class="tocxref">15.5 Small-caps: the <span class="propinst-font-variant">'font-variant'</span> property</a>
633643
<li class="tocline2"><a href="fonts.html#font-boldness" class="tocxref">15.6 Font boldness: the <span class="propinst-font-weight">'font-weight'</span> property</a>

css2/fonts.html

Lines changed: 164 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,16 @@ <h1><a name="q0">15 Fonts</a></h1>
4444
<li class="tocline2"><a href="fonts.html#q1" class="tocxref">15.1 Introduction</a>
4545
<li class="tocline2"><a href="fonts.html#algorithm" class="tocxref">15.2 Font matching algorithm</a>
4646
<li class="tocline2"><a href="fonts.html#font-family-prop" class="tocxref">15.3 Font family: the <span class="propinst-font-family">'font-family'</span> property</a>
47+
<ul class="toc">
48+
<li class="tocline3"><a href="fonts.html#generic-font-families" class="tocxref">15.3.1 Generic font families</a>
49+
<ul class="toc">
50+
<li class="tocline4"><a href="fonts.html#serif-def" class="tocxref">15.3.1.1 <span class="index-def" title="serif, definition of"><dfn>serif</dfn></span></a>
51+
<li class="tocline4"><a href="fonts.html#sans-serif-def" class="tocxref">15.3.1.2 <span class="index-def" title="sans-serif, definition of"> <dfn>sans-serif</dfn></span></a>
52+
<li class="tocline4"><a href="fonts.html#cursive-def" class="tocxref">15.3.1.3 <span class="index-def" title="cursive, definition of"> <dfn>cursive</dfn></span></a>
53+
<li class="tocline4"><a href="fonts.html#fantasy-def" class="tocxref">15.3.1.4 <span class="index-def" title="fantasy, definition of"> <dfn>fantasy</dfn></span></a>
54+
<li class="tocline4"><a href="fonts.html#monospace-def" class="tocxref">15.3.1.5 <span class="index-def" title="monospace, definition of"> <dfn>monospace</dfn></span></a>
55+
</ul>
56+
</ul>
4757
<li class="tocline2"><a href="fonts.html#font-styling" class="tocxref">15.4 Font styling: the <span class="propinst-font-style">'font-style'</span> property</a>
4858
<li class="tocline2"><a href="fonts.html#small-caps" class="tocxref">15.5 Small-caps: the <span class="propinst-font-variant">'font-variant'</span> property</a>
4959
<li class="tocline2"><a href="fonts.html#font-boldness" class="tocxref">15.6 Font boldness: the <span class="propinst-font-weight">'font-weight'</span> property</a>
@@ -163,8 +173,9 @@ <h2>15.3 <a name="font-family-prop">Font family</a>: the <a href="fonts.html#pro
163173
</div>
164174

165175

166-
<p>The value is a prioritized list of font family names and/or generic
167-
family names. Unlike most other CSS properties, values are separated
176+
<p>The value is a prioritized list of font family names
177+
and/or <a href="#generic-font-families">generic family names.</a>
178+
Unlike most other CSS properties, values are separated
168179
by a comma to indicate that they are alternatives:
169180
</p>
170181
<pre>
@@ -232,6 +243,156 @@ <h2>15.3 <a name="font-family-prop">Font family</a>: the <a href="fonts.html#pro
232243
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.
233244
</p>
234245

246+
247+
<h3>15.3.1 <a name="generic-font-families">Generic font families</a></h3>
248+
249+
<p>Generic font families are a fallback mechanism, a means of
250+
preserving some of the style sheet author's intent in the worst case
251+
when none of the specified fonts can be selected. For optimum
252+
typographic control, particular named fonts should be used in
253+
style sheets.
254+
255+
256+
<p><a name="defined-to-exist">All five generic font families are defined to exist</a> in all
257+
CSS implementations (they need not necessarily map to five distinct
258+
actual fonts). User agents should provide reasonable
259+
default choices for the generic font families, which express the
260+
characteristics of each family as well as possible within the limits
261+
allowed by the underlying technology.
262+
263+
<p>User agents are encouraged to allow users to select alternative
264+
choices for the generic fonts.
265+
266+
<h4>15.3.1.1 <span class="index-def" title="serif, definition of"><a name="serif-def"><dfn>serif</dfn></a></span></h4>
267+
268+
<p>Glyphs of serif fonts, as the term is used in CSS, have finishing
269+
strokes, flared or tapering ends, or have actual serifed endings
270+
(including slab serifs). Serif fonts are typically
271+
proportionately-spaced. They often display a greater variation between
272+
thick and thin strokes than fonts from the 'sans-serif' generic font
273+
family. CSS uses the term 'serif' to apply to a font for any script,
274+
although other names may be more familiar for particular scripts, such
275+
as Mincho (Japanese), Sung or Song (Chinese), Totum or Kodig (Korean).
276+
Any font that is so described may be used to represent the
277+
generic 'serif' family.
278+
279+
<p>Examples of fonts that fit this description include:</p>
280+
281+
<table>
282+
<tr><td>Latin fonts
283+
<td>Times New Roman, Bodoni,
284+
Garamond, Minion Web, ITC Stone Serif, MS Georgia, Bitstream Cyberbit
285+
<tr><td>Greek fonts
286+
<td>Bitstream Cyberbit
287+
<tr><td>Cyrillic fonts
288+
<td>Adobe Minion Cyrillic, Excelcior Cyrillic Upright,
289+
Monotype Albion 70, Bitstream Cyberbit, ER Bukinst
290+
<tr><td>Hebrew fonts
291+
<td>New Peninim, Raanana, Bitstream Cyberbit
292+
<tr><td>Japanese fonts
293+
<td>Ryumin Light-KL, Kyokasho ICA, Futo Min A101
294+
<tr><td>Arabic fonts
295+
<td>Bitstream Cyberbit
296+
<tr><td>Cherokee fonts
297+
<td>Lo Cicero Cherokee
298+
</table>
299+
300+
<h4>15.3.1.2 <span class="index-def" title="sans-serif, definition of">
301+
<a name="sans-serif-def"><dfn>sans-serif</dfn></a></span></h4>
302+
303+
<p>Glyphs in sans-serif fonts, as the term is used in CSS, have stroke
304+
endings that are plain -- without any flaring, cross stroke, or other
305+
ornamentation. Sans-serif fonts are typically
306+
proportionately-spaced. They often have little variation between thick
307+
and thin strokes, compared to fonts from the 'serif' family. CSS uses
308+
the term 'sans-serif' to apply to a font for any script, although
309+
other names may be more familiar for particular scripts, such as
310+
Gothic (Japanese), Kai (Chinese), or Pathang (Korean). Any font that
311+
is so described may be used to represent the generic 'sans-serif'
312+
family.
313+
314+
<p>Examples of fonts that fit this description include:</p>
315+
316+
<table>
317+
<tr><td>Latin fonts
318+
<td>MS Trebuchet, ITC Avant Garde Gothic, MS Arial, MS Verdana, Univers,
319+
Futura, ITC Stone Sans, Gill Sans, Akzidenz Grotesk, Helvetica
320+
<tr><td>Greek fonts
321+
<td>Attika, Typiko New Era, MS Tahoma, Monotype Gill Sans 571, Helvetica Greek
322+
<tr><td>Cyrillic fonts
323+
<td>Helvetica Cyrillic, ER Univers, Lucida Sans Unicode, Bastion
324+
<tr><td>Hebrew fonts
325+
<td>Arial Hebrew, MS Tahoma
326+
<tr><td>Japanese fonts
327+
<td>Shin Go, Heisei Kaku Gothic W5
328+
<tr><td>Arabic fonts
329+
<td>MS Tahoma
330+
</table>
331+
332+
<h4>15.3.1.3 <span class="index-def" title="cursive, definition of">
333+
<a name="cursive-def"><dfn>cursive</dfn></a></span></h4>
334+
335+
<p>Glyphs in cursive fonts, as the term is used in CSS, generally have
336+
either joining strokes or other cursive characteristics beyond those
337+
of italic typefaces. The glyphs are partially or completely
338+
connected, and the result looks more like handwritten pen or brush
339+
writing than printed letterwork. Fonts for some scripts, such as
340+
Arabic, are almost always cursive. CSS uses the term 'cursive' to
341+
apply to a font for any script, although other names such as Chancery,
342+
Brush, Swing and Script are also used in font names.
343+
344+
<p>Examples of fonts that fit this description include:</p>
345+
346+
<table>
347+
<tr><td>Latin fonts
348+
<td>Caflisch Script, Adobe Poetica, Sanvito, Ex Ponto, Snell Roundhand,
349+
Zapf-Chancery
350+
<tr><td>Cyrillic fonts
351+
<td>ER Architekt
352+
<tr><td>Hebrew fonts
353+
<td>Corsiva
354+
<tr><td>Arabic fonts
355+
<td>DecoType Naskh, Monotype Urdu 507
356+
</table>
357+
358+
<h4>15.3.1.4 <span class="index-def" title="fantasy, definition of">
359+
<a name="fantasy-def"><dfn>fantasy</dfn></a></span></h4>
360+
361+
362+
<p>Fantasy fonts, as used in CSS, are primarily decorative while
363+
still containing representations of characters (as opposed to Pi or
364+
Picture fonts, which do not represent characters). Examples include:</p>
365+
366+
<table>
367+
<tr><td>Latin fonts
368+
<td>Alpha Geometrique, Critter, Cottonwood, FB Reactor, Studz
369+
</table>
370+
371+
372+
<h4>15.3.1.5 <span class="index-def" title="monospace, definition of">
373+
<a name="monospace-def"><dfn>monospace</dfn></a></span></h4>
374+
375+
376+
<p>The sole criterion of a monospace font is that all glyphs have the same fixed width. (This can make some scripts,
377+
such as Arabic, look most peculiar.) The effect is similar to a manual
378+
typewriter, and is often used to set samples of computer code.
379+
380+
<p>Examples of fonts which fit this description include:
381+
382+
<table>
383+
<tr><td>Latin fonts
384+
<td>Courier, MS Courier New, Prestige, Everson Mono
385+
<tr><td>Greek Fonts
386+
<td>MS Courier New, Everson Mono
387+
<tr><td>Cyrillic fonts
388+
<td>ER Kurier, Everson Mono
389+
<tr><td>Japanese fonts
390+
<td>Osaka Monospaced
391+
<tr><td>Cherokee fonts
392+
<td>Everson Mono
393+
</table>
394+
395+
235396
<h2>15.4 <a name="font-styling">Font styling</a>: the
236397
<a href="fonts.html#propdef-font-style" class="noxref"><span class="propinst-font-style">'font-style'</span></a> property</h2>
237398

@@ -686,7 +847,7 @@ <h2>15.8 <a name="font-shorthand">Shorthand font property</a>: the <a href="font
686847
keyword 'normal' applies to the two remaining properties: 'font-style'
687848
and 'font-weight'.
688849
</p>
689-
<p>The following values refer to <a name="x6"><span class="index-def" title="system
850+
<p>The following values refer to <a name="x11"><span class="index-def" title="system
690851
fonts">system fonts</span></a>:</p>
691852

692853
<dl>

css2/indexlist.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ <H1><a name="q0">Appendix I. Index</a></H1>
227227
<li class="tocline0">'cue', <a href="aural.html#propdef-cue" class="index-def"><strong>1</strong></a>
228228
<li class="tocline0">'cue-after', <a href="aural.html#propdef-cue-after" class="index-def"><strong>1</strong></a>
229229
<li class="tocline0">'cue-before', <a href="aural.html#propdef-cue-before" class="index-def"><strong>1</strong></a>
230+
<li class="tocline0">cursive, definition of, <a href="fonts.html#cursive-def" class="index-def"><strong>1</strong></a>
230231
<li class="tocline0">'cursor', <a href="ui.html#propdef-cursor" class="index-def"><strong>1</strong></a>
231232
</ul>
232233
<p><a name="index-d">&nbsp;</a>
@@ -269,6 +270,7 @@ <H1><a name="q0">Appendix I. Index</a></H1>
269270
</ul>
270271
<p><a name="index-f">&nbsp;</a>
271272
<ul class="index">
273+
<li class="tocline0">fantasy, definition of, <a href="fonts.html#fantasy-def" class="index-def"><strong>1</strong></a>
272274
<li class="tocline0">fictional tag sequence, <a href="selector.html#x48" class="index-def"><strong>1</strong></a>, <a href="selector.html#x58" class="index-inst"><span>2</span></a>, <a href="selector.html#x64" class="index-inst"><span>3</span></a>
273275
<li class="tocline0">first-child, <a href="selector.html#x24" class="index-def"><strong>1</strong></a>
274276
<li class="tocline0">first-letter, <a href="selector.html#x53" class="index-def"><strong>1</strong></a>
@@ -400,6 +402,7 @@ <H1><a name="q0">Appendix I. Index</a></H1>
400402
<li class="tocline0">message entity, <a href="conform.html#message-entity" class="index-def"><strong>1</strong></a>
401403
<li class="tocline0">'min-height', <a href="visudet.html#propdef-min-height" class="index-def"><strong>1</strong></a>
402404
<li class="tocline0">'min-width', <a href="visudet.html#propdef-min-width" class="index-def"><strong>1</strong></a>
405+
<li class="tocline0">monospace, definition of, <a href="fonts.html#monospace-def" class="index-def"><strong>1</strong></a>
403406
<li class="tocline0">multiple declarations, <a href="selector.html#x8" class="index-def"><strong>1</strong></a>
404407
<li class="tocline0">MUST, <a href="conform.html#x0" class="index-def"><strong>1</strong></a>
405408
<li class="tocline0">MUST NOT, <a href="conform.html#x1" class="index-def"><strong>1</strong></a>
@@ -530,6 +533,7 @@ <H1><a name="q0">Appendix I. Index</a></H1>
530533
</ul>
531534
<p><a name="index-s">&nbsp;</a>
532535
<ul class="index">
536+
<li class="tocline0">sans-serif, definition of, <a href="fonts.html#sans-serif-def" class="index-def"><strong>1</strong></a>
533537
<li class="tocline0">scope, <a href="generate.html#x29" class="index-def"><strong>1</strong></a>
534538
<li class="tocline0">screen reader, <a href="aural.html#x1" class="index-def"><strong>1</strong></a>
535539
<li class="tocline0">selector, <a href="grammar.html#x1" class="index-inst"><span>1</span></a>, <a href="selector.html#x4" class="index-def"><strong>2</strong></a>, <a href="selector.html#x0" class="index-inst"><span>3</span></a>, <a href="syndata.html#x15" class="index-def"><strong>4</strong></a>
@@ -538,6 +542,7 @@ <H1><a name="q0">Appendix I. Index</a></H1>
538542
<li class="tocline0">subject of, <a href="selector.html#subject" class="index-def"><strong>1</strong></a>
539543
</ul>
540544
<li class="tocline0">separated borders, <a href="tables.html#x17" class="index-inst"><span>1</span></a>
545+
<li class="tocline0">serif, definition of, <a href="fonts.html#serif-def" class="index-def"><strong>1</strong></a>
541546
<li class="tocline0">SHALL, <a href="conform.html#x3" class="index-def"><strong>1</strong></a>
542547
<li class="tocline0">SHALL NOT, <a href="conform.html#x4" class="index-def"><strong>1</strong></a>
543548
<li class="tocline0">&lt;shape&gt;
@@ -575,7 +580,7 @@ <H1><a name="q0">Appendix I. Index</a></H1>
575580
<li class="tocline0">&lt;string&gt;, definition of, <a href="syndata.html#value-def-string" class="index-def"><strong>1</strong></a>
576581
<li class="tocline0">style sheet, <a href="conform.html#x10" class="index-def"><strong>1</strong></a>
577582
<li class="tocline0">subject (of selector), <a href="selector.html#subject" class="index-def"><strong>1</strong></a>
578-
<li class="tocline0">system fonts, <a href="fonts.html#x6" class="index-def"><strong>1</strong></a>
583+
<li class="tocline0">system fonts, <a href="fonts.html#x11" class="index-def"><strong>1</strong></a>
579584
</ul>
580585
<p><a name="index-t">&nbsp;</a>
581586
<ul class="index">

0 commit comments

Comments
 (0)