add failing test
This commit is contained in:
@@ -2397,3 +2397,20 @@ describe('Layout alignContent', function() {
|
|||||||
testAlignContent('flex-end', 'flex-end');
|
testAlignContent('flex-end', 'flex-end');
|
||||||
testAlignContent('flex-end', 'stretch');
|
testAlignContent('flex-end', 'stretch');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe('nested flex', function() {
|
||||||
|
it('should stretch a nested child', function() {
|
||||||
|
testLayout(
|
||||||
|
{children: [
|
||||||
|
{children: [{}]},
|
||||||
|
{style: {width: 40}}
|
||||||
|
]},
|
||||||
|
{width: 40, height: 0, top: 0, left: 0, children: [
|
||||||
|
{width: 40, height: 0, top: 0, left: 0, children: [
|
||||||
|
{width: 40, height: 0, top: 0, left: 0}
|
||||||
|
]},
|
||||||
|
{width: 40, height: 0, top: 0, left: 0}
|
||||||
|
]}
|
||||||
|
);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
Reference in New Issue
Block a user