bug 760098 - Disable font inflation for www.youtube.com a=akeybl 14_0_Beta_Hedge FENNEC_14_0b8_BUILD4 FENNEC_14_0b8_RELEASE
authorL. David Baron <dbaron@dbaron.org>
Fri, 22 Jun 2012 20:28:53 -0400
branch14_0_Beta_Hedge
changeset 96156 c276e44c44de2e32094128dd14362ace62acb0fc
parent 96155 40971b51bb117001556078d29430e7807db710fd
child 96159 650d23ffb2c5a3b95876d82cdc901ca390fc04d7
push id1
push usersledru@mozilla.com
push dateThu, 04 Dec 2014 17:57:20 +0000
reviewersakeybl
bugs760098
milestone14.0
bug 760098 - Disable font inflation for www.youtube.com a=akeybl
layout/style/html.css
layout/style/jar.mn
--- a/layout/style/html.css
+++ b/layout/style/html.css
@@ -771,8 +771,20 @@ marquee[direction="up"], marquee[directi
 }
 
 /* PRINT ONLY rules follow */
 @media print {
 
   marquee { -moz-binding: none; }
 
 }
+
+%ifdef ANDROID
+@-moz-document url("http://www.youtube.com/"),
+               url("https://www.youtube.com/")
+{
+
+  /* Bug 760098:  disable font size inflation on youtube.com */
+  html {
+    -moz-text-size-adjust: none;
+  }
+}
+%endif
--- a/layout/style/jar.mn
+++ b/layout/style/jar.mn
@@ -1,11 +1,11 @@
 toolkit.jar:
 *  res/ua.css    (ua.css)
-   res/html.css    (html.css)
+*  res/html.css    (html.css)
    res/quirk.css    (quirk.css)
    res/full-screen-override.css    (full-screen-override.css)
    res/viewsource.css    (viewsource.css)
 *  res/forms.css    (forms.css)
    res/arrow.gif    (arrow.gif)
    res/arrowd.gif   (arrowd.gif)
 
 % resource gre-resources %res/