Bug 738998 - Fix tooltip not showing in style editor. r=harth
authorMinarto Margoliono <lie.r.min.g@gmail.com>
Tue, 05 Nov 2013 14:24:16 -0500
changeset 168208 1fde6c44d6ad62aa89fa65d55830c63f33806668
parent 168207 749897db57ac9cc707597dc1ca543d0335e81eb9
child 168209 e8aca8cb2756e03c702269ee9156bfa6f12d7d6b
push id3224
push userlsblakk@mozilla.com
push dateTue, 04 Feb 2014 01:06:49 +0000
treeherdermozilla-beta@60c04d0987f1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersharth
bugs738998
milestone28.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 738998 - Fix tooltip not showing in style editor. r=harth
browser/devtools/styleeditor/styleeditor.css
browser/devtools/styleeditor/styleeditor.xul
--- a/browser/devtools/styleeditor/styleeditor.css
+++ b/browser/devtools/styleeditor/styleeditor.css
@@ -45,20 +45,23 @@ li.error > .stylesheet-info > .styleshee
 }
 
 li.unsaved > hgroup > h1 > .stylesheet-name:before {
   content: "*";
 }
 
 .stylesheet-enabled {
   display: -moz-box;
+  cursor: pointer;
 }
 
 .stylesheet-saveButton {
   display: none;
+  margin-top: 0px;
+  margin-bottom: 0px;
 }
 
 .stylesheet-rule-count,
 li.splitview-active > hgroup > .stylesheet-more > h3 > .stylesheet-saveButton,
 li:hover > hgroup > .stylesheet-more > h3 > .stylesheet-saveButton {
   display: -moz-box;
 }
 
--- a/browser/devtools/styleeditor/styleeditor.xul
+++ b/browser/devtools/styleeditor/styleeditor.xul
@@ -70,29 +70,29 @@
         </div>
       </xul:box> <!-- .splitview-nav-container -->
     </xul:box>   <!-- .splitview-controller -->
     <xul:splitter class="devtools-side-splitter splitview-landscape-splitter"/>
     <xul:box class="splitview-side-details"/>
 
     <div id="splitview-templates" hidden="true">
       <li id="splitview-tpl-summary-stylesheet" tabindex="0">
-        <a class="stylesheet-enabled" tabindex="0" href="#"
-          title="&visibilityToggle.tooltip;"
-          accesskey="&saveButton.accesskey;"></a>
+        <xul:label class="stylesheet-enabled" tabindex="0"
+          tooltiptext="&visibilityToggle.tooltip;"
+          accesskey="&saveButton.accesskey;"></xul:label>
         <hgroup class="stylesheet-info">
           <h1><a class="stylesheet-name" tabindex="0"><xul:label crop="start"/></a></h1>
           <div class="stylesheet-more">
             <h3 class="stylesheet-title"></h3>
             <h3 class="stylesheet-rule-count"></h3>
             <h3 class="stylesheet-error-message"></h3>
             <xul:spacer/>
-            <h3><a class="stylesheet-saveButton"
-                  title="&saveButton.tooltip;"
-                  accesskey="&saveButton.accesskey;">&saveButton.label;</a></h3>
+            <h3><xul:label class="stylesheet-saveButton"
+                  tooltiptext="&saveButton.tooltip;"
+                  accesskey="&saveButton.accesskey;">&saveButton.label;</xul:label></h3>
           </div>
         </hgroup>
       </li>
 
       <xul:box id="splitview-tpl-details-stylesheet" class="splitview-details">
         <xul:resizer class="splitview-portrait-resizer"
                     dir="bottom"
                     element="splitview-resizer-target"/>