Pierre Renaux
|
019fc9b88c
|
Merge remote-tracking branch 'upstream/master'
|
2015-05-17 21:54:30 +08:00 |
|
Lucas Rocha
|
03dfe7bb17
|
Implement (padding|border|margin)-(start|end) support
|
2015-05-14 17:43:33 +01:00 |
|
Nick Lockwood
|
bf1d7eacfd
|
Fixed spacing for wrapped elements
|
2015-05-12 09:54:02 +01:00 |
|
Lucas Rocha
|
36a46673f9
|
Support ROW_REVERSE, COLUMN_REVERSE and RTL direction
|
2015-05-11 11:24:21 +01:00 |
|
Pierre Renaux
|
14e264f5be
|
Made relevant JS tests transpile to C ; [src/Layout.c]: print_css_node_rec(): print alignContent ; [src/Layout-test-utils.c]: add_failed_test(): Sets failed_test->next to NULL, otherwise the test crashes if there's one and only one failure ; Added type casts so that it can be compiled as C++ by MSVC on Windows ; [Makefile]: Added c_test_msvc target when running in Windows so that the test executable can be built and debugged with Visual Studio on Windows ;
|
2015-05-10 00:20:28 +08:00 |
|
Pierre Renaux
|
cc5f772bff
|
Style fixes ;
|
2015-05-10 00:19:29 +08:00 |
|
Pierre Renaux
|
68d029e460
|
[src/__tests__/Layout-test.js]: Added 16 test cases for each alignContent / alignItems combination - also includes alignSelf testing within the test data ;
|
2015-05-10 00:19:27 +08:00 |
|
Andrew Rasmussen
|
86c39b5e4f
|
Revert "Ensure that flex children adopt their parent's cross-axis min dimension."
This reverts commit b8316413b3 .
This was causing issues for existing components built with React
Native.. we need to investigate more in the future.
|
2015-05-01 12:16:47 -07:00 |
|
Andrew Rasmussen
|
5f52e947cb
|
Fix layout for absolutely positioned nodes with absolutely positioned parents that have border and/or padding
|
2015-04-30 14:40:39 -07:00 |
|
Tadeu Zagallo
|
1cbb5eef26
|
Fix lint errors and consts tests
|
2015-04-24 14:00:40 +01:00 |
|
Russell Keith-Magee
|
b8316413b3
|
Ensure that flex children adopt their parent's cross-axis min dimension.
|
2015-04-07 10:52:15 +08:00 |
|
Christopher Chedeau
|
b912acf8e3
|
Add more failing tests if someone wants to pick them up and have fun :p
|
2015-04-06 16:08:12 -07:00 |
|
Russell Keith-Magee
|
9cf2e71e01
|
Added extra test to check for potential division by zero.
|
2015-04-01 14:46:28 +08:00 |
|
Russell Keith-Magee
|
c523b7c404
|
Added support for min/max width and height constraints.
|
2015-03-31 17:32:54 +08:00 |
|
daviskoh
|
9c71cc6d1f
|
resolve merge conflicts
|
2015-02-17 21:30:41 -05:00 |
|
daviskoh
|
3a6e50db99
|
Address eslint errors:
* modify .eslintrc w/ globals & rules
* use judgement in deciding bet proj style & eslint recommendation
* make
|
2015-02-17 21:12:29 -05:00 |
|
Jimmy Miller
|
8fe8c15e6d
|
Rework javascript api to match README
|
2015-02-15 20:56:37 -05:00 |
|
daviskoh
|
cf9b841e33
|
Fix jshint issues
* add .jshintrc
* address semicolon errors
* ignore 'already defined' errors
|
2015-02-05 19:49:55 -05:00 |
|
Christopher Chedeau
|
0e56641b28
|
Update font constants
|
2015-02-04 07:57:13 -08:00 |
|
Christopher Chedeau
|
d82ec0ddfd
|
add bug reports urls for weird behaviors
|
2014-12-12 15:16:25 +00:00 |
|
Christopher Chedeau
|
1605bdfb1e
|
add weird result from chrome
|
2014-12-12 13:14:18 +00:00 |
|
Christopher Chedeau
|
9001a3d2ac
|
do not infinite loop when there's an element bigger than the container with flex-wrap
|
2014-12-12 12:24:26 +00:00 |
|
Christopher Chedeau
|
10fb645777
|
Initial implementation of flexWrap
|
2014-12-12 12:03:31 +00:00 |
|
Christopher Chedeau
|
e838124625
|
remove support for flex: 0 since chrome behavior is really weird
|
2014-12-11 16:52:38 +00:00 |
|
Christopher Chedeau
|
544f377f20
|
implement 1/64 rounding like chrome. Didn't add a test for it because this is Chrome specific and shouldn't be on ios and android
|
2014-12-11 16:31:57 +00:00 |
|
Christopher Chedeau
|
ab64a5b624
|
fix children with left
|
2014-12-11 15:58:45 +00:00 |
|
Christopher Chedeau
|
ba873aa3d7
|
fix layout border bottom and flex end with an empty child
|
2014-12-11 14:42:31 +00:00 |
|
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
|
c2aa92cd0b
|
Add licenses and remove third party libraries
|
2014-10-29 08:01:22 -07:00 |
|
Christopher Chedeau
|
c0f895c6f2
|
Make align-items: stretch the default
|
2014-10-08 09:35:44 -07:00 |
|
Andrew Rasmussen
|
7eef01f299
|
make setting bottom/right calculate top/left
|
2014-09-30 15:24:42 -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 |
|
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
|
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
|
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 |
|