[css3-fonts] include example of system font keywords in font family names

Wed, 30 Jan 2013 11:48:51 +0900

author
John Daggett <jdaggett@mozilla.com>
date
Wed, 30 Jan 2013 11:48:51 +0900
changeset 7235
0c791d8345c7
parent 7234
bf9503b2b6d3
child 7236
1918367438cf

[css3-fonts] include example of system font keywords in font family names

css3-fonts/Fonts.html file | annotate | diff | comparison | revisions
     1.1 --- a/css3-fonts/Fonts.html	Tue Jan 29 18:47:29 2013 -0800
     1.2 +++ b/css3-fonts/Fonts.html	Wed Jan 30 11:48:51 2013 +0900
     1.3 @@ -1894,6 +1894,13 @@
     1.4     class=property>font-weight</code></a>’</span> are still given values
     1.5     taken from the system font, which can be independently varied.
     1.6  
     1.7 +  <p>Note that the keywords used for the system fonts listed above are only
     1.8 +   treated as keywords when they occur in the initial position, in other
     1.9 +   positions the same string is treated as part of the font family name:
    1.10 +
    1.11 +  <pre>  font: menu;        /* use the font settings for system menus */
    1.12 +  font: large menu;  /* use a font family named "menu" */</pre>
    1.13 +
    1.14    <div class=example>
    1.15     <p style="display:none">Example(s):
    1.16  

mercurial