summaryrefslogtreecommitdiffstats
path: root/toolkit/pluginproblem/content/pluginProblemBinding.css
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-24 19:31:32 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-24 19:31:32 +0200
commit70c2ad9f470c8860f11342ada8fb6958f98c6917 (patch)
tree0c341e51a147521a1909839d47ad8e9b24b0e7bd /toolkit/pluginproblem/content/pluginProblemBinding.css
parentbccb9c1708f007ada1ea8c4879db88a587f0a450 (diff)
downloadUXP-70c2ad9f470c8860f11342ada8fb6958f98c6917.tar
UXP-70c2ad9f470c8860f11342ada8fb6958f98c6917.tar.gz
UXP-70c2ad9f470c8860f11342ada8fb6958f98c6917.tar.lz
UXP-70c2ad9f470c8860f11342ada8fb6958f98c6917.tar.xz
UXP-70c2ad9f470c8860f11342ada8fb6958f98c6917.zip
palemoon#583 and #1071: Fix: Plugin placeholder image/text (ask to activate) missing + overlay
https://github.com/MoonchildProductions/Pale-Moon/pull/583 https://github.com/MoonchildProductions/Pale-Moon/pull/1071
Diffstat (limited to 'toolkit/pluginproblem/content/pluginProblemBinding.css')
-rw-r--r--toolkit/pluginproblem/content/pluginProblemBinding.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/toolkit/pluginproblem/content/pluginProblemBinding.css b/toolkit/pluginproblem/content/pluginProblemBinding.css
index 48506de34..a545e3eba 100644
--- a/toolkit/pluginproblem/content/pluginProblemBinding.css
+++ b/toolkit/pluginproblem/content/pluginProblemBinding.css
@@ -19,6 +19,11 @@ object:-moz-handler-crashed,
object:-moz-handler-clicktoplay,
object:-moz-handler-vulnerable-updatable,
object:-moz-handler-vulnerable-no-update {
+%ifdef MC_PALEMOON
+ /* Initialize the overlay with visibility:hidden to prevent flickering if
+ * the plugin is too small to show the overlay */
+ visibility: hidden;
+%endif
display: inline-block;
overflow: hidden;
opacity: 1 !important;