appcelerator/titanium_mobile — pull request #4738 by salachi (2013-09-26 18:08:44+00:00)
Title: TIMOB-14395-if height or width not defined, set those keeping aspect rat...

The test case is working correctly. If both width and height is defined, the image will scale to fill the area without maintaining the aspect ration. The documentation is not correct.

The test case in the comment should make the image scale keeping the aspect ratio intact and keeping the width.
Code change fix this issue

https://jira.appcelerator.org/browse/TIMOB-14395