Fixing the edge case in Yoga with percentage absolute position and infinite constraint
Fixing the edge case in Yoga with percentage absolute position and infinite constraint

Summary: Yoga has an edge case that cause layout to return NaN. This happened when we used absolute position with percentage and infinite constraint in that dimension. This diff fixes that case to default to border+padding

Reviewed By: emilsjolander

Differential Revision: D6199731

fbshipit-source-id: f40ddf00614b2f507848fb35f348a9dfef14b323

facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho