wikimedia/WikipediaMobile — pull request #95 by brion (2012-01-05 23:27:41+00:00)
Title: Refactor iframe to div

Fixes several issues:
* no more clickthrough issues with scrolling & the floating search bar
* content area is now sized correctly on Android 4
* no longer tries to open random things in browsers on Android 4

Minor regression in error pages (need to fix styles).

Note that we know carry some content styles in wiki.css, which could require being kept up to date with core. It may be worth splitting styles out so we can import content styles that don't interfere with other UI -- needs to be more modular on the wiki/MobileFrontend side for this.

There may be some changes to styles in general, but it seems to be mostly fixed up.

With the divs it's also easier to integrate libraries like iscroll to manage scroll & zoom behavior; this works well on ICS with a fast phone but is too slow on Android 2.x on a Nexus One, so not yet integrating that full. Scrolling is still done on the whole document, with a position:fixed searchbar.