Bug 611073 - Replace the inner border color with a regular padding, improving treechildren::-moz-tree-progressmeter performance. r=dao
authorNils Maier <MaierMan@web.de>
Thu, 25 Nov 2010 10:06:28 +0100
changeset 58212 36ffe0ce3a0023bac92cf2ed0c9711c45777fb25
parent 58211 32cd5d95a95f1d34916a49fd7044bb5b106ac098
child 58213 6b37a2942fa72f8db87cc734f9627261c0aae2e2
push id17205
push userdgottwald@mozilla.com
push dateThu, 25 Nov 2010 09:11:03 +0000
treeherdermozilla-central@7662cf45a33b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs611073
milestone2.0b8pre
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 611073 - Replace the inner border color with a regular padding, improving treechildren::-moz-tree-progressmeter performance. r=dao
toolkit/themes/gnomestripe/global/tree.css
toolkit/themes/winstripe/global/tree.css
--- a/toolkit/themes/gnomestripe/global/tree.css
+++ b/toolkit/themes/gnomestripe/global/tree.css
@@ -212,21 +212,22 @@ treechildren::-moz-tree-drop-feedback {
   height: 2px;
   -moz-margin-start: 5px;
 }
 
 /* ::::: tree progress meter ::::: */
 
 treechildren::-moz-tree-progressmeter {
   margin: 2px 4px;
-  border: 2px solid;
-  -moz-border-top-colors: ThreeDShadow -moz-Dialog;
-  -moz-border-right-colors: ThreeDHighlight -moz-Dialog;
-  -moz-border-bottom-colors: ThreeDHighlight -moz-Dialog;
-  -moz-border-left-colors: ThreeDShadow -moz-Dialog;
+  padding: 1px;
+  border: 1px solid;
+  border-top-color: ThreeDShadow;
+  border-right-color: ThreeDHighlight;
+  border-bottom-color: ThreeDHighlight;
+  border-left-color: ThreeDShadow;
   background-color: -moz-Dialog;
   color: ThreeDShadow;
 }
 
 treechildren::-moz-tree-progressmeter(progressUndetermined) {
   list-style-image: url("chrome://global/skin/progressmeter/progressmeter-busy.gif");
 }
 
--- a/toolkit/themes/winstripe/global/tree.css
+++ b/toolkit/themes/winstripe/global/tree.css
@@ -207,21 +207,22 @@ treechildren::-moz-tree-drop-feedback {
   height: 2px;
   -moz-margin-start: 5px;
 }
 
 /* ::::: tree progress meter ::::: */
 
 treechildren::-moz-tree-progressmeter {
   margin: 2px 4px;
-  border: 2px solid;
-  -moz-border-top-colors: ThreeDShadow -moz-Dialog;
-  -moz-border-right-colors: ThreeDHighlight -moz-Dialog;
-  -moz-border-bottom-colors: ThreeDHighlight -moz-Dialog;
-  -moz-border-left-colors: ThreeDShadow -moz-Dialog;
+  padding: 1px;
+  border: 1px solid;
+  border-top-color: ThreeDShadow;
+  border-right-color: ThreeDHighlight;
+  border-bottom-color: ThreeDHighlight;
+  border-left-color: ThreeDShadow;
   background-color: -moz-Dialog;
   color: ThreeDShadow;
 }
 
 treechildren::-moz-tree-progressmeter(progressUndetermined) {
   list-style-image: url("chrome://global/skin/progressmeter/progressmeter-busy.gif");
 }