Bug 1642376: Move inline style for panel popups into each theme's popup.css. r=dao
commit119000e1aea75d7a1edfb664ed6b10a4826244d2
authorBrad Werth <bwerth@mozilla.com>
Thu, 11 Jun 2020 13:53:39 +0000 (11 13:53 +0000)
committerBrad Werth <bwerth@mozilla.com>
Thu, 11 Jun 2020 13:53:39 +0000 (11 13:53 +0000)
tree2e3ae115c94747d16614782e17a418967d15073e
parent6ccb7d2797bcb340325303a9a917217472ffbf0e
Bug 1642376: Move inline style for panel popups into each theme's popup.css. r=dao

This supports the fact that devtools, which is hosted in an "about:" page,
does not use inline styles. They are prevented from working by the CSP defined
at devtools/client/framework/toolbox.xhtml. This patch moves The styles that
are added by the MozPanel.initialize method into the popup.css files for each
theme, where the other .panel-arrowcontent class selectors live.

Differential Revision: https://phabricator.services.mozilla.com/D78832
toolkit/content/widgets/panel.js
toolkit/themes/linux/global/popup.css
toolkit/themes/osx/global/popup.css
toolkit/themes/windows/global/popup.css