Merge mozilla-central to autoland. a=merge CLOSED TREE
[gecko.git] / layout / reftests / font-face / name-collision-with-prefs-font.html
blob0f90870dea3a60e33642e4f50e452c77727bcd19
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <title>Bug 668758 - @font-face disrupts font preferences</title>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7 <style type="text/css">
9 /* none of these @font-face declarations should affect the rendering! */
10 @font-face {
11 font-family: Times;
12 src: url(../fonts/mplus/mplus-1p-black.ttf);
15 @font-face {
16 font-family: Times New Roman;
17 src: url(../fonts/mplus/mplus-1p-black.ttf);
20 @font-face {
21 font-family: Tms Rmn;
22 src: url(../fonts/mplus/mplus-1p-black.ttf);
25 @font-face {
26 font-family: Droid Serif;
27 src: url(../fonts/mplus/mplus-1p-black.ttf);
30 @font-face {
31 font-family: Courier;
32 src: url(../fonts/mplus/mplus-1p-black.ttf);
35 @font-face {
36 font-family: Courier New;
37 src: url(../fonts/mplus/mplus-1p-black.ttf);
40 @font-face {
41 font-family: Droid Sans Mono;
42 src: url(../fonts/mplus/mplus-1p-black.ttf);
45 body {
46 margin: 50px;
47 font-family: serif;
50 </style>
52 </head>
54 <body>
56 <p>
57 This should be rendered using the default serif font.
58 </p>
60 <pre>
61 And this is preformatted text that ought to be monospaced.
62 </pre>
64 </body>
65 </html>