# Testing the [DeviceOrientation API](http://dev.w3.org/geo/api/spec-source-orientation) ## Test case: http://jsfiddle.net/TPz2G/2/show/ ## Nexus S, Android 4.1.1 ### Firefox Beta 22.0 * Alpha increases when rotating device **clockwise** * Alpha is at 0° when device is **exactly south** ### Chrome Beta 27.0.1453.90 * Alpha increases when rotating device **counterclockwise** * Alpha is at 0° when device is **approximately south** ### Android Browser 4.1.1 * Alpha increases when rotating device **counterclockwise** * Alpha is at 0° when device is **exactly east** ### Opera Mobile 12.1.4 * Alpha increases when rotating device **counterclockwise** * Alpha is at 0° when device is **exactly south** ## iPhone 5, iOS 6.1.4 ### Mobile Safari * Alpha increases when rotating device **counterclockwise** * Alpha is at 0° where the **page loads** * Includes `webkitCompassHeading` property, which is at 0° when device is **north** * `webkitCompassHeading` increases when rotating device **clockwise** ### Chrome 26.0.1410.53 * _Same as Mobile Safari_