Bug 778582 - Part 5. r=mfinkle
authorBrian Nicholson <bnicholson@mozilla.com>
Fri, 24 Aug 2012 00:47:21 -0700
changeset 105317 3559149341e06348c44fd450c1f4cebf40b1b921
parent 105316 ee35e4c5e26c8c4533bfde4f7ea3c27d1c48c2e6
child 105318 ede84a1a43cf1bae39b293f8447ad194cca1f42c
push id55
push usershu@rfrn.org
push dateThu, 30 Aug 2012 01:33:09 +0000
reviewersmfinkle
bugs778582
milestone17.0a1
Bug 778582 - Part 5. r=mfinkle
mobile/android/themes/core/content.css
--- a/mobile/android/themes/core/content.css
+++ b/mobile/android/themes/core/content.css
@@ -3,28 +3,30 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 %filter substitution
 %include defines.inc
 
 @namespace url("http://www.w3.org/1999/xhtml");
 @namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
-@font-face {
-  font-family: 'OpenSansRegular';
-  src: url('chrome://browser/skin/fonts/opensans-regular.ttf') format('truetype');
-  font-weight: normal;
-  font-style: normal;
-}
+@-moz-document url(about:readercontent) {
+  @font-face {
+    font-family: 'OpenSansRegular';
+    src: url('chrome://browser/skin/fonts/opensans-regular.ttf') format('truetype');
+    font-weight: normal;
+    font-style: normal;
+  }
 
-@font-face {
-  font-family: 'OpenSansLight';
-  src: url('chrome://browser/skin/fonts/opensans-light.ttf') format('truetype');
-  font-weight: normal;
-  font-style: normal;
+  @font-face {
+    font-family: 'OpenSansLight';
+    src: url('chrome://browser/skin/fonts/opensans-light.ttf') format('truetype');
+    font-weight: normal;
+    font-style: normal;
+  }
 }
 
 ::-moz-selection {
   background-color: @color_background_highlight@;
   color: @color_text_highlight@;
 }
 
 /* Style the scrollbars */