Bug 1347619 - Change boxmodel.css to use calc(50% - 1px) instead of 49.5%. r=gl
authorStanford Lockhart <lockhart@cs.dal.ca>
Thu, 16 Mar 2017 18:39:53 -0300
changeset 348187 b66398167216
parent 348186 b47db00299f4
child 348188 77b0e80d2bd3
push id31515
push userkwierso@gmail.com
push dateFri, 17 Mar 2017 18:04:10 +0000
treeherdermozilla-central@23a4b7430dd7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgl
bugs1347619
milestone55.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 1347619 - Change boxmodel.css to use calc(50% - 1px) instead of 49.5%. r=gl MozReview-Commit-ID: 1CA5WgfKNL7
devtools/client/themes/boxmodel.css
--- a/devtools/client/themes/boxmodel.css
+++ b/devtools/client/themes/boxmodel.css
@@ -229,25 +229,25 @@
 
 .boxmodel-position {
   color: var(--theme-highlight-purple);
 }
 
 .boxmodel-position.boxmodel-top,
 .boxmodel-position.boxmodel-bottom {
   border-left: 1px solid var(--theme-highlight-purple);
-  left: 49.5%;
+  left: calc(50% - 1px);
   padding-left: 1px;
 }
 
 .boxmodel-position.boxmodel-right,
 .boxmodel-position.boxmodel-left {
   border-top: 1px solid var(--theme-highlight-purple);
   line-height: 15px;
-  top: 49.5%;
+  top: calc(50% - 1px);
   width: 30px;
 }
 
 .boxmodel-position.boxmodel-top {
   top: -18px;
 }
 
 .boxmodel-position.boxmodel-right {