From a35d4c2216db80aaa0c9acd410572c5a3371ef9e Mon Sep 17 00:00:00 2001 From: Christopher Chedeau Date: Mon, 14 Apr 2014 13:40:05 -0700 Subject: [PATCH] Remove tests for negative margin for now --- spec/LayoutSpec.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/spec/LayoutSpec.js b/spec/LayoutSpec.js index d81d43a5..ae607816 100755 --- a/spec/LayoutSpec.js +++ b/spec/LayoutSpec.js @@ -13,6 +13,7 @@ var iframe = (function() { display: flex; flex-direction: column; align-items: flex-start; + justify-content: flex-start; flex-shrink: 0; margin: 0; @@ -540,11 +541,11 @@ describe('Layout', function() { var node = {style: {}}; randMinMax(node, 0.1, 'width', 0, 1000); randMinMax(node, 0.1, 'height', 0, 1000); - randMinMax(node, 0.1, 'margin', -5, 20); - randMinMax(node, 0.1, 'marginLeft', -5, 20); - randMinMax(node, 0.1, 'marginTop', -5, 20); - randMinMax(node, 0.1, 'marginRight', -5, 20); - randMinMax(node, 0.1, 'marginBottom', -5, 20); + randMinMax(node, 0.1, 'margin', 0, 20); + randMinMax(node, 0.1, 'marginLeft', 0, 20); + randMinMax(node, 0.1, 'marginTop', 0, 20); + randMinMax(node, 0.1, 'marginRight', 0, 20); + randMinMax(node, 0.1, 'marginBottom', 0, 20); randEnum(node, 0.1, 'flexDirection', ['row', 'column']); randEnum(node, 0.1, 'justifyContent', ['flex-start', 'center', 'flex-end', 'space-between', 'space-around']); randChildren(node, 0.2);