Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
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>