Files
yoga/tests
Sidharth Guglani b88cf7ff67 use owner's width for resolving the margin and padding for node
Summary:
The margin and padding are resolved incorrectly for leaf nodes (nodes with measure function set) if margin and padding are used in percentages.
Here we were using node's width instead of container width to calculate the margin and padding.

Fixed this to use container's width.

## Changelog:

[General][Yoga] : Fixed an issue where margin and padding were resolved incorrectly for leaf nodes (nodes with measure function set) if margin and padding are used in percentages.

Reviewed By: alickbass

Differential Revision: D17130520

fbshipit-source-id: ac904d432f121973e7739debd9136909b5ca1427
2019-11-15 05:13:34 -08:00
..
2019-10-15 10:36:38 -07:00
2019-10-15 10:36:38 -07:00
2019-10-15 10:36:38 -07:00
2019-10-15 10:36:38 -07:00
2019-10-15 10:36:38 -07:00
2019-10-15 10:36:38 -07:00
2019-10-15 10:36:38 -07:00
2019-10-15 10:36:38 -07:00
2019-10-15 10:36:38 -07:00
2019-10-15 10:36:38 -07:00
2019-10-15 10:36:38 -07:00
2019-10-15 10:36:38 -07:00
2019-10-15 10:36:38 -07:00
2019-10-15 10:36:38 -07:00
2019-10-15 10:36:38 -07:00
2019-10-15 10:36:38 -07:00
2019-10-15 10:36:38 -07:00
2019-10-15 10:36:38 -07:00
2019-10-15 10:36:38 -07:00
2019-10-15 10:36:38 -07:00
2019-10-15 10:36:38 -07:00