react-native/ReactCommon
Yuichi ONO f751c3460e Fix main size calculation from the aspect ratio
Summary:
When the following conditions are met, the main size become smaller by the margins in the main axis.
* The aspect ratio is defined
* The main size is not defined
* The cross size is defined
* The main margin is defined

This is because the main margin size is not included when calculating the main size from the aspect ratio.
Closes https://github.com/facebook/yoga/pull/715

Reviewed By: emilsjolander

Differential Revision: D6998988

Pulled By: priteshrnandgaonkar

fbshipit-source-id: f6f69c47ece17bd7c5e41517b96032bf0c149356
2018-02-15 07:26:52 -08:00
..
cxxreact JSIExecutor Bundle Splitting Support 2018-02-09 03:45:37 -08:00
jschelpers Skylarkify RN defs. 2018-02-08 09:47:28 -08:00
jsinspector Forward VM version to inspector 2018-02-13 08:16:50 -08:00
microprofiler Skylarkify RN defs. 2018-02-08 09:47:28 -08:00
privatedata Skylarkify RN defs. 2018-02-08 09:47:28 -08:00
yoga Fix main size calculation from the aspect ratio 2018-02-15 07:26:52 -08:00