Backout bug 713852 which causes strange tab appearance due to backout of bug 497995 on mozilla-beta. r=mconley,a=Standard8.
authorRichard Marti <richard.marti@gmail.com>
Mon, 30 Apr 2012 09:28:08 -0400
changeset 11284 028c8a8a8beb6b53a9812a5fd9bac3505203f5ac
parent 11283 3745a9f5d2287b14c9d3f2e5e49cf5ff62984a76
child 11285 834a6df4263e4f86e92927905490d74ab22b59ce
push idunknown
push userunknown
push dateunknown
reviewersmconley, Standard8
bugs713852, 497995
Backout bug 713852 which causes strange tab appearance due to backout of bug 497995 on mozilla-beta. r=mconley,a=Standard8.
mail/themes/gnomestripe/mail/tabmail.css
mail/themes/pinstripe/mail/tabmail.css
mail/themes/qute/mail/tabmail-aero.css
mail/themes/qute/mail/tabmail.css
--- a/mail/themes/gnomestripe/mail/tabmail.css
+++ b/mail/themes/gnomestripe/mail/tabmail.css
@@ -76,19 +76,18 @@ tabpanels {
   -moz-appearance: none;
   background: -moz-linear-gradient(hsla(0, 0%, 100%, .2),
               hsla(0, 0%, 45%, .2) 1px, hsla(0, 0%, 32%, .2) 50%);
   background-position: -5px -2px;
   background-repeat: no-repeat;
   background-size: -moz-calc(100% + 11px) -moz-calc(100% + 7px);
   margin: 0;
   padding: 0;
-  border-width: 4px 5px 3px 6px;
-  border-style: solid;
-  -moz-border-image: url(icons/tab.png) 4 5 3 6 fill repeat stretch;
+  -moz-border-image: url(icons/tab.png) 4 5 3 6 /
+                     4px 5px 3px 6px repeat stretch;
   border-radius: 10px 8px 0 0;
   min-height: 25px; /* reserve space for the sometimes hidden close button */
 }
 
 .tabmail-tab:not(:-moz-lwtheme) {
   color: -moz-menubartext;
 }
 
--- a/mail/themes/pinstripe/mail/tabmail.css
+++ b/mail/themes/pinstripe/mail/tabmail.css
@@ -74,42 +74,43 @@
   -moz-appearance: none;
   background: -moz-linear-gradient(hsla(0, 0%, 100%, .2),
               hsla(0, 0%, 45%, .2) 1px, hsla(0, 0%, 32%, .2) 50%);
   background-position: -5px -2px;
   background-repeat: no-repeat;
   background-size: -moz-calc(100% + 11px) -moz-calc(100% + 11px);
   margin: 0;
   padding: 1px 0 0;
-  border-width: 4px 5px 3px 6px;
-  border-style: solid;
-  -moz-border-image: url(tabs/tab-normal-active.png) 4 5 3 6 fill repeat stretch;
+  -moz-border-image: url(tabs/tab-normal-active.png) 4 5 3 6 /
+                     4px 5px 3px 6px repeat stretch;
   border-radius: 4px 4px 0 0;
   min-height: 23px;
 }
 
 .tabmail-tab[selected="true"] {
-  -moz-border-image: url(tabs/tab.png) 4 5 3 6 fill repeat stretch;
+  -moz-border-image: url(tabs/tab.png) 4 5 3 6 /
+                     4px 5px 3px 6px repeat stretch;
 }
 
 .tabmail-tab[selected="true"]:not(:-moz-lwtheme) {
   background-color: -moz-mac-chrome-active;
 }
 
 
 .tabmail-tab[selected="true"]:not(:-moz-lwtheme):-moz-window-inactive {
   background-color: -moz-mac-chrome-inactive;
 }
 
 .tabmail-tab[selected="true"]:-moz-lwtheme {
   background: transparent;
 }
 
 .tabmail-tab:not([selected="true"]):hover {
-  -moz-border-image: url(tabs/tab-hover-active.png) 4 5 3 6 fill repeat stretch;
+  -moz-border-image: url(tabs/tab-hover-active.png) 4 5 3 6 /
+                     4px 5px 3px 6px repeat stretch;
 }
 
 /* preloading hack: the images used for tab borders need to be
 preloaded to avoid flickering the first time a non-selected tab is
 opened / hovered. */
 #tabs-toolbar::after {
   content: '';
   display: block;
--- a/mail/themes/qute/mail/tabmail-aero.css
+++ b/mail/themes/qute/mail/tabmail-aero.css
@@ -65,19 +65,18 @@
               hsla(0, 0%, 0%, .2)),
               -moz-linear-gradient(-moz-dialog, -moz-dialog);
   background-origin: border-box;
   background-position: 1px 2px;
   background-size: -moz-calc(100% - 2px) -moz-calc(100% - 2px);
   background-repeat: no-repeat;
   margin: 0;
   padding: 2px 0 4px;
-  border-width: 4px 3px 0;
-  border-style: solid;
-  -moz-border-image: url(icons/tab.png) 4 3 0 fill repeat stretch;
+  -moz-border-image: url(icons/tab.png) 4 3 0 /
+                     4px 3px 0 repeat stretch;
   border-radius: 0;
 }
 
 .tabmail-tab:hover {
   background-image: -moz-linear-gradient(bottom, rgba(10%, 10%, 10%, .4) 1px,
                     transparent 1px), -moz-linear-gradient(hsla(0, 0%, 100%, .3) 1px,
                     hsla(0, 0%, 75%, .2) 80%, hsla(0, 0%, 60%, .2)),
                     -moz-linear-gradient(-moz-dialog, -moz-dialog);
--- a/mail/themes/qute/mail/tabmail.css
+++ b/mail/themes/qute/mail/tabmail.css
@@ -65,19 +65,17 @@
               hsla(0, 0%, 0%, .2)),
               -moz-linear-gradient(-moz-dialog, -moz-dialog);
   background-origin: border-box;
   background-position: 1px 2px;
   background-size: -moz-calc(100% - 2px) -moz-calc(100% - 2px);
   background-repeat: no-repeat;
   margin: 0;
   padding: 1px 0 3px;
-  border-width: 4px 3px 0;
-  border-style: solid;
-  -moz-border-image: url(icons/tab.png) 4 3 0 fill repeat stretch;
+  -moz-border-image: url(icons/tab.png) 4 3 0 / 4px 3px 0 repeat stretch;
   height: 26px;
   border-radius: 0;
 }
 
 .tabmail-tab:not(:-moz-lwtheme):not([selected="true"]):hover {
   background-image: -moz-linear-gradient(bottom, rgba(10%, 10%, 10%, .4) 1px,
                     transparent 1px), -moz-linear-gradient(hsla(0, 0%, 100%, .3) 1px,
                     hsla(0, 0%, 75%, .2) 80%, hsla(0, 0%, 60%, .2)),