Take parent size into account when determining if style dim is defined
Take parent size into account when determining if style dim is defined

Summary: Ensure that a percentage size is only "defined" if the parent size is defined.

Reviewed By: gkassabli

Differential Revision: D4494258

fbshipit-source-id: 36c31444cbd113a820b067fe9e7b9560ae1d4df7

facebook/css-layout,facebook/yoga,facebook/css-layout,yihuang/css-layout,facebook/yoga,facebook/yoga,yihuang/css-layout,facebook/yoga,facebook/yoga,facebook/css-layout,facebook/css-layout,facebook/css-layout,facebook/css-layout,facebook/css-layout,rmarinho/yoga,facebook/yoga,yihuang/css-layout,yihuang/css-layout,rmarinho/yoga,rmarinho/yoga,rmarinho/yoga,facebook/yoga,rmarinho/yoga,rmarinho/yoga,rmarinho/yoga,rmarinho/yoga,facebook/yoga,rmarinho/yoga,yihuang/css-layout,yihuang/css-layout,facebook/css-layout,yihuang/css-layout,facebook/yoga,facebook/yoga,facebook/css-layout,yihuang/css-layout,yihuang/css-layout,yihuang/css-layout,rmarinho/yoga