Support ROW_REVERSE, COLUMN_REVERSE and RTL direction

This commit is contained in:
Lucas Rocha
2015-05-06 21:22:44 +01:00
parent 8cdf0d0228
commit 36a46673f9
16 changed files with 6112 additions and 864 deletions

View File

@@ -88,7 +88,7 @@ css_dim_t measure(void *context, float width) {
}
void test(const char *name, css_node_t *style, css_node_t *expected_layout) {
layoutNode(style, CSS_UNDEFINED);
layoutNode(style, CSS_UNDEFINED, -1);
if (!are_layout_equal(style, expected_layout)) {
printf("%sF%s", "\x1B[31m", "\x1B[0m");