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.)
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>Bug 668758 - @font-face disrupts font preferences</title> |
michael@0 | 5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
michael@0 | 6 | |
michael@0 | 7 | <style type="text/css"> |
michael@0 | 8 | |
michael@0 | 9 | /* none of these @font-face declarations should affect the rendering! */ |
michael@0 | 10 | @font-face { |
michael@0 | 11 | font-family: Times; |
michael@0 | 12 | src: url(../fonts/mplus/mplus-1p-black.ttf); |
michael@0 | 13 | } |
michael@0 | 14 | |
michael@0 | 15 | @font-face { |
michael@0 | 16 | font-family: Times New Roman; |
michael@0 | 17 | src: url(../fonts/mplus/mplus-1p-black.ttf); |
michael@0 | 18 | } |
michael@0 | 19 | |
michael@0 | 20 | @font-face { |
michael@0 | 21 | font-family: Tms Rmn; |
michael@0 | 22 | src: url(../fonts/mplus/mplus-1p-black.ttf); |
michael@0 | 23 | } |
michael@0 | 24 | |
michael@0 | 25 | @font-face { |
michael@0 | 26 | font-family: Droid Serif; |
michael@0 | 27 | src: url(../fonts/mplus/mplus-1p-black.ttf); |
michael@0 | 28 | } |
michael@0 | 29 | |
michael@0 | 30 | @font-face { |
michael@0 | 31 | font-family: Courier; |
michael@0 | 32 | src: url(../fonts/mplus/mplus-1p-black.ttf); |
michael@0 | 33 | } |
michael@0 | 34 | |
michael@0 | 35 | @font-face { |
michael@0 | 36 | font-family: Courier New; |
michael@0 | 37 | src: url(../fonts/mplus/mplus-1p-black.ttf); |
michael@0 | 38 | } |
michael@0 | 39 | |
michael@0 | 40 | @font-face { |
michael@0 | 41 | font-family: Droid Sans Mono; |
michael@0 | 42 | src: url(../fonts/mplus/mplus-1p-black.ttf); |
michael@0 | 43 | } |
michael@0 | 44 | |
michael@0 | 45 | body { |
michael@0 | 46 | margin: 50px; |
michael@0 | 47 | font-family: serif; |
michael@0 | 48 | } |
michael@0 | 49 | |
michael@0 | 50 | </style> |
michael@0 | 51 | |
michael@0 | 52 | </head> |
michael@0 | 53 | |
michael@0 | 54 | <body> |
michael@0 | 55 | |
michael@0 | 56 | <p> |
michael@0 | 57 | This should be rendered using the default serif font. |
michael@0 | 58 | </p> |
michael@0 | 59 | |
michael@0 | 60 | <pre> |
michael@0 | 61 | And this is preformatted text that ought to be monospaced. |
michael@0 | 62 | </pre> |
michael@0 | 63 | |
michael@0 | 64 | </body> |
michael@0 | 65 | </html> |