Bug 1430371 - Stop using -moz-border-*-colors for treechildren::-moz-tree-progressmeter on Mac. r?ntim draft
authorDão Gottwald <dao@mozilla.com>
Sat, 13 Jan 2018 10:27:22 +0100
changeset 720016 fc280aff9656b3e636b3436402cb089cfed84378
parent 719928 f5b4481c9fd50becb35cef02b599198b766fb1bb
child 745960 8841885b9c90eb70c655747e5bfd5a023114d769
push id95430
push userdgottwald@mozilla.com
push dateSat, 13 Jan 2018 09:28:00 +0000
reviewersntim
bugs1430371
milestone59.0a1
Bug 1430371 - Stop using -moz-border-*-colors for treechildren::-moz-tree-progressmeter on Mac. r?ntim MozReview-Commit-ID: 8eal7OVHsjH
toolkit/themes/linux/global/tree.css
toolkit/themes/osx/global/tree.css
toolkit/themes/windows/global/tree.css
--- a/toolkit/themes/linux/global/tree.css
+++ b/toolkit/themes/linux/global/tree.css
@@ -175,20 +175,17 @@ treechildren::-moz-tree-drop-feedback {
 }
 
 /* ::::: tree progress meter ::::: */
 
 treechildren::-moz-tree-progressmeter {
   margin: 2px 4px;
   padding: 1px;
   border: 1px solid;
-  border-top-color: ThreeDShadow;
-  border-right-color: ThreeDHighlight;
-  border-bottom-color: ThreeDHighlight;
-  border-left-color: ThreeDShadow;
+  border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow;
   background-color: -moz-Dialog;
   color: ThreeDShadow;
 }
 
 treechildren::-moz-tree-cell-text(progressmeter) {
   margin: 2px 4px;
 }
 
--- a/toolkit/themes/osx/global/tree.css
+++ b/toolkit/themes/osx/global/tree.css
@@ -143,21 +143,18 @@ treechildren::-moz-tree-drop-feedback {
   height: 2px;
   margin-inline-start: 5px;
 }
 
 /* ::::: tree progress meter ::::: */
 
 treechildren::-moz-tree-progressmeter {
   margin: 2px 4px;
-  border: 2px solid;
-  -moz-border-top-colors: #AAAAAA #000000;
-  -moz-border-right-colors: #FFFFFF #000000;
-  -moz-border-bottom-colors: #FFFFFF #000000;
-  -moz-border-left-colors: #AAAAAA #000000;
+  border: 1px solid;
+  border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow;
 }
 
 treechildren::-moz-tree-cell-text(progressmeter) {
   margin: 2px 4px;
   -moz-appearance: progressbar;
 }
 
 /* ::::: tree columns ::::: */
--- a/toolkit/themes/windows/global/tree.css
+++ b/toolkit/themes/windows/global/tree.css
@@ -174,20 +174,17 @@ treechildren::-moz-tree-drop-feedback {
 }
 
 /* ::::: tree progress meter ::::: */
 
 treechildren::-moz-tree-progressmeter {
   margin: 2px 4px;
   padding: 1px;
   border: 1px solid;
-  border-top-color: ThreeDShadow;
-  border-right-color: ThreeDHighlight;
-  border-bottom-color: ThreeDHighlight;
-  border-left-color: ThreeDShadow;
+  border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow;
   background-color: -moz-Dialog;
   color: ThreeDShadow;
 }
 
 treechildren::-moz-tree-cell-text(progressmeter) {
   margin: 2px 4px;
 }