deviceorientation.json 9.1 KB

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