Bug 807880 - Click-to-play plugin placeholder can be styled by inherited CSS. r=jaws
authorOwen Coutts <owen@owencoutts.com>
Thu, 17 Jan 2013 17:52:44 -0500
changeset 119230 5e00fb1ffd1992ec40c9fb36ce0a37c928a2bf54
parent 119229 765fb43a17a06c355e06f67e3dd2ce83368a130f
child 119231 4a820e3c2b031f0cd3ae264cdf9c1b6caec43d93
push id24195
push userMs2ger@gmail.com
push dateSat, 19 Jan 2013 16:10:11 +0000
treeherdermozilla-central@02e12a80aef9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs807880
milestone21.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 807880 - Click-to-play plugin placeholder can be styled by inherited CSS. r=jaws
toolkit/mozapps/plugins/content/pluginProblemContent.css
--- a/toolkit/mozapps/plugins/content/pluginProblemContent.css
+++ b/toolkit/mozapps/plugins/content/pluginProblemContent.css
@@ -42,16 +42,22 @@ 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;
+  text-indent: 0;
+  cursor: initial;
+  white-space: initial;
+  word-spacing: initial;
+  letter-spacing: initial;
+  line-height: initial;
 }
 
 .mainBox[chromedir="rtl"] {
   direction: rtl;
 }
 
 :-moz-handler-playpreview .mainBox {
   display: none;