Commit Graph

78 Commits

Author SHA1 Message Date
Christopher Chedeau
75623c7070 setDimension helper 2014-04-23 14:21:24 -07:00
Christopher Chedeau
5686e2d1bb isFlex helper 2014-04-23 14:18:18 -07:00
Christopher Chedeau
1937e5aacf remove a local variable 2014-04-23 14:16:04 -07:00
Christopher Chedeau
3dbd168938 handle negative margin and min padding correctly 2014-04-22 17:33:08 -07:00
Christopher Chedeau
01ccc098c9 handle negative width properly 2014-04-22 17:19:21 -07:00
Christopher Chedeau
fa2f7080e2 fix reduce from being called on every single test.
stretch now won't go below the padding
2014-04-22 13:32:45 -07:00
Christopher Chedeau
db510d590a port changes to C 2014-04-22 13:20:51 -07:00
Christopher Chedeau
e9f45ef4e9 yay, now supports negative spacing! 2014-04-22 11:51:21 -07:00
Christopher Chedeau
a22194b6c0 support border and position absolute for cross axis 2014-04-22 11:44:19 -07:00
Christopher Chedeau
b6f3bbc3b8 absolute child and parent border main axis. s/getPadding/getPaddingAndBorder/ 2014-04-22 11:40:31 -07:00
Christopher Chedeau
3d280fe3f1 initial support for borderWidth 2014-04-22 11:31:42 -07:00
Christopher Chedeau
5922c88f84 double flex and position absolute 2014-04-22 10:21:17 -07:00
Christopher Chedeau
a18bc27c6b flex and position absolute 2014-04-22 10:02:33 -07:00
Christopher Chedeau
f564effb5c flex overflow 2014-04-22 09:56:48 -07:00
Christopher Chedeau
4dd147e92a multiple flex and margin 2014-04-22 09:53:54 -07:00
Christopher Chedeau
fce826f18b multiple flex and padding 2014-04-22 09:48:33 -07:00
Christopher Chedeau
bda6b23b8b flex and main axis margin 2014-04-22 09:38:17 -07:00
Christopher Chedeau
f5b738338d auto reduce test cases in randomly generated tests and fix position absolute within space-around 2014-04-22 09:32:49 -07:00
Christopher Chedeau
78315b5bbf absolute, left, marginLeft 2014-04-21 18:45:57 -07:00
Christopher Chedeau
6da9e221d6 absolute, top and marginTop 2014-04-21 18:45:01 -07:00
Christopher Chedeau
b11c04ed0f cross axis left and padding 2014-04-21 18:40:00 -07:00
Christopher Chedeau
756babcdb7 position: absolute, top and left 2014-04-21 18:34:28 -07:00
Christopher Chedeau
39cc1e9b01 position: absolute should respect cross padding 2014-04-21 17:31:04 -07:00
Christopher Chedeau
d5b5ccf56b specific width and stretch should favor the specific width 2014-04-21 17:16:32 -07:00
Christopher Chedeau
a17fc43756 handling when height/width is smaller than the padding 2014-04-21 17:07:05 -07:00
Christopher Chedeau
9760cfd323 position: absolute and alignSelf 2014-04-21 14:58:44 -07:00
Christopher Chedeau
72e2d959f2 handle position: absolute margin as child correctly 2014-04-21 14:53:02 -07:00
Christopher Chedeau
ddcca9107b support position: absolute without top/left/bottom/right set 2014-04-21 14:29:17 -07:00
Christopher Chedeau
f34ed85833 s/unsigned int/int/g 2014-04-18 13:17:47 -07:00
Christopher Chedeau
8317054606 make a separate file for the code generation 2014-04-18 12:10:02 -07:00
Christopher Chedeau
803aabf37f extract layoutNode 2014-04-18 11:53:28 -07:00
Christopher Chedeau
ada35b9ba6 auto-gen the C code 2014-04-18 10:37:01 -07:00
Christopher Chedeau
e3430169c0 isDimDefined helper 2014-04-18 10:11:37 -07:00
Christopher Chedeau
f55bece86e constantify css values for easier port 2014-04-18 10:08:16 -07:00
Christopher Chedeau
8af40c07ce replace math.math with ternary 2014-04-18 10:00:46 -07:00
Christopher Chedeau
1067fd5997 replace forEach with standard for loop 2014-04-18 09:59:20 -07:00
Christopher Chedeau
03da8ea411 replace === to == in order to make the c conversion easier 2014-04-18 09:56:57 -07:00
Christopher Chedeau
28d2e3c352 make children always present in the layout function 2014-04-18 09:54:58 -07:00
Christopher Chedeau
74644cfe41 isUndefined helper to make js and c closer 2014-04-18 09:40:09 -07:00
Christopher Chedeau
6ac385b234 remove useless top/left setting 2014-04-18 09:30:02 -07:00
Christopher Chedeau
47faaffef2 remove horizontal/vertical support 2014-04-18 09:06:22 -07:00
Christopher Chedeau
fb9534eed5 support relative right and bottom 2014-04-16 16:31:38 -07:00
Christopher Chedeau
7f40bf084b space-around with padding 2014-04-16 16:12:24 -07:00
Christopher Chedeau
2471dbe49a simple top left 2014-04-16 15:26:15 -07:00
Christopher Chedeau
93ee721ba8 wooooot, padding works! 2014-04-16 15:09:53 -07:00
Christopher Chedeau
a67c193bef stretch and padding round 2 2014-04-16 13:32:05 -07:00
Christopher Chedeau
5a653ef94b padding and stretch 2014-04-16 13:21:30 -07:00
Christopher Chedeau
04fefdb87a cross padding and margin 2014-04-16 13:15:00 -07:00
Christopher Chedeau
d6abb5d51f make node the first argument of getPadding/getMargin 2014-04-16 12:51:55 -07:00
Christopher Chedeau
d607b8bb7a padding with a child 2014-04-16 12:49:31 -07:00