|
1 <!DOCTYPE HTML> |
|
2 <html> |
|
3 <head> |
|
4 <title>src local on load fallback</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 font-family: sans-serif; |
|
13 } |
|
14 |
|
15 p { margin-left: 1em; } |
|
16 |
|
17 p { font-family: Futura, Bitstream Vera Sans, DejaVu Sans, Arial, serif; } |
|
18 |
|
19 </style> |
|
20 |
|
21 <script type="text/javascript"> |
|
22 |
|
23 </script> |
|
24 |
|
25 </head> |
|
26 <body> |
|
27 |
|
28 <h4>These should appear in sans-serif face, not serif:</h4> |
|
29 |
|
30 <p id="test0">Simple use of src local()</p> |
|
31 |
|
32 <p id="test1">The URL for the font data is bogus</p> |
|
33 |
|
34 <p id="test2">The URL exists but does not return font data</p> |
|
35 |
|
36 <p id="test3">Same as above, but first local not found</p> |
|
37 |
|
38 <p id="test4">Same as above, bogus url follows unknown local font</p> |
|
39 |
|
40 </body> |
|
41 </html> |