Bug 1016039 - Fix switching between tab groups when cursor is on a tab. r=dao
authorMichael Pruett <michael@68k.org>
Sat, 31 May 2014 13:34:58 -0500
changeset 205424 773efcc4ed6bc5ecb556545b0c6377d2e6c04d34
parent 205324 0e6f1d91ca263ba22a2eee4e38ddfe8b4efe0d1f
child 205425 0b5b627caf3ab3b69e1ddacbe9495dcd9ea33e62
push id3741
push userasasaki@mozilla.com
push dateMon, 21 Jul 2014 20:25:18 +0000
treeherdermozilla-beta@4d6f46f5af68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1016039
milestone32.0a1
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 1016039 - Fix switching between tab groups when cursor is on a tab. r=dao
browser/base/content/tabbrowser.xml
--- a/browser/base/content/tabbrowser.xml
+++ b/browser/base/content/tabbrowser.xml
@@ -4718,17 +4718,17 @@
       <field name="_lastAccessed">0</field>
 
       <field name="mOverCloseButton">false</field>
       <field name="mCorrespondingMenuitem">null</field>
       <field name="closing">false</field>
 
       <method name="_mouseenter">
         <body><![CDATA[
-          if (this.closing)
+          if (this.hidden || this.closing)
             return;
 
           let tabContainer = this.parentNode;
           let visibleTabs = tabContainer.tabbrowser.visibleTabs;
           let tabIndex = visibleTabs.indexOf(this);
           if (tabIndex == 0) {
             tabContainer._beforeHoveredTab = null;
           } else {