Bug 955551 - Buddy tooltips have incorrect sizes - better workaround, r=clokep.
authorFlorian Quèze <florian@instantbird.org>
Mon, 11 Nov 2013 22:15:52 +0100
changeset 19235 97aa44cd53c94a5e0389933a6acdc7851e373fc9
parent 19234 f8360848d2b1d40ef82e3c6e06b2aa77445f4b5c
child 19236 7dd72d970c549e3a279d31290f0bdcffa1c56a55
push id1103
push usermbanner@mozilla.com
push dateTue, 18 Mar 2014 07:44:06 +0000
treeherdercomm-beta@50c6279a0af0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersclokep
bugs955551
Bug 955551 - Buddy tooltips have incorrect sizes - better workaround, r=clokep.
im/content/buddytooltip.xml
--- a/im/content/buddytooltip.xml
+++ b/im/content/buddytooltip.xml
@@ -441,15 +441,16 @@
                                                              "buddies");
        let buddy;
        while ((buddy = buddies.firstChild))
          buddies.removeChild(buddy);
 
 #ifdef XP_MACOSX
        // Since Mozilla 22, tooltips don't seem to shrink automatically after
        // being shown once at a large size. Not sure if it's temporary or not.
-       this.sizeTo(200, 0);
+       this.removeAttribute("width");
+       this.removeAttribute("height");
 #endif
        ]]>
      </handler>
     </handlers>
   </binding>
 </bindings>