deviceorientation.json 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. {
  2. "title":"DeviceOrientation & DeviceMotion events",
  3. "description":"API for detecting orientation and motion events from the device running the browser.",
  4. "spec":"http://www.w3.org/TR/orientation-event/",
  5. "status":"wd",
  6. "links":[
  7. {
  8. "url":"http://www.html5rocks.com/en/tutorials/device/orientation/",
  9. "title":"HTML5 Rocks tutorial"
  10. },
  11. {
  12. "url":"https://raw.github.com/phiggins42/has.js/master/detect/features.js#native-orientation",
  13. "title":"has.js test"
  14. },
  15. {
  16. "url":"http://html5labs.interoperabilitybridges.com/prototypes/device-orientation-events/device-orientation-events/info",
  17. "title":"DeviceOrientation implementation prototype for IE10"
  18. },
  19. {
  20. "url":"http://aurelio.audero.it/demo/device-orientation-api-demo.html",
  21. "title":"Demo"
  22. }
  23. ],
  24. "bugs":[
  25. {
  26. "description":"`DeviceOrientationEvent.beta` has values between -90 and 90 on mobile Safari and between 180 and -180 on Firefox.\r\n`DeviceOrientationEvent.gamma` has values between -180 and 180 on mobile Safari and between 90 and -90 on Firefox.\r\nSee [Firefox reference](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent)\r\nand [Safari reference](https://developer.apple.com/library/safari/documentation/SafariDOMAdditions/Reference/DeviceOrientationEventClassRef/DeviceOrientationEvent/DeviceOrientationEvent.html#//apple_ref/javascript/instp/DeviceOrientationEvent/beta)"
  27. },
  28. {
  29. "description":"Safari on iOS doesn't implement the spec correctly, because alpha is arbitrary instead of relative to true north. Safari instead offers webkitCompassHeading`, which has the opposite sign to alpha and is also relative to magnetic north instead of true north. (see [details](https://github.com/w3c/deviceorientation/issues/6))"
  30. }
  31. ],
  32. "categories":[
  33. "JS API"
  34. ],
  35. "stats":{
  36. "ie":{
  37. "5.5":"n",
  38. "6":"n",
  39. "7":"n",
  40. "8":"n",
  41. "9":"n",
  42. "10":"n",
  43. "11":"a #1"
  44. },
  45. "edge":{
  46. "12":"y",
  47. "13":"y",
  48. "14":"y",
  49. "15":"y"
  50. },
  51. "firefox":{
  52. "2":"n",
  53. "3":"n",
  54. "3.5":"n",
  55. "3.6":"p",
  56. "4":"p",
  57. "5":"p",
  58. "6":"a",
  59. "7":"a",
  60. "8":"a",
  61. "9":"a",
  62. "10":"a",
  63. "11":"a",
  64. "12":"a",
  65. "13":"a",
  66. "14":"a",
  67. "15":"a",
  68. "16":"a",
  69. "17":"a",
  70. "18":"a",
  71. "19":"a",
  72. "20":"a",
  73. "21":"a",
  74. "22":"a",
  75. "23":"a",
  76. "24":"a",
  77. "25":"a",
  78. "26":"a",
  79. "27":"a",
  80. "28":"a",
  81. "29":"a",
  82. "30":"a",
  83. "31":"a",
  84. "32":"a",
  85. "33":"a",
  86. "34":"a",
  87. "35":"a",
  88. "36":"a",
  89. "37":"a",
  90. "38":"a",
  91. "39":"a",
  92. "40":"a",
  93. "41":"a",
  94. "42":"a",
  95. "43":"a",
  96. "44":"a",
  97. "45":"a",
  98. "46":"a",
  99. "47":"a",
  100. "48":"a",
  101. "49":"a",
  102. "50":"a",
  103. "51":"a",
  104. "52":"a",
  105. "53":"a"
  106. },
  107. "chrome":{
  108. "4":"n",
  109. "5":"n",
  110. "6":"n",
  111. "7":"a",
  112. "8":"a",
  113. "9":"a",
  114. "10":"a",
  115. "11":"a",
  116. "12":"a",
  117. "13":"a",
  118. "14":"a",
  119. "15":"a",
  120. "16":"a",
  121. "17":"a",
  122. "18":"a",
  123. "19":"a",
  124. "20":"a",
  125. "21":"a",
  126. "22":"a",
  127. "23":"a",
  128. "24":"a",
  129. "25":"a",
  130. "26":"a",
  131. "27":"a",
  132. "28":"a",
  133. "29":"a",
  134. "30":"a",
  135. "31":"a",
  136. "32":"a",
  137. "33":"a",
  138. "34":"a",
  139. "35":"a",
  140. "36":"a",
  141. "37":"a",
  142. "38":"a",
  143. "39":"a",
  144. "40":"a",
  145. "41":"a",
  146. "42":"a",
  147. "43":"a",
  148. "44":"a",
  149. "45":"a",
  150. "46":"a",
  151. "47":"a",
  152. "48":"a",
  153. "49":"a",
  154. "50":"a",
  155. "51":"a",
  156. "52":"a",
  157. "53":"a",
  158. "54":"a",
  159. "55":"a",
  160. "56":"a",
  161. "57":"a",
  162. "58":"a"
  163. },
  164. "safari":{
  165. "3.1":"n",
  166. "3.2":"n",
  167. "4":"n",
  168. "5":"n",
  169. "5.1":"n",
  170. "6":"n",
  171. "6.1":"n",
  172. "7":"n",
  173. "7.1":"n",
  174. "8":"n",
  175. "9":"n",
  176. "9.1":"n",
  177. "10":"n",
  178. "TP":"n"
  179. },
  180. "opera":{
  181. "9":"n",
  182. "9.5-9.6":"n",
  183. "10.0-10.1":"n",
  184. "10.5":"n",
  185. "10.6":"n",
  186. "11":"n",
  187. "11.1":"n",
  188. "11.5":"n",
  189. "11.6":"n",
  190. "12":"n",
  191. "12.1":"n",
  192. "15":"a",
  193. "16":"a",
  194. "17":"a",
  195. "18":"a",
  196. "19":"a",
  197. "20":"a",
  198. "21":"a",
  199. "22":"a",
  200. "23":"a",
  201. "24":"a",
  202. "25":"a",
  203. "26":"a",
  204. "27":"a",
  205. "28":"a",
  206. "29":"a",
  207. "30":"a",
  208. "31":"a",
  209. "32":"a",
  210. "33":"a",
  211. "34":"a",
  212. "35":"a",
  213. "36":"a",
  214. "37":"a",
  215. "38":"a",
  216. "39":"a",
  217. "40":"a",
  218. "41":"a",
  219. "42":"a",
  220. "43":"a",
  221. "44":"a"
  222. },
  223. "ios_saf":{
  224. "3.2":"n",
  225. "4.0-4.1":"n",
  226. "4.2-4.3":"a",
  227. "5.0-5.1":"a",
  228. "6.0-6.1":"a",
  229. "7.0-7.1":"a",
  230. "8":"a",
  231. "8.1-8.4":"a",
  232. "9.0-9.2":"a",
  233. "9.3":"a",
  234. "10-10.1":"a"
  235. },
  236. "op_mini":{
  237. "all":"n"
  238. },
  239. "android":{
  240. "2.1":"n",
  241. "2.2":"n",
  242. "2.3":"n",
  243. "3":"a",
  244. "4":"a",
  245. "4.1":"a",
  246. "4.2-4.3":"a",
  247. "4.4":"a",
  248. "4.4.3-4.4.4":"a",
  249. "53":"a"
  250. },
  251. "bb":{
  252. "7":"n",
  253. "10":"a"
  254. },
  255. "op_mob":{
  256. "10":"n",
  257. "11":"n",
  258. "11.1":"n",
  259. "11.5":"n",
  260. "12":"y",
  261. "12.1":"y",
  262. "37":"a"
  263. },
  264. "and_chr":{
  265. "55":"a"
  266. },
  267. "and_ff":{
  268. "50":"a"
  269. },
  270. "ie_mob":{
  271. "10":"n",
  272. "11":"y"
  273. },
  274. "and_uc":{
  275. "11":"a"
  276. },
  277. "samsung":{
  278. "4":"a"
  279. }
  280. },
  281. "notes":"Partial support refers to the lack of compassneedscalibration event. Partial support also refers to the lack of devicemotion event support for Chrome 30- and Opera. Opera Mobile 14 lost the ondevicemotion event support. Firefox 3.6, 4 and 5 support the non-standard [MozOrientation](https://developer.mozilla.org/en/DOM/MozOrientation) event.",
  282. "notes_by_num":{
  283. "1":"`compassneedscalibration` supported in IE11 only for compatible devices with Windows 8.1+."
  284. },
  285. "usage_perc_y":1.94,
  286. "usage_perc_a":88.26,
  287. "ucprefix":false,
  288. "parent":"",
  289. "keywords":"",
  290. "ie_id":"deviceorientation,devicemotion",
  291. "chrome_id":"5874690627207168,5556931766779904",
  292. "firefox_id":"device-orientation",
  293. "webkit_id":"",
  294. "shown":true
  295. }