Skip to content

Commit

Permalink
Wrote unit-tests for flexbox layout
Browse files Browse the repository at this point in the history
Fixed a small bug with != Some(LayoutPosition::Absolute) instead
of == Some(LayoutPosition::Absolute). Right now the space is evenly
distributed, as expected: the paddings are respected (haven't tested
margins yet). However, the max-width isn't respected, likely because
that's not part of flexbox. That may need a seperate pass after the
initial flex solver in order to work correctly.
  • Loading branch information
fschutt committed Oct 9, 2018
1 parent 7d23307 commit 444c58f
Showing 1 changed file with 349 additions and 120 deletions.

0 comments on commit 444c58f

Please sign in to comment.