Bug 1509194 - Temporarily stop using view-tab binding to make tests work again; rs=bustage-fix
☠☠ backed out by 601a4bad47a1 ☠ ☠
authorGeoff Lankow <geoff@darktrojan.net>
Thu, 22 Nov 2018 17:14:03 +1300
changeset 33753 4ddaece5b9625bc57152af84385bd4f66d0c6195
parent 33752 aa31b79e0b50b35696312451bb25664b3e998a81
child 33754 601a4bad47a152d738a6fed92ae56933962dfe87
push id388
push userclokep@gmail.com
push dateMon, 28 Jan 2019 20:54:56 +0000
reviewersbustage-fix
bugs1509194
Bug 1509194 - Temporarily stop using view-tab binding to make tests work again; rs=bustage-fix
calendar/base/content/widgets/calendar-widget-bindings.css
calendar/base/themes/common/widgets/calendar-widgets.css
calendar/base/themes/linux/calendar-views.css
calendar/base/themes/osx/calendar-views.css
calendar/base/themes/windows/calendar-views.css
--- a/calendar/base/content/widgets/calendar-widget-bindings.css
+++ b/calendar/base/content/widgets/calendar-widget-bindings.css
@@ -32,19 +32,15 @@ minimonth-header {
 minimonth-header[readonly="true"] {
   -moz-binding: url("chrome://calendar/content/widgets/minimonth.xml#minimonth-header");
 }
 
 dragndropContainer {
    -moz-binding: url(chrome://calendar/content/widgets/calendar-widgets.xml#dragndropContainer);
 }
 
-tab[calview] {
-   -moz-binding: url(chrome://calendar/content/widgets/calendar-widgets.xml#view-tab);
-}
-
 calendar-list-tree {
    -moz-binding: url(chrome://calendar/content/widgets/calendar-list-tree.xml#calendar-list-tree);
 }
 
 calendar-list-tree[type="full"] {
    -moz-binding: url(chrome://calendar/content/widgets/calendar-list-tree.xml#full-calendar-list-tree);
 }
--- a/calendar/base/themes/common/widgets/calendar-widgets.css
+++ b/calendar/base/themes/common/widgets/calendar-widgets.css
@@ -65,25 +65,16 @@ checkbox.treenode-checkbox > .checkbox-l
 .view-navigation-button > .toolbarbutton-icon {
   margin: 0 !important;
 }
 
 .view-navigation-button > .toolbarbutton-text  {
   display: none;
 }
 
-.selected-text {
-    font-weight: bold;
-}
-
-.selected-text:not([selected="true"]),
-.unselected-text[selected="true"] {
-    visibility: hidden;
-}
-
 .categories-listbox {
     -moz-appearance: none;
     background-color: Menu;
     color: MenuText;
     margin: 0 0 4px 0;
     border: 0;
 }
 
--- a/calendar/base/themes/linux/calendar-views.css
+++ b/calendar/base/themes/linux/calendar-views.css
@@ -23,16 +23,17 @@
 
 tab[calview] {
     color: ButtonText;
     margin-bottom: 0;
 }
 
 tab[calview][selected="true"] {
     background-color: -moz-Field;
+    font-weight: bold;
 }
 
 tab[calview] > .tab-middle {
     margin-top: 3px;
     margin-bottom: 3px;
 }
 
 .navigation-bottombox {
--- a/calendar/base/themes/osx/calendar-views.css
+++ b/calendar/base/themes/osx/calendar-views.css
@@ -75,16 +75,17 @@ agenda-richlist-item[status="CANCELLED"]
 tab[calview] {
     color: #2e4e73;
     padding-top: 4px;
 }
 
 tab[calview][selected="true"] {
     background-color: #fff;
     color: inherit;
+    font-weight: bold;
 }
 
 tab[calview] > .tab-middle {
     padding: 0;
 }
 
 .view-header {
     margin-top: 3px;
--- a/calendar/base/themes/windows/calendar-views.css
+++ b/calendar/base/themes/windows/calendar-views.css
@@ -24,16 +24,17 @@
 }
 
 tab[calview] {
     color: ButtonText;
 }
 
 tab[calview][selected="true"] {
     background-color: -moz-Field;
+    font-weight: bold;
 }
 
 .navigation-inner-box > hbox {
     padding-top: 1px;
 }
 
 .navigation-bottombox {
     background-color: -moz-Field;