Bug 565460: Remove styling for treechildren[alternatingbackground=true], because odd row highlighting is now the default in trees with more than 1 column (Bug 282127). r=dao
authorSteffen Wilberg <steffen.wilberg@web.de>
Fri, 28 May 2010 21:10:28 +0200
changeset 42906 e193ca042f864739341b80b42fde624a89a0ac42
parent 42905 04699f5bf84496975575898edf36980f10fa4fe6
child 42907 9fc485016d40233cf94f277d9ba8066938e2e862
push idunknown
push userunknown
push dateunknown
reviewersdao
bugs565460, 282127
milestone1.9.3a5pre
Bug 565460: Remove styling for treechildren[alternatingbackground=true], because odd row highlighting is now the default in trees with more than 1 column (Bug 282127). r=dao
toolkit/themes/pinstripe/global/tree.css
--- a/toolkit/themes/pinstripe/global/tree.css
+++ b/toolkit/themes/pinstripe/global/tree.css
@@ -326,38 +326,16 @@ treechildren.gridlines::-moz-tree-cell {
   -moz-border-end: 1px solid GrayText;
   border-bottom: 1px solid GrayText;
 }
 
 treechildren.gridlines::-moz-tree-row {
   border: none;
 }
 
-/* ::::: alternating background ::::: */
-
-treechildren[alternatingbackground="true"]::-moz-tree-row(odd) {
-  background-color: -moz-oddtreerow;
-}
-
-treechildren[alternatingbackground="true"]::-moz-tree-row(odd, selected) {
-  background-color: -moz-mac-secondaryhighlight;
-}
-
-treechildren[alternatingbackground="true"]::-moz-tree-cell-text(odd, selected) {
-  color: -moz-DialogText;
-}
-
-treechildren[alternatingbackground="true"]::-moz-tree-row(odd, selected, focus) {
-  background-color: Highlight;
-}
-
-treechildren[alternatingbackground="true"]::-moz-tree-cell-text(odd, selected, focus) {
-  color: HighlightText;
-}
-
 /* ::::: editable tree ::::: */
 
 treechildren::-moz-tree-row(selected, editing) {
   background-color: transparent;
 }
 
 treechildren::-moz-tree-cell-text(selected, editing) {
   color: inherit;