mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-08 07:53:15 +08:00
Summary: https://github.com/facebook/css-layout/pull/199 - Nodes were measured with the assumption of being text nodes (height depends on width) when determining flex basis. This is not always true. Even when we are just interested in the main axis (flex basis) we need to correctly constrain the cross axis. - Some tests were wrong. Measuring texts.big and expecting it to have textSizes.smallHeight which doesn't make a lot of sense. Reviewed By: vjeux Differential Revision: D3510163 fbshipit-source-id: ee53b548dd078005fdd153d279e4c7fef3dd02d0
16 lines
611 B
Plaintext
16 lines
611 B
Plaintext
The source of truth for css-layout is: https://github.com/facebook/css-layout
|
|
|
|
The code here should be kept in sync with GitHub.
|
|
HEAD at the time this code was synced: https://github.com/facebook/css-layout/commit/ca34ff44460bce122d02b27c0409a825f8de90b1
|
|
|
|
There is generated code in:
|
|
- README (this file)
|
|
- fbandroid/java/com/facebook/csslayout
|
|
- fbandroid/javatests/com/facebook/csslayout
|
|
- fbobjc/Libraries/FBReactKit/js/react-native-github/React/Layout
|
|
|
|
The code was generated by running 'make' in the css-layout folder and running:
|
|
|
|
scripts/sync-css-layout.sh <pathToGithubRepo> <pathToFbSourceRepo>
|
|
|