{ "id": "62317", "key": "TIMOB-1685", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T02:59:23.000+0000", "created": "2011-04-15T02:59:21.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "defect", "ios", "premium" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-02T19:24:49.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
1.create a new ipad project, and a new iphone one
\n2.replace the contents of app.js with:
Ti.UI.setBackgroundColor(\"#fff\");
function alert3 (title, msg) {
\nvar that = this;\nthis.alertWin = Ti.UI.createWindow(\n {opacity: 0.9,\n backgroundColor: \"#777\",\n top: \"10%\", height: \"75%\", width: \"90%\", zIndex: 2\n });\n\nthis.alertText = Ti.UI.createWebView(\n {\n left: 5, right: 5, top: 40, bottom: 40,\n html: \"<html><body style='color:#fff; font-family: sans-serif;'>\"+\n msg+\"</body></html>\",\n color: \"#fff\",\n backgroundColor: \"transparent\",\n font:{fontSize:16}\n });\nthis.alertWin.add(this.alertText);\n\nthis.alertWin.open();
\n
\n}
\nalert3(\"hello\", \"world\");
\n4.run it on both platforms and ote the appearance of the\nborder
\nresults:none on iPhone, the left border missing on iPad
added screen shots
When I talked with Thom, it turns out the 'border' was the\nshadows of the web view edges. Normally these are hidden, but\nbecause the view's background was given to be clear, they show\nthrough.
\nWait a minute, though. If the background is given to be clear,\nwhy are we seeing gray in that area?
Further update. Couldn't recreate the grey, so it's likely the\ntest was different than the example given. Either way, the original\nissue is a case of confusion. Marking invalid.