Fix shrinking in non strech alignments

Summary:
This fixes shrinking of elements which are in a non stretch alignment

Fixes #633
Closes https://github.com/facebook/yoga/pull/634

Differential Revision: D5874862

Pulled By: emilsjolander

fbshipit-source-id: 1426aa6b60f6ba42c2be702e6f24cea935ab7acb
This commit is contained in:
Lukas Wöhrl
2017-09-20 13:17:34 -07:00
committed by Facebook Github Bot
parent 7217471427
commit a77aa9a41e
6 changed files with 288 additions and 1 deletions

View File

@@ -184,3 +184,10 @@
</div>
</div>
<div id="align_flex_start_with_shrinkin_children" style="height: 500px; width: 500px">
<div style="align-items: flex-start;">
<div style="flex-grow: 1; flex-shrink: 1;">
<div style="flex-grow: 1; flex-shrink: 1;"></div>
</div>
</div>
</div>