Skip to content

Commit 66dfe58

Browse files
committed
[css2] Added system fonts, Bodoni (for Lauren)
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40726
1 parent ebf0a99 commit 66dfe58

1 file changed

Lines changed: 41 additions & 5 deletions

File tree

css2/fonts.src

Lines changed: 41 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: fonts.src,v 1.37 1998-01-27 16:53:40 ijacobs Exp $ -->
3+
<!-- $Id: fonts.src,v 1.38 1998-01-28 06:35:46 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Fonts</TITLE>
@@ -578,8 +578,40 @@ traditional typographical shorthand notation to set multiple
578578
properties related to fonts.
579579

580580
<P> For a definition of allowed and initial values, see the previously
581-
defined properties. <em>Properties for which no values are given are set
582-
to their initial value</em>.
581+
defined properties. Properties for which no values are given are set
582+
to their initial value.
583+
584+
<P>The following values refer to <span class="index-def" title="system
585+
fonts"> system fonts</span>:</p>
586+
587+
<!-- Mike Wexler doesn't like the term "caption" -IJ -->
588+
589+
<dl>
590+
<dt><strong>caption</strong>
591+
<dd>Used for (captioned controls (e.g. buttons, drop-downs, etc.).
592+
<dt><strong>icon</strong>
593+
<dd> Used to label icons.
594+
<dt><strong>menu</strong>
595+
<dd> Used in menus (e.g., dropdown menus and menu lists).
596+
<dt><strong>messagebox</strong>
597+
<dd> Used in dialog boxes.
598+
<dt><strong>smallcaption</strong>
599+
<dd> Used for labeling small controls.
600+
<dt><strong>statusbar</strong>
601+
<dd> Used in window status bars.
602+
</dl>
603+
604+
<P>System fonts can only be accessed as a whole; that is, the
605+
font-family, size, weight, style, etc. are all set at the same
606+
time. The semantic meaning of each of the values follows - if any of
607+
these semantics do not exist on a given platform, the UA should either
608+
intelligently substitute (e.g., a smaller version of the 'caption'
609+
font might be used for the 'smallcaption' font), or substitute its UA
610+
default font. As for regular fonts, if, for a system font, any of the
611+
individual properties are not part of the operating system's available
612+
user preferences, those properties should be set to their initial
613+
values.
614+
583615

584616
<div class="example"><P>
585617
Examples:
@@ -589,6 +621,8 @@ Examples:
589621
P { font: x-large/110% "new century schoolbook", serif }
590622
P { font: bold italic large Palatino, serif }
591623
P { font: normal small-caps 120%/120% fantasy }
624+
P { font: messagebox }
625+
INPUT.small { font: smallcaption }
592626
</PRE>
593627

594628
<P> In the second rule, the font size percentage value ('80%') refers
@@ -616,6 +650,8 @@ class="propinst-font-style">'font-style'</span> and <span
616650
class="propinst-font-weight">'font-weight'</span>.
617651
</div>
618652

653+
<P>The sixth and seventh rule set the font properties to the
654+
appropriate values for these elements in the user's environment.
619655

620656
<h3><a name="generic-font-families">Generic font families</a></h3>
621657

@@ -653,8 +689,8 @@ described may be used to represent the generic 'serif' family.
653689

654690
<dl>
655691
<dt>Latin fonts
656-
<dd>Times New Roman, Garamond, Minion Web, ITC Stone Serif, MS Georgia,
657-
Bitstream Cyberbit
692+
<dd>Times New Roman, Bodoni,
693+
Garamond, Minion Web, ITC Stone Serif, MS Georgia, Bitstream Cyberbit
658694
<dt>Greek fonts
659695
<dd>Bitstream Cyberbit
660696
<dt>Cyrillic fonts

0 commit comments

Comments
 (0)