Bug 528472 - Hide tooltips in desktop Fennec builds [r=mfinkle]
authorMatt Brubeck <mbrubeck@mozilla.com>
Sun, 13 Jun 2010 22:00:12 -0400
changeset 66280 856ebbdc78055bd4f03a87c8d5042d7d8b650cd1
parent 66279 3c139d1d5c90d9b34c309c9a51accd8d175a951e
child 66281 d098b16ce883a2c4e83b943e65c7f046aeacc6d9
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs528472
Bug 528472 - Hide tooltips in desktop Fennec builds [r=mfinkle]
mobile/chrome/content/browser.xul
mobile/themes/hildon/platform.css
--- a/mobile/chrome/content/browser.xul
+++ b/mobile/chrome/content/browser.xul
@@ -523,9 +523,11 @@
   </stack>
 
   <box>
     <html:div style="position: relative; overflow: -moz-hidden-unscrollable; max-width: 0px; max-height: 0px; visibility: hidden;">
       <html:div id="browsers" style="position: absolute;"/>
     </html:div>
   </box>
 
+  <tooltip default="true" id="default-tooltip"/>
+
 </window>
--- a/mobile/themes/hildon/platform.css
+++ b/mobile/themes/hildon/platform.css
@@ -59,16 +59,20 @@ label {
 
 /* Override any OS inverse themes */
 richlistbox,
 textbox {
   color: black;
   background-color: white;
 }
 
+#default-tooltip {
+  visibility: hidden; /* disabled in Fennec */
+}
+
 /* textboxes --------------------------------------------------------------- */
 textbox:not([type="number"]) {
   min-height: 48px;
   border: 3px solid #262629;
   -moz-border-radius: 8px;
   -moz-border-top-colors: -moz-initial;
   -moz-border-right-colors: -moz-initial;
   -moz-border-bottom-colors: -moz-initial;