Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
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);
13 }
15 @font-face {
16 font-family: Times New Roman;
17 src: url(../fonts/mplus/mplus-1p-black.ttf);
18 }
20 @font-face {
21 font-family: Tms Rmn;
22 src: url(../fonts/mplus/mplus-1p-black.ttf);
23 }
25 @font-face {
26 font-family: Droid Serif;
27 src: url(../fonts/mplus/mplus-1p-black.ttf);
28 }
30 @font-face {
31 font-family: Courier;
32 src: url(../fonts/mplus/mplus-1p-black.ttf);
33 }
35 @font-face {
36 font-family: Courier New;
37 src: url(../fonts/mplus/mplus-1p-black.ttf);
38 }
40 @font-face {
41 font-family: Droid Sans Mono;
42 src: url(../fonts/mplus/mplus-1p-black.ttf);
43 }
45 body {
46 margin: 50px;
47 font-family: serif;
48 }
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>