[TIMOB-8767] MobileWeb: WebView is empty when being created using html
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2012-05-18T11:11:49.000+0000 |
| Affected Version/s | Release 2.0.0 |
| Fix Version/s | Release 2.1.0, Sprint 2012-10 MW |
| Components | MobileWeb |
| Labels | n/a |
| Reporter | Chris Barber |
| Assignee | Chris Barber |
| Created | 2012-04-17T14:40:43.000+0000 |
| Updated | 2012-08-06T16:27:43.000+0000 |
Description
This will display an empty orange box.
var mywebview = Ti.UI.createWebView({
height:40,
width:200,
backgroundColor:'#ff9900',
top:110,
borderRadius:10,
html:'<html><body><div style="color:#fff;text-align:center">FOO</div></body></html>'
});
Attachments
| File | Date | Size |
|---|---|---|
| app.js | 2012-05-18T05:39:53.000+0000 | 364 |
Pull request: https://github.com/appcelerator/titanium_mobile/pull/2224
Tested On: Titanium studio : 2.1.1.201207271312 SDK version : 2.2.0.v20120731184111 Android 4.0.4 - default ,chrome 18.0 Iphone 5.0.1 - safari mobile Mountain lion(10.8) - chrome 21.0,safari 5.1.4,firefox 14.0.1