Commit Graph

9 Commits

Author SHA1 Message Date
Emil Sjolander
a43b813517 Add test generation scripts
Summary:
Add first version of test generation script. Currently works for most layouts and styles. Probably has a bunch of broken edge-case.

Usage:
$ gentest/gentest.sh
<Enter HTML with inline styles> e.g. <div style="width: 100px; height: 100px;"></div>
Open chrome dev tools console tab.
Copy code from console into file and save.
Run buck test //:CSSLayout

Differential Revision: D3697812

fbshipit-source-id: e6809f95bf6782e7e2cc47b9cdd3a25a13163c5c
2016-08-11 11:52:44 -07:00
FBShipIt
fdd8552c4e Import new C source of truth css-layout
fbshipit-source-id: e866918d6c62fc1cf3a04c269f782b94db9b875a
2016-07-25 15:53:07 +01:00
Emil Sjölander
57874a1a9e Revert "Correctly size cross axis when measuring flex basis" 2016-07-13 10:42:03 +01:00
Emil Sjolander
ca34ff4446 Correctly size cross axis when measuring flex basis 2016-07-08 16:05:21 +01:00
daviskoh
49e39dc299 add npm-debug.log to gitignore 2015-02-04 22:40:16 -05:00
daviskoh
ce4f64dc73 Add Karma Test Runner
* update package.json w/ karma dependencies
* add npm test script
* add node_modules to .gitignore
2015-02-04 21:45:10 -05:00
Christopher Chedeau
28243156e4 make C and Java tests pass and update their code 2014-12-11 20:23:53 +00:00
Andy Street
6d93c20610 Java 2014-10-07 16:22:27 -07:00
Christopher Chedeau
99c0eb7b6b gitignore 2014-04-18 09:40:31 -07:00