Bug 1158982 - Using up/down keys moves overview graphs, r=jsantell
authorVictor Porof <vporof@mozilla.com>
Wed, 27 May 2015 15:23:44 -0400
changeset 245993 2f0c78320bd5bbee68904f2f5f63932305bcfc04
parent 245992 4e7838090e0328eeccea46ae0d35c6ae089c60e1
child 245994 f24a709545686e11e175ab27229e2e9210918c70
push id60333
push userryanvm@gmail.com
push dateThu, 28 May 2015 14:20:47 +0000
treeherdermozilla-inbound@8225a3b75df6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjsantell
bugs1158982
milestone41.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 1158982 - Using up/down keys moves overview graphs, r=jsantell
browser/devtools/shared/widgets/graphs-frame.xhtml
browser/themes/shared/devtools/widgets.inc.css
--- a/browser/devtools/shared/widgets/graphs-frame.xhtml
+++ b/browser/devtools/shared/widgets/graphs-frame.xhtml
@@ -10,16 +10,17 @@
   <link rel="stylesheet" href="chrome://browser/skin/devtools/common.css" type="text/css"/>
   <link rel="stylesheet" href="chrome://browser/skin/devtools/widgets.css" ype="text/css"/>
   <script type="application/javascript;version=1.8" src="theme-switching.js"/>
   <style>
     body {
       overflow: hidden;
       margin: 0;
       padding: 0;
+      font-size: 0;
     }
   </style>
 </head>
 <body role="application">
   <div id="graph-container">
     <canvas id="graph-canvas"></canvas>
   </div>
 </body>
--- a/browser/themes/shared/devtools/widgets.inc.css
+++ b/browser/themes/shared/devtools/widgets.inc.css
@@ -918,17 +918,17 @@
 
 .line-graph-widget-tooltip {
   position: absolute;
   border-radius: 2px;
   line-height: 15px;
   -moz-padding-start: 6px;
   -moz-padding-end: 6px;
   transform: translateY(-50%);
-  font-size: 80%;
+  font-size: 0.8rem !important;
   z-index: 1;
   pointer-events: none;
 }
 
 .theme-light .line-graph-widget-tooltip {
   background: rgba(255,255,255,0.75);
 }