negative top/left tests

This commit is contained in:
Christopher Chedeau
2014-04-16 16:14:25 -07:00
parent 7f40bf084b
commit 88f7e70abe

View File

@@ -599,8 +599,8 @@ describe('Layout', function() {
var node = {style: {}};
randMinMax(node, 0.1, 'width', 0, 1000);
randMinMax(node, 0.1, 'height', 0, 1000);
randMinMax(node, 0.1, 'top', 0, 10);
randMinMax(node, 0.1, 'left', 0, 10);
randMinMax(node, 0.1, 'top', -10, 10);
randMinMax(node, 0.1, 'left', -10, 10);
randSpacing(node, 0.1, 'margin', 0, 20);
randSpacing(node, 0.1, 'padding', 0, 20);
randEnum(node, 0.1, 'flexDirection', ['row', 'column']);