Bug 865567 - Remove small box with orange border flickering (on top) when swiping in Snapped View.r=mbrubeck
authorAllison Naaktgeboren <ally@mozilla.com>
Tue, 30 Apr 2013 14:45:22 -0700
changeset 141352 3730657cc0dadedb7ff11b9a9949292c63b16077
parent 141351 e9d66cb5f791794c27c90ce4ab33eb4cca8f72e6
child 141353 77ca8f2074c9c6c4ee18ee03a693b856c94dd63c
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmbrubeck
bugs865567
milestone23.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 865567 - Remove small box with orange border flickering (on top) when swiping in Snapped View.r=mbrubeck
browser/metro/base/content/browser.xul
browser/metro/theme/browser.css
--- a/browser/metro/base/content/browser.xul
+++ b/browser/metro/base/content/browser.xul
@@ -177,17 +177,17 @@
     <key id="key_selectLastTab" oncommand="BrowserUI.selectTabAtIndex(-1);" key="9" modifiers="accel"/>
   </keyset>
 
   <stack id="stack" flex="1">
     <!-- Page Area -->
     <vbox id="page">
       <vbox id="tray" class="tray-toolbar" visible="true" observes="bcast_windowState" >
         <!-- Tabs -->
-        <hbox id="tabs-container">
+        <hbox id="tabs-container" observes="bcast_windowState">
           <box id="tabs" flex="1"
                 observes="bcast_preciseInput"
                 onselect="BrowserUI.selectTabAndDismiss(this);"
                 onclosetab="BrowserUI.closeTab(this);"/>
           <vbox id="tabs-controls">
             <toolbarbutton id="newtab-button" command="cmd_newTab" label="&newtab.label;"/>
           </vbox>
         </hbox>
--- a/browser/metro/theme/browser.css
+++ b/browser/metro/theme/browser.css
@@ -109,16 +109,19 @@
 }
 #tabs > .tabs-scrollbox > .scrollbutton-down:active {
   -moz-image-region: rect(72px 152px 120px 108px) !important;
 }
 #tabs > .tabs-scrollbox > .scrollbutton-down[disabled] {
   -moz-image-region: rect(73px 196px 121px 152px) !important;
 }
 
+#tabs-container[viewstate="snapped"] {
+  visibility: hidden;
+}
 
 @-moz-keyframes open-documenttab {
   0% {
     opacity: 0;
     transform: scale(0, 0);
   }
   
   100% {