{ "id": "99484", "key": "TIMOB-10603", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-03-27T08:54:38.000+0000", "created": "2012-08-21T01:22:54.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api" ], "versions": [ { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" } ], "issuelinks": [], "assignee": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T21:30:12.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": "I have a sample application which open a webview and the web view is showing one html content. When I rotate web view from portrait to landscape font size of the web view content is getting enlarged and when coming back to the portrait then font size is also reset to the original size. It is happening only in iPhone and in android it is working fine. \r\n\r\n+Source Code+\r\n\r\n{code}\r\n\r\nvar win = Ti.UI.createWindow();\r\nvar DETAIL_VIEW_HTML_START = \"\"\r\nvar DETAIL_VIEW_HTML_END = \"\"\r\nvar webview = Titanium.UI.createWebView({\r\n\tleft : 0,\r\n\twidth : '100%',\r\n\tfont : {\r\n\t\tfontSize : 13,\r\n\t\tfontFamily : 'Helvetica Neue',\r\n\t\tfontWeight : 'bold'\r\n\t},\r\n\tbottom : 0,\r\n\tautoDetect : [Ti.UI.AUTODETECT_NONE],\r\n\thtml : DETAIL_VIEW_HTML_START + \"Sample code for webview font size changed. Please open Google<\\/a> to check.\" + DETAIL_VIEW_HTML_END\r\n});\r\nwin.add(webview);\r\nwin.open();\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: When rotate webview from portrait to landscape font size is getting large", "creator": { "name": "surajit_rcc8", "key": "surajit_rcc8", "displayName": "Surajit Biswas", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "surajit_rcc8", "key": "surajit_rcc8", "displayName": "Surajit Biswas", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium IDE:2.1.0.201206251749\r\nTitanium SDk : 2.1.1.v20120718121609\r\niOs Device: iPhone simulator,iPhone 4s\r\nHost Platfrom : Mac osx", "comment": { "comments": [ { "id": "244270", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces \r\n\r\nTested with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 \r\nTitanium SDK version: 3.0.2 \r\niOS iPhone Simulator: iOS SDK version: 6.0\r\n", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-27T08:54:38.000+0000", "updated": "2013-03-27T08:54:38.000+0000" }, { "id": "414455", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T21:30:12.000+0000", "updated": "2017-03-21T21:30:12.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }