Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8767] MobileWeb: WebView is empty when being created using html

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-05-18T11:11:49.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sRelease 2.1.0, Sprint 2012-10 MW
ComponentsMobileWeb
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2012-04-17T14:40:43.000+0000
Updated2012-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

FileDateSize
app.js2012-05-18T05:39:53.000+0000364

Comments

  1. Chris Barber 2012-05-18

    Pull request: https://github.com/appcelerator/titanium_mobile/pull/2224
  2. Lokesh Choudhary 2012-08-06

    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

JSON Source