Christopher Chedeau
79286e6263
fix positive margin top inside of justify content center container
2014-12-11 14:31:17 +00:00
Christopher Chedeau
570f7bf98a
fix test case not passing because of div by 0
2014-12-11 14:22:04 +00:00
Christopher Chedeau
5a3303ac5e
fix bug with negative margin inside of a justifyContent: center container
2014-12-11 14:12:12 +00:00
Christopher Chedeau
ef73ebd935
add tests for flexWrap
2014-12-11 13:57:03 +00:00
Christopher Chedeau
e0bcbdcfc1
more tweaks to the pretty print function
2014-12-11 13:56:29 +00:00
Christopher Chedeau
0f9b777623
better way to ignore iframe width
2014-12-11 13:44:03 +00:00
Christopher Chedeau
fde2328ba6
better pretty-print function
2014-12-11 13:30:46 +00:00
Christopher Chedeau
8031cbe134
do not infinite loop on random layouts anymore
2014-12-11 12:17:40 +00:00
Felix Oghină
5ab64a699f
Add jsr305, couple of @Nullable annotations
2014-12-05 14:59:25 +00:00
Krzysztof Magiera
fbd14263f9
Move isUndefined check to CSSConstants in java code
2014-12-02 22:30:44 +00:00
Krzysztof Magiera
e5ef35e6ff
Minor fixes in improvements in Java code.
2014-12-02 18:52:57 +00:00
Felix Oghină
8903bb15c6
Add support for paddingVertical, paddingHorizontal, borderVertical, borderHorizontal
...
* implement padding & border as arrays of values
* apply padding & border with the correct priority (e.g. left, horizontal, all)
* update transpiler & tests
2014-11-20 17:59:40 +00:00
Felix Oghină
6ee0c5817c
Add support for marginVertical and marginHorizontal
...
* implement margin as an array of values
* apply margins with the correct priority (e.g. left, horizontal, all)
* update transpiler & tests
2014-11-20 17:28:54 +00:00
Christopher Chedeau
c2aa92cd0b
Add licenses and remove third party libraries
2014-10-29 08:01:22 -07:00
Andy Street
3d91ccf7ad
Addressing comments on code review: Updates markLayoutApplied->markLayoutSeen and makes sure whenever we dirty if and only if we update a value.
2014-10-08 15:42:51 -07:00
Christopher Chedeau
c0f895c6f2
Make align-items: stretch the default
2014-10-08 09:35:44 -07:00
Andy Street
6d93c20610
Java
2014-10-07 16:22:27 -07:00
Andrew Rasmussen
7eef01f299
make setting bottom/right calculate top/left
2014-09-30 15:24:42 -07:00
Andrew Rasmussen
91786cd2c7
make isUndefined public, add CSS_POSITION_COUNT back
2014-09-30 13:18:03 -07:00
Andrew Rasmussen
0ae8bcf8f6
Add second position: absolute pass
2014-09-30 13:11:32 -07:00
Andrew Rasmussen
c149d3110d
rename position: absolute test case
2014-09-29 14:07:47 -07:00
Christopher Chedeau
c226656e8f
Merge pull request #11 from frantic/keep-consts-in-sync
...
Add test that makes sure text consts are in sync
2014-09-27 07:19:19 -07:00
Alex Kotliarskyi
308d0edc0b
Add test that makes sure text consts are in sync
2014-09-26 20:38:34 -07:00
Alex Kotliarskyi
ba4cf35804
Return bad error code when tests fail
2014-09-26 20:08:37 -07:00
Alex Kotliarskyi
08095b7d2c
Travis CI integration
2014-09-26 18:54:34 -07:00
Alex Kotliarskyi
b6b7849740
Ignore skipped tests
2014-09-26 17:52:27 -07:00
Alex Kotliarskyi
a047e4d5fe
Automated script to transpile code and tests to C
2014-09-26 17:19:59 -07:00
Christopher Chedeau
6653d955c0
Merge pull request #5 from frantic/refactor-tests-step-1
...
Split JS tests into manual and random
2014-09-26 16:02:38 -07:00
Alex Kotliarskyi
2e954232d9
Split JS tests into manual and random
2014-09-26 16:00:56 -07:00
Andrew Rasmussen
e506416fa3
aggregate test failures and print a summary after running tests
2014-09-25 17:56:02 -07:00
Andrew Rasmussen
b91bc8b3fc
rename position: absolute bottom test case
2014-09-25 16:21:20 -07:00
Andrew Rasmussen
6f347d74a3
Added another pass to calclulate absolutely positioned elements last
2014-09-25 16:05:01 -07:00
Christopher Chedeau
d8c1889ba4
use constants for text examples
2014-09-19 18:36:18 -07:00
Christopher Chedeau
9119ebcea6
Make vendor prefix work on safari
2014-09-19 18:26:53 -07:00
Christopher Chedeau
8974b7fdb7
Make variables for text sizes so it is easier to fix when the browser changes
2014-09-19 18:22:09 -07:00
Christopher Chedeau
d7f3ea868d
Import latest changes
2014-09-11 09:23:30 -07:00
Christopher Chedeau
6ecbf80563
correctly support border with right. This is weird that border is ignored but it's the same behavior on both chrome and firefox
2014-06-12 12:06:07 -07:00
Christopher Chedeau
a36820d15e
better handling for padding in a top/bottom or left/right configuration
2014-06-12 11:52:07 -07:00
Christopher Chedeau
900beefa1e
height overrides top+bottom
2014-06-12 11:43:30 -07:00
Christopher Chedeau
51957d5645
main axis padding
2014-06-12 11:36:57 -07:00
Christopher Chedeau
842d654b0f
overlapping left and right + workaround chrome bug
2014-06-12 11:27:49 -07:00
Christopher Chedeau
694e181b8e
split the absolute loop to make main axis work
2014-06-12 10:22:57 -07:00
Christopher Chedeau
1c9749f93e
actually make work left and right
2014-06-12 10:09:42 -07:00
Christopher Chedeau
cc11a535ce
left and right, first pass
2014-06-12 10:05:00 -07:00
Christopher Chedeau
7c157cbb50
right and negative margin
2014-06-11 22:07:36 -07:00
Christopher Chedeau
7506908814
initial position: absolute; right: 5;
2014-06-11 21:44:46 -07:00
Christopher Chedeau
9a45599b84
better print utils
2014-06-11 21:00:57 -07:00
Christopher Chedeau
d2ce2420f4
Lots of changes that I forgot to properly commit
2014-06-04 10:51:23 -07:00
Christopher Chedeau
e53bf49746
fix bug where nested align: stretch were not properly working
...
The way the algorithm work is that you first layout fixed children on the main axis, then compute all the dimensions so that you can layout flexible children. This separation doesn't work anymore if we add the other axis. The solution here is a hacky (but working!) attempt at fixing the issue. We start by doing a pass to set the children dimensions if they are stretch.
2014-05-19 12:43:26 -07:00
Christopher Chedeau
eae5cdfe68
-Weverything and fix all the warnings
2014-05-16 18:04:24 -07:00