The orientationchange event
Here are the results of my research into the firing of the orientationchange event.
This event fires when the user changes the orientation of the device, for instance from going from landscape to portrait or vice versa.
But: should the event also fire when the user flips the device completely around; i.e. does a 180 degree orientation change from landscape to landscape?
Orientation change 90 degrees
|
Yes |
Yes |
Yes |
No |
Yes |
Yes |
No |
Untestable |
No |
No |
Yes |
No |
Untestable |
Yes |
No |
No |
|
Orientation change 180 degrees
|
Yes |
No |
No |
No |
No |
Yes |
No |
Untestable |
No |
No |
No |
Untestable |
No |
Yes |
No |
No |
No |
- The Samsung Android 2 may fire two events because it goes from 90 to 0 and then to -90, or vice versa. So it temporarily stops in the middle.
|
Tested browsers
- iOS 6
- Default browser on iPhone 4S with iOS 6.1.3
- iOS 7
- Default browser on iPad 2 with iOS 7.0.3
- Android 2
- Default browser on HTC Legend, Android 2.2
- Default browser on LG Optimus something, Android 2.2
- Default browser on Samsung Galaxy Pocket, Android 2.3.6
- Android 4
- Default browser on Samsung Galaxy Note I, Android 4.0.3
- Default browser on Sony Xperia S, Android 4.1.2
- Default browser on Xiaomi M2, Android 4.1.1
- Default browser on Huawei C8813, Android 4.1.1
- Default browser on Samsung Galaxy S3, Android 4.1.2
- Default browser on HTC One X, Android 4.2.2
- Chrome 18
- Default browser on Samsung Galaxy S4, Android 4.2.2
- On Sony Xperia S, Android 4.1.2. This is a downloaded version from Google
- It will be interesting to see if Samsung’s purported Chrome 18 is really the real Chrome 18.
- Chrome 30
- On HTC One X, Android 4.2.2
- On Nexus 7, Android 4.3
- Opera Mini
- 7.0.5 on iPad 2, iOS 7.0.3
- 7.1 on BlackBerry 9800 (OS6)
- 7.1 on Nokia PureView 808, Symbian Belle
- 7.5 on Samsung Galaxy Note I, Android 4.0.3
- Opera Mobile 12
- 12.00 on Nokia E7, Symbian Anna
- 12.10 on Samsung Galaxy Pocket, Android 2.3.6
- Opera Mobile 16
- On Sony Xperia S, Android 4.1.2
- On Nexus 7, Android 4.3
- BlackBerry 6
- Default browser on BB Torch 9800 (OS6)
- BlackBerry 7
- Default browser on BB Torch 9810 (OS7)
- BlackBerry PB
- Default browser on PlayBook with OS 2.1.0
- BlackBerry 10
- Default browser on BlackBerry Z10 (BB OS 10.1)
- This device has 1GB of internal memory instead of the customary 2GB, which may matter in performance tests.
- Xpress
- 3.7 on the Nokia Asha 311, S40.
- This browser used to be called Ovi. Nokia developed it because it saw how succesful Opera was on Nokia’s own devices.
- MeeGo
- Default browser on Nokia N950, MeeGo Harmattan 1.2
- Originally slated as Symbian’s successor, MeeGo was ousted in favour of Windows Phone. Some devices were sold, however, and a Finnish company is trying to re-start MeeGo under the name Sailfish. Also, rumour has it that Nokia is quietly hiring back ex-MeeGo people, so a Nokia-based restart is not entirely impossible.
- Anna
- Default browser (7.3) on Nokia E7, Symbian Anna
- The next-to-last Symbian build. I don’t think it was the prime Symbian build for long; it was replaced by Belle fairly soon. But it’ll be in some people’s pockets.
- Belle
- Default browser (8.3) on Nokia PureView 808, Symbian Belle FP2
- The most recent Symbian build.
- UC Mini
- 8.8 on HTC One X, Android 4.2.2
- UC
- UC 8.5.1 on Xiaomi M2 (Android 4.1.1)
- UC 9.2.3 on Huawei C8813 (Android 4.1.1)
- The largest Chinese browser. This is the full variant, not the proxy. These browsers were pre-installed (next to Android WebKit; don’t ask me why).
- Puffin
- 2.1 Free Edition on Samsung Galaxy S4, Android 4.2.2
- Claims to be Chrome 11
- Nintendo
- Nintendo browser 2.0.0 on Wii U 4.0.0
- Supposed to be based on NetFront.
- Dolphin
- Beta 1.3.1 on Sony Xperia S, Android 4.1.2.
- Independent full browser for Android. The non-beta is a skin over the Android default browser. The beta uses their own WebKit port.
- QQ One
- 4.2.2 on HTC One X, Android 4.2.2
- This is the downloadable, international browser TenCent created.
- Tizen
- Default browser on Ref.Device-PQ by Samsung; Tizen 2.2
- Tizen is an OS jointly being developed by Samsung and Intel. I expect Samsung to start producing devices this year, and it will get a few percent of market share.
- IE9
- Default browser on Nokia Lumia 800, Windows Phone 7.5.
- IE10
- Default browser on Nokia Lumia 820, Windows Phone 8.0.
- Firefox OS
- Geekphone/Telefónica (Peak and/or qcom); Boot2Gecko 1.0.1.0-prerelease
- Firefox Android
- 25 on HTC One X, Android 4.2.2
Browsers by WebKit version:
- 533
- Android 2
- Anna
- UC
- QQ 2.0
- One
- 534
- Android 3 and 4
- BB 6 and 7
- MeeGo
- Puffin
- Dolphin
- 535
- Belle
- Chrome 18
- 536
- iOS6
- BlackBerry PlayBook
- NetFront
- 537
- iOS7
- BlackBerry 10
- Tizen