Commit graph

3 commits

Author SHA1 Message Date
Mat Marquis
b815db5f76 Updated docs’ CSS to use new @import scheme. 2012-01-13 17:27:56 +07:00
jblas@adobe.com
c1a61aa6a8 Corrected the title for the functional test. 2012-01-13 17:25:56 +07:00
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