Revert "Ensure that flex children adopt their parent's cross-axis min dimension."

This reverts commit b8316413b3.

This was causing issues for existing components built with React
Native.. we need to investigate more in the future.
This commit is contained in:
Andrew Rasmussen
2015-05-01 12:16:47 -07:00
parent 5f52e947cb
commit 86c39b5e4f
6 changed files with 132 additions and 163 deletions

View File

@@ -1513,7 +1513,7 @@ describe('Layout', function() {
);
});
it('should layout minHeight with a flex child', function() {
xit('should layout minHeight with a flex child', function() {
testLayout(
{style: {minHeight: 800}, children: [
{style: {flex: 1}}
@@ -1524,17 +1524,6 @@ describe('Layout', function() {
);
});
it('should layout minHeight without a flex child', function() {
testLayout(
{style: {minHeight: 800}, children: [
{style: {}}
]},
{width: 0, height: 800, top: 0, left: 0, children: [
{width: 0, height: 0, top: 0, left: 0}
]}
);
});
xit('should layout node with a nested sibling child with width', function() {
testLayout(
{style: {}, children: [