Bug 1473931 - Load "progressmeter.css" as a document stylesheet. r=bgrins
authorPaolo Amadini <paolo.mozmail@amadzone.org>
Fri, 06 Jul 2018 17:22:22 +0100
changeset 427830 9ce00184b215f40a67305f7dff3b1abe6fc8df02
parent 427829 8d4b97056365e3db6c03960f5287577c3be06182
child 427831 9f30ad8f38e2df4a134c367862e0b65916d0e177
push id66737
push userccoroiu@mozilla.com
push dateMon, 23 Jul 2018 21:45:57 +0000
treeherderautoland@c47bdc24522f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgrins
bugs1473931
milestone63.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 1473931 - Load "progressmeter.css" as a document stylesheet. r=bgrins MozReview-Commit-ID: 5sPik8wxZvf
toolkit/content/widgets.css
toolkit/content/widgets/progressmeter.xml
--- a/toolkit/content/widgets.css
+++ b/toolkit/content/widgets.css
@@ -12,12 +12,13 @@
 @import url("chrome://formautofill/skin/autocomplete-item.css");
 @import url("chrome://global/skin/dialog.css");
 @import url("chrome://global/skin/dropmarker.css");
 @import url("chrome://global/skin/groupbox.css");
 @import url("chrome://global/skin/menu.css");
 @import url("chrome://global/skin/menulist.css");
 @import url("chrome://global/skin/notification.css");
 @import url("chrome://global/skin/popup.css");
+@import url("chrome://global/skin/progressmeter.css");
 @import url("chrome://global/skin/richlistbox.css");
 @import url("chrome://global/skin/splitter.css");
 @import url("chrome://global/skin/toolbar.css");
 @import url("chrome://global/skin/wizard.css");
--- a/toolkit/content/widgets/progressmeter.xml
+++ b/toolkit/content/widgets/progressmeter.xml
@@ -5,20 +5,16 @@
 
 
 <bindings id="progressmeterBindings"
    xmlns="http://www.mozilla.org/xbl"
    xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    xmlns:xbl="http://www.mozilla.org/xbl">
 
   <binding id="progressmeter">
-    <resources>
-      <stylesheet src="chrome://global/skin/progressmeter.css"/>
-    </resources>
-
     <content>
       <xul:spacer class="progress-bar" xbl:inherits="mode"/>
       <xul:spacer class="progress-remainder" xbl:inherits="mode"/>
     </content>
 
     <implementation>
       <property name="mode" onset="if (this.mode != val) this.setAttribute('mode', val); return val;"
                             onget="return this.getAttribute('mode');"/>