deviceorientation.json 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  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. },
  50. "firefox":{
  51. "2":"n",
  52. "3":"n",
  53. "3.5":"n",
  54. "3.6":"p",
  55. "4":"p",
  56. "5":"p",
  57. "6":"a",
  58. "7":"a",
  59. "8":"a",
  60. "9":"a",
  61. "10":"a",
  62. "11":"a",
  63. "12":"a",
  64. "13":"a",
  65. "14":"a",
  66. "15":"a",
  67. "16":"a",
  68. "17":"a",
  69. "18":"a",
  70. "19":"a",
  71. "20":"a",
  72. "21":"a",
  73. "22":"a",
  74. "23":"a",
  75. "24":"a",
  76. "25":"a",
  77. "26":"a",
  78. "27":"a",
  79. "28":"a",
  80. "29":"a",
  81. "30":"a",
  82. "31":"a",
  83. "32":"a",
  84. "33":"a",
  85. "34":"a",
  86. "35":"a",
  87. "36":"a",
  88. "37":"a",
  89. "38":"a",
  90. "39":"a",
  91. "40":"a",
  92. "41":"a",
  93. "42":"a",
  94. "43":"a",
  95. "44":"a",
  96. "45":"a",
  97. "46":"a",
  98. "47":"a",
  99. "48":"a",
  100. "49":"a",
  101. "50":"a",
  102. "51":"a",
  103. "52":"a",
  104. "53":"a"
  105. },
  106. "chrome":{
  107. "4":"n",
  108. "5":"n",
  109. "6":"n",
  110. "7":"a",
  111. "8":"a",
  112. "9":"a",
  113. "10":"a",
  114. "11":"a",
  115. "12":"a",
  116. "13":"a",
  117. "14":"a",
  118. "15":"a",
  119. "16":"a",
  120. "17":"a",
  121. "18":"a",
  122. "19":"a",
  123. "20":"a",
  124. "21":"a",
  125. "22":"a",
  126. "23":"a",
  127. "24":"a",
  128. "25":"a",
  129. "26":"a",
  130. "27":"a",
  131. "28":"a",
  132. "29":"a",
  133. "30":"a",
  134. "31":"a",
  135. "32":"a",
  136. "33":"a",
  137. "34":"a",
  138. "35":"a",
  139. "36":"a",
  140. "37":"a",
  141. "38":"a",
  142. "39":"a",
  143. "40":"a",
  144. "41":"a",
  145. "42":"a",
  146. "43":"a",
  147. "44":"a",
  148. "45":"a",
  149. "46":"a",
  150. "47":"a",
  151. "48":"a",
  152. "49":"a",
  153. "50":"a",
  154. "51":"a",
  155. "52":"a",
  156. "53":"a",
  157. "54":"a",
  158. "55":"a",
  159. "56":"a",
  160. "57":"a"
  161. },
  162. "safari":{
  163. "3.1":"n",
  164. "3.2":"n",
  165. "4":"n",
  166. "5":"n",
  167. "5.1":"n",
  168. "6":"n",
  169. "6.1":"n",
  170. "7":"n",
  171. "7.1":"n",
  172. "8":"n",
  173. "9":"n",
  174. "9.1":"n",
  175. "10":"n",
  176. "TP":"n"
  177. },
  178. "opera":{
  179. "9":"n",
  180. "9.5-9.6":"n",
  181. "10.0-10.1":"n",
  182. "10.5":"n",
  183. "10.6":"n",
  184. "11":"n",
  185. "11.1":"n",
  186. "11.5":"n",
  187. "11.6":"n",
  188. "12":"n",
  189. "12.1":"n",
  190. "15":"a",
  191. "16":"a",
  192. "17":"a",
  193. "18":"a",
  194. "19":"a",
  195. "20":"a",
  196. "21":"a",
  197. "22":"a",
  198. "23":"a",
  199. "24":"a",
  200. "25":"a",
  201. "26":"a",
  202. "27":"a",
  203. "28":"a",
  204. "29":"a",
  205. "30":"a",
  206. "31":"a",
  207. "32":"a",
  208. "33":"a",
  209. "34":"a",
  210. "35":"a",
  211. "36":"a",
  212. "37":"a",
  213. "38":"a",
  214. "39":"a",
  215. "40":"a",
  216. "41":"a",
  217. "42":"a",
  218. "43":"a"
  219. },
  220. "ios_saf":{
  221. "3.2":"n",
  222. "4.0-4.1":"n",
  223. "4.2-4.3":"a",
  224. "5.0-5.1":"a",
  225. "6.0-6.1":"a",
  226. "7.0-7.1":"a",
  227. "8":"a",
  228. "8.1-8.4":"a",
  229. "9.0-9.2":"a",
  230. "9.3":"a",
  231. "10-10.1":"a"
  232. },
  233. "op_mini":{
  234. "all":"n"
  235. },
  236. "android":{
  237. "2.1":"n",
  238. "2.2":"n",
  239. "2.3":"n",
  240. "3":"a",
  241. "4":"a",
  242. "4.1":"a",
  243. "4.2-4.3":"a",
  244. "4.4":"a",
  245. "4.4.3-4.4.4":"a",
  246. "53":"a"
  247. },
  248. "bb":{
  249. "7":"n",
  250. "10":"a"
  251. },
  252. "op_mob":{
  253. "10":"n",
  254. "11":"n",
  255. "11.1":"n",
  256. "11.5":"n",
  257. "12":"y",
  258. "12.1":"y",
  259. "37":"a"
  260. },
  261. "and_chr":{
  262. "54":"a"
  263. },
  264. "and_ff":{
  265. "50":"a"
  266. },
  267. "ie_mob":{
  268. "10":"n",
  269. "11":"y"
  270. },
  271. "and_uc":{
  272. "11":"a"
  273. },
  274. "samsung":{
  275. "4":"a"
  276. }
  277. },
  278. "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.",
  279. "notes_by_num":{
  280. "1":"`compassneedscalibration` supported in IE11 only for compatible devices with Windows 8.1+."
  281. },
  282. "usage_perc_y":1.97,
  283. "usage_perc_a":88.18,
  284. "ucprefix":false,
  285. "parent":"",
  286. "keywords":"",
  287. "ie_id":"deviceorientation,devicemotion",
  288. "chrome_id":"5874690627207168,5556931766779904",
  289. "firefox_id":"device-orientation",
  290. "webkit_id":"",
  291. "shown":true
  292. }