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 348199 b66398167216f8c1caabcdfca0c5742c6e9ce207
parent 348196 b47db00299f4aae7c30df3d05e22a3fadddd0204
child 348200 77b0e80d2bd3c7605682686d384b6dea62a4540e
push id39092
push userkwierso@gmail.com
push dateFri, 17 Mar 2017 18:14:05 +0000
treeherderautoland@88576fd417e7 [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 {