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
<liclass="tocline2"><ahref="fonts.html#algorithm" class="tocxref">15.2 Font matching algorithm</a>
630
630
<liclass="tocline2"><ahref="fonts.html#font-family-prop" class="tocxref">15.3 Font family: the <spanclass="propinst-font-family">'font-family'</span> property</a>
631
+
<ulclass="toc">
632
+
<liclass="tocline3"><ahref="fonts.html#generic-font-families" class="tocxref">15.3.1 Generic font families</a>
<liclass="tocline2"><ahref="fonts.html#font-styling" class="tocxref">15.4 Font styling: the <spanclass="propinst-font-style">'font-style'</span> property</a>
632
642
<liclass="tocline2"><ahref="fonts.html#small-caps" class="tocxref">15.5 Small-caps: the <spanclass="propinst-font-variant">'font-variant'</span> property</a>
633
643
<liclass="tocline2"><ahref="fonts.html#font-boldness" class="tocxref">15.6 Font boldness: the <spanclass="propinst-font-weight">'font-weight'</span> property</a>
<liclass="tocline2"><ahref="fonts.html#algorithm" class="tocxref">15.2 Font matching algorithm</a>
46
46
<liclass="tocline2"><ahref="fonts.html#font-family-prop" class="tocxref">15.3 Font family: the <spanclass="propinst-font-family">'font-family'</span> property</a>
47
+
<ulclass="toc">
48
+
<liclass="tocline3"><ahref="fonts.html#generic-font-families" class="tocxref">15.3.1 Generic font families</a>
<liclass="tocline2"><ahref="fonts.html#font-styling" class="tocxref">15.4 Font styling: the <spanclass="propinst-font-style">'font-style'</span> property</a>
48
58
<liclass="tocline2"><ahref="fonts.html#small-caps" class="tocxref">15.5 Small-caps: the <spanclass="propinst-font-variant">'font-variant'</span> property</a>
49
59
<liclass="tocline2"><ahref="fonts.html#font-boldness" class="tocxref">15.6 Font boldness: the <spanclass="propinst-font-weight">'font-weight'</span> property</a>
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.
233
244
</p>
234
245
246
+
247
+
<h3>15.3.1 <aname="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><aname="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
0 commit comments