deviceorientation.json 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425
  1. {
  2. "title":"DeviceOrientation & DeviceMotion events",
  3. "description":"API for detecting orientation and motion events from the device running the browser.",
  4. "spec":"https://www.w3.org/TR/orientation-event/",
  5. "status":"cr",
  6. "links":[
  7. {
  8. "url":"https://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. "16":"y",
  51. "17":"y",
  52. "18":"y",
  53. "79":"a",
  54. "80":"a",
  55. "81":"a",
  56. "83":"a",
  57. "84":"a",
  58. "85":"a",
  59. "86":"a"
  60. },
  61. "firefox":{
  62. "2":"n",
  63. "3":"n",
  64. "3.5":"n",
  65. "3.6":"p",
  66. "4":"p",
  67. "5":"p",
  68. "6":"a",
  69. "7":"a",
  70. "8":"a",
  71. "9":"a",
  72. "10":"a",
  73. "11":"a",
  74. "12":"a",
  75. "13":"a",
  76. "14":"a",
  77. "15":"a",
  78. "16":"a",
  79. "17":"a",
  80. "18":"a",
  81. "19":"a",
  82. "20":"a",
  83. "21":"a",
  84. "22":"a",
  85. "23":"a",
  86. "24":"a",
  87. "25":"a",
  88. "26":"a",
  89. "27":"a",
  90. "28":"a",
  91. "29":"a",
  92. "30":"a",
  93. "31":"a",
  94. "32":"a",
  95. "33":"a",
  96. "34":"a",
  97. "35":"a",
  98. "36":"a",
  99. "37":"a",
  100. "38":"a",
  101. "39":"a",
  102. "40":"a",
  103. "41":"a",
  104. "42":"a",
  105. "43":"a",
  106. "44":"a",
  107. "45":"a",
  108. "46":"a",
  109. "47":"a",
  110. "48":"a",
  111. "49":"a",
  112. "50":"a",
  113. "51":"a",
  114. "52":"a",
  115. "53":"a",
  116. "54":"a",
  117. "55":"a",
  118. "56":"a",
  119. "57":"a",
  120. "58":"a",
  121. "59":"a",
  122. "60":"a",
  123. "61":"a",
  124. "62":"a",
  125. "63":"a",
  126. "64":"a",
  127. "65":"a",
  128. "66":"a",
  129. "67":"a",
  130. "68":"a",
  131. "69":"a",
  132. "70":"a",
  133. "71":"a",
  134. "72":"a",
  135. "73":"a",
  136. "74":"a",
  137. "75":"a",
  138. "76":"a",
  139. "77":"a",
  140. "78":"a",
  141. "79":"a",
  142. "80":"a",
  143. "81":"a",
  144. "82":"a",
  145. "83":"a"
  146. },
  147. "chrome":{
  148. "4":"n",
  149. "5":"n",
  150. "6":"n",
  151. "7":"a",
  152. "8":"a",
  153. "9":"a",
  154. "10":"a",
  155. "11":"a",
  156. "12":"a",
  157. "13":"a",
  158. "14":"a",
  159. "15":"a",
  160. "16":"a",
  161. "17":"a",
  162. "18":"a",
  163. "19":"a",
  164. "20":"a",
  165. "21":"a",
  166. "22":"a",
  167. "23":"a",
  168. "24":"a",
  169. "25":"a",
  170. "26":"a",
  171. "27":"a",
  172. "28":"a",
  173. "29":"a",
  174. "30":"a",
  175. "31":"a",
  176. "32":"a",
  177. "33":"a",
  178. "34":"a",
  179. "35":"a",
  180. "36":"a",
  181. "37":"a",
  182. "38":"a",
  183. "39":"a",
  184. "40":"a",
  185. "41":"a",
  186. "42":"a",
  187. "43":"a",
  188. "44":"a",
  189. "45":"a",
  190. "46":"a",
  191. "47":"a",
  192. "48":"a",
  193. "49":"a",
  194. "50":"a",
  195. "51":"a",
  196. "52":"a",
  197. "53":"a",
  198. "54":"a",
  199. "55":"a",
  200. "56":"a",
  201. "57":"a",
  202. "58":"a",
  203. "59":"a",
  204. "60":"a",
  205. "61":"a",
  206. "62":"a",
  207. "63":"a",
  208. "64":"a",
  209. "65":"a",
  210. "66":"a",
  211. "67":"a",
  212. "68":"a",
  213. "69":"a",
  214. "70":"a",
  215. "71":"a",
  216. "72":"a",
  217. "73":"a",
  218. "74":"a",
  219. "75":"a",
  220. "76":"a",
  221. "77":"a",
  222. "78":"a",
  223. "79":"a",
  224. "80":"a",
  225. "81":"a",
  226. "83":"a",
  227. "84":"a",
  228. "85":"a",
  229. "86":"a",
  230. "87":"a",
  231. "88":"a",
  232. "89":"a"
  233. },
  234. "safari":{
  235. "3.1":"n",
  236. "3.2":"n",
  237. "4":"n",
  238. "5":"n",
  239. "5.1":"n",
  240. "6":"n",
  241. "6.1":"n",
  242. "7":"n",
  243. "7.1":"n",
  244. "8":"n",
  245. "9":"n",
  246. "9.1":"n",
  247. "10":"n",
  248. "10.1":"n",
  249. "11":"n",
  250. "11.1":"n",
  251. "12":"n",
  252. "12.1":"n",
  253. "13":"n",
  254. "13.1":"n",
  255. "14":"n",
  256. "TP":"n"
  257. },
  258. "opera":{
  259. "9":"n",
  260. "9.5-9.6":"n",
  261. "10.0-10.1":"n",
  262. "10.5":"n",
  263. "10.6":"n",
  264. "11":"n",
  265. "11.1":"n",
  266. "11.5":"n",
  267. "11.6":"n",
  268. "12":"n",
  269. "12.1":"n",
  270. "15":"a",
  271. "16":"a",
  272. "17":"a",
  273. "18":"a",
  274. "19":"a",
  275. "20":"a",
  276. "21":"a",
  277. "22":"a",
  278. "23":"a",
  279. "24":"a",
  280. "25":"a",
  281. "26":"a",
  282. "27":"a",
  283. "28":"a",
  284. "29":"a",
  285. "30":"a",
  286. "31":"a",
  287. "32":"a",
  288. "33":"a",
  289. "34":"a",
  290. "35":"a",
  291. "36":"a",
  292. "37":"a",
  293. "38":"a",
  294. "39":"a",
  295. "40":"a",
  296. "41":"a",
  297. "42":"a",
  298. "43":"a",
  299. "44":"a",
  300. "45":"a",
  301. "46":"a",
  302. "47":"a",
  303. "48":"a",
  304. "49":"a",
  305. "50":"a",
  306. "51":"a",
  307. "52":"a",
  308. "53":"a",
  309. "54":"a",
  310. "55":"a",
  311. "56":"a",
  312. "57":"a",
  313. "58":"a",
  314. "60":"a",
  315. "62":"a",
  316. "63":"a",
  317. "64":"a",
  318. "65":"a",
  319. "66":"a",
  320. "67":"a",
  321. "68":"a",
  322. "69":"a",
  323. "70":"a",
  324. "71":"a"
  325. },
  326. "ios_saf":{
  327. "3.2":"n",
  328. "4.0-4.1":"n",
  329. "4.2-4.3":"a",
  330. "5.0-5.1":"a",
  331. "6.0-6.1":"a",
  332. "7.0-7.1":"a",
  333. "8":"a",
  334. "8.1-8.4":"a",
  335. "9.0-9.2":"a",
  336. "9.3":"a",
  337. "10.0-10.2":"a",
  338. "10.3":"a",
  339. "11.0-11.2":"a",
  340. "11.3-11.4":"a",
  341. "12.0-12.1":"a",
  342. "12.2-12.4":"a",
  343. "13.0-13.1":"a",
  344. "13.2":"a",
  345. "13.3":"a",
  346. "13.4-13.7":"a",
  347. "14":"a"
  348. },
  349. "op_mini":{
  350. "all":"n"
  351. },
  352. "android":{
  353. "2.1":"n",
  354. "2.2":"n",
  355. "2.3":"n",
  356. "3":"a",
  357. "4":"a",
  358. "4.1":"a",
  359. "4.2-4.3":"a",
  360. "4.4":"a",
  361. "4.4.3-4.4.4":"a",
  362. "81":"a"
  363. },
  364. "bb":{
  365. "7":"n",
  366. "10":"a"
  367. },
  368. "op_mob":{
  369. "10":"n",
  370. "11":"n",
  371. "11.1":"n",
  372. "11.5":"n",
  373. "12":"y",
  374. "12.1":"y",
  375. "59":"a"
  376. },
  377. "and_chr":{
  378. "85":"a"
  379. },
  380. "and_ff":{
  381. "79":"a"
  382. },
  383. "ie_mob":{
  384. "10":"n",
  385. "11":"y"
  386. },
  387. "and_uc":{
  388. "12.12":"a"
  389. },
  390. "samsung":{
  391. "4":"a",
  392. "5.0-5.4":"a",
  393. "6.2-6.4":"a",
  394. "7.2-7.4":"a",
  395. "8.2":"a",
  396. "9.2":"a",
  397. "10.1":"a",
  398. "11.1-11.2":"a",
  399. "12.0":"a"
  400. },
  401. "and_qq":{
  402. "10.4":"a"
  403. },
  404. "baidu":{
  405. "7.12":"a"
  406. },
  407. "kaios":{
  408. "2.5":"a"
  409. }
  410. },
  411. "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.",
  412. "notes_by_num":{
  413. "1":"`compassneedscalibration` supported in IE11 only for compatible devices with Windows 8.1+."
  414. },
  415. "usage_perc_y":0.48,
  416. "usage_perc_a":93.49,
  417. "ucprefix":false,
  418. "parent":"",
  419. "keywords":"ondeviceorientation,ondevicemotion",
  420. "ie_id":"deviceorientation,devicemotion",
  421. "chrome_id":"5874690627207168,5556931766779904",
  422. "firefox_id":"device-orientation",
  423. "webkit_id":"specification-deviceorientation-events",
  424. "shown":true
  425. }