The content of a webview will not resize when switched from landscape to portrait. Attached is a sample code.
Start the app in portrait mode and then switch to landscape, the content inside the webview will resize accordingly. Now start the app in landscape mode and then switch to portrait, the content will not resize and will make the webview horizontally scrollable - not expected behavior.
This only happens with local html files, not with remote.
The customer from the helpdesk that reported this also created a video demonstrating the issue:
http://dl.dropbox.com/u/167040/IMG_0354.m4v
Helpdesk ticket:
http://support.appcelerator.com/tickets/APP-147815/homepage
Duplicate of invalid bug 3413. This is due to the HTML not requesting a viewport size. Paraphrasing the other bug's comment: The HTML *must* have the following meta tag in the HTML head in order to properly size: To compensate for the webview's width actually being _thinner_ than the device's width of 768, use the following instead. Once the HTML was fixed to the have the proper text, web page behaved as desired.