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
d26a3fabd6
Update README.md
2014-09-11 10:47:43 -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
Christopher Chedeau
0708b5eb75
autogen c version of text from js
2014-04-28 13:06:00 -07:00
Christopher Chedeau
e9550a6116
split test utils for c
2014-04-28 12:36:36 -07:00
Christopher Chedeau
6123dbb33b
initial support for string in c
2014-04-28 12:34:04 -07:00
Christopher Chedeau
3de44e88c0
constantify text code
2014-04-28 11:06:29 -07:00
Christopher Chedeau
8ccbef503b
Merge branch 'master' of github.com:vjeux/css-layout
2014-04-27 12:37:43 -07:00
Christopher Chedeau
490a7c74d5
move extractLayoutNode out of layout.js
2014-04-27 12:37:26 -07:00
Christopher Chedeau
faeca4bde5
Positive values in Readme
2014-04-27 12:17:59 -07:00
Christopher Chedeau
a0ffafe37d
support <Text>
2014-04-26 19:02:16 -07:00
Christopher Chedeau
61919a1b2f
text with padding and margin
2014-04-26 17:11:22 -07:00
Christopher Chedeau
8ca7bd0ccb
make text with specific width work. plus a lot of hacks to manage dependencies. need to clean it up
2014-04-26 12:46:21 -07:00
Christopher Chedeau
c06f48c45f
initial support for text layout
2014-04-26 12:16:27 -07:00
Christopher Chedeau
6fdd724820
backport changes to C
2014-04-25 15:46:56 -07:00
Christopher Chedeau
f97230d418
document loop D
2014-04-25 15:13:18 -07:00
Christopher Chedeau
b3a0be5837
finish the documentation of loop C
2014-04-25 13:28:56 -07:00
Christopher Chedeau
e0d3d07261
document loop c
2014-04-24 17:14:55 -07:00
Christopher Chedeau
827503948f
document loop B
2014-04-24 10:03:05 -07:00
Christopher Chedeau
7b6ff98487
add comments for loop A
2014-04-23 15:03:17 -07:00
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
c63281a064
update C
2014-04-22 17:37:55 -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
aad9fab75f
port latest updates to C
2014-04-22 14:59:59 -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
66096e2ca6
Add border: 0 solid default
2014-04-22 11:53:56 -07:00
Christopher Chedeau
7419f26dd8
Support for negative spacing in README!
2014-04-22 11:53:11 -07:00
Christopher Chedeau
e9f45ef4e9
yay, now supports negative spacing!
2014-04-22 11:51:21 -07:00