[TIMOB-4385] Android: zIndex default value is undefined
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2013-05-28T20:23:18.000+0000 |
Affected Version/s | Release 1.7.0 |
Fix Version/s | n/a |
Components | n/a |
Labels | default, layout, tbs-1.8.0, ui, undefined, zindex |
Reporter | Natalie Huynh |
Assignee | Ingo Muschenetz |
Created | 2011-06-13T16:30:17.000+0000 |
Updated | 2017-03-21T21:10:35.000+0000 |
Description
*Steps to reproduce*
Run test case below, or 1105 from http://wiki.appcelerator.org/display/tp/UI+Composite+Layout+Behavior+Test+Case
*Actual result*
zIndex Value: undefined
*Expected result*
zIndex Value should be 0
*Test case*
var win = Ti.UI.createWindow();
win.backgroundColor = 'white';
var view = Ti.UI.createView();
var label = Ti.UI.createLabel({
text : 'zIndex Value: ' + view.zIndex + ' Pass if it is undefined',
top : 20,
left : 10,
height : Ti.UI.SIZE,
width : Ti.UI.SIZE,
color : 'black'
});
win.add(view);
win.add(label);
win.open();
The test states that returning "undefined" is expected behavior. Resolving as invalid.
Closing ticket as invalid.