jquery-mobile/tests/functional
jblas@adobe.com d4c7123c85 Fix for issue #2933 - get_orientation() and hence getScreenHeight() doesn't work on some devices
It seems that some device/browser vendors use window.orientation values 0 and 180 to denote the "default" orientation. For iOS devices, and most other smart-phones tested, the default orientation is always "portrait", but in some Android and RIM based tablets, the default orientation is "landscape".

- Modified the orientationchange plugin so that it injects a landscape orientation media query into the document to figure out what the initial orientation is, it then makes adjustments to a portrait_map if necessary, so that we can properly decode the window.orientation value whenever get_orientation() is called.
2012-01-13 17:25:55 +07:00
..
addrbar.html update functional tests to use requirejs 2012-01-13 17:25:54 +07:00
eventlogger.html update functional tests to use requirejs 2012-01-13 17:25:54 +07:00
gridlayout.html update functional tests to use requirejs 2012-01-13 17:25:54 +07:00
orientation.html Fix for issue #2933 - get_orientation() and hence getScreenHeight() doesn't work on some devices 2012-01-13 17:25:55 +07:00