Rubber-stamped by Brady Eidson.
[webbrowser.git] / LayoutTests / fast / css / font-face-locally-installed.html
blobdf46a7bab36365d6a44fce4c2de8c2ab72f5531f
1 <style>
2 @font-face {
3 font-family: 'Lucida Grande';
4 font-style: italic;
5 src: local(Times);
8 @font-face {
9 font-family: Helvetica;
10 font-weight: 400;
11 src: local(Times);
14 @font-face {
15 font-family: Monaco;
16 unicode-range: U+0060-0080;
17 src: local(Times);
19 </style>
20 <p>
21 This tests that locally-installed fonts are used for a family of the same
22 name defined in a <tt>@font-face</tt> rule if they are a better match than
23 the rule.
24 </p>
25 <p style="font-family: Lucida Grande;">
26 This should be Lucida Grande <i>and this should be Times Italic.</i>
27 </p>
28 <p style="font-family: Helvetica;">
29 This should be Times <b>and this should be Helvetica Bold.</b>
30 </p>
31 <p style="font-family: Monaco;">
32 UPPERCASE SHOULD BE MONACO and lowercase should be times.
33 </p>