Bug 1298008 Part 6: Update a devtools test that checks the computed values of auto margins in the box model. r=gl
authorBrad Werth <bwerth@mozilla.com>
Mon, 02 Apr 2018 09:01:34 -0700
changeset 411388 55602e9462ae04c0023339cda4b10ffa40d481c3
parent 411387 3b3b14692cc451d37e33ef468871dbc26604f349
child 411389 173ac8b5a196d1159acb4ed4f1ddf52f28de50ba
push id101643
push userdluca@mozilla.com
push dateTue, 03 Apr 2018 04:25:27 +0000
treeherdermozilla-inbound@ac667545d8aa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgl
bugs1298008
milestone61.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 1298008 Part 6: Update a devtools test that checks the computed values of auto margins in the box model. r=gl MozReview-Commit-ID: KBR8GkynhzV
devtools/client/inspector/boxmodel/test/browser_boxmodel_pseudo-element.js
--- a/devtools/client/inspector/boxmodel/test/browser_boxmodel_pseudo-element.js
+++ b/devtools/client/inspector/boxmodel/test/browser_boxmodel_pseudo-element.js
@@ -48,25 +48,25 @@ const res1 = [
     value: "32"
   },
   {
     selector: ".boxmodel-margin.boxmodel-top > span",
     value: 0
   },
   {
     selector: ".boxmodel-margin.boxmodel-left > span",
-    value: 0
+    value: 4 // (100 - (10 * 2) - (20 * 2) - 32) / 2
   },
   {
     selector: ".boxmodel-margin.boxmodel-bottom > span",
     value: 6
   },
   {
     selector: ".boxmodel-margin.boxmodel-right > span",
-    value: 0
+    value: 4 // (100 - (10 * 2) - (20 * 2) - 32) / 2
   },
   {
     selector: ".boxmodel-padding.boxmodel-top > span",
     value: 0
   },
   {
     selector: ".boxmodel-padding.boxmodel-left > span",
     value: 0