layout/reftests/font-face/src-list-local-full-quotes.html

branch
TOR_BUG_9701
changeset 11
deefc01c0e14
equal deleted inserted replaced
-1:000000000000 0:ca0c22c68ee8
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <title>src local with full names</title>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
7 <style type="text/css">
8
9 body {
10 margin: 50px;
11 font-size: 24pt;
12 }
13
14 /* use full names */
15
16 @font-face {
17 font-family: test-regular;
18 src: local("Helvetica Neue"), local("Bitstream Vera Sans"), local("Bitstream Vera Sans Roman"), local("Free Sans"), local("SwissA"), local("DejaVu Sans"), local("Arial");
19 }
20
21 /* use Helvetica on the Mac, since Futura has no bold face on 10.4, 10.5 */
22 @font-face {
23 font-family: test-bold;
24 src: local("Helvetica Neue Bold"), local("Bitstream Vera Sans Bold"), local("Free Sans Bold"), local("SwissA Bold"), local("DejaVu Sans Bold"), local("Arial Bold");
25 }
26
27 @font-face {
28 font-family: test-italic;
29 src: local("Helvetica Neue Italic"), local("Bitstream Vera Sans Oblique"), local("Free Sans Oblique"), local("SwissA Italic"), local("DejaVu Sans Oblique"), local("Arial Italic");
30 }
31
32 .regular { font-family: test-regular, serif; }
33 .bold { font-family: test-bold, serif; }
34 .italic { font-family: test-italic, serif; }
35
36 </style>
37
38 <script type="text/javascript">
39
40 </script>
41
42 </head>
43 <body>
44
45 <p class="regular">This should be a sans-serif face</p>
46
47 <p class="bold">This should be a bold sans-serif face</p>
48
49 <p class="italic">This should be an italic sans-serif face</p>
50
51 </body>
52 </html>

mercurial