Bug 803015 - Click-to-play plugin overlay shouldn't inherit page text-transform style. r=dao
authorJared Wein <jwein@mozilla.com>
Sun, 21 Oct 2012 17:27:38 -0700
changeset 111142 ca0bbaaf02821fdca0f783d7543a0c10f6fb9592
parent 111141 ca101d9262407f62618bc3eda1510d0f149ffbe1
child 111143 d0daa527d1b419727f6e0721b2e723f4319b8338
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersdao
bugs803015
milestone19.0a1
Bug 803015 - Click-to-play plugin overlay shouldn't inherit page text-transform style. r=dao
toolkit/mozapps/plugins/content/pluginProblemContent.css
--- a/toolkit/mozapps/plugins/content/pluginProblemContent.css
+++ b/toolkit/mozapps/plugins/content/pluginProblemContent.css
@@ -36,16 +36,18 @@ html|applet:not([height]), html|applet[h
 }
 
 .mainBox {
   width: inherit;
   height: inherit;
   overflow: hidden;
   direction: ltr;
   unicode-bidi: embed;
+  /* used to block inherited properties */
+  text-transform: none;
 }
 
 .mainBox[chromedir="rtl"] {
   direction: rtl;
 }
 
 :-moz-handler-playpreview .mainBox {
   display: none;