canvas.json 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. {
  2. "title":"Canvas (basic support)",
  3. "description":"Method of generating fast, dynamic graphics using JavaScript.",
  4. "spec":"https://html.spec.whatwg.org/multipage/scripting.html#the-canvas-element",
  5. "status":"ls",
  6. "links":[
  7. {
  8. "url":"https://developer.mozilla.org/en/Canvas_tutorial",
  9. "title":"Tutorial by Mozilla"
  10. },
  11. {
  12. "url":"http://glimr.rubyforge.org/cake/canvas.html",
  13. "title":"Animation kit"
  14. },
  15. {
  16. "url":"http://diveintohtml5.info/canvas.html",
  17. "title":"Another tutorial"
  18. },
  19. {
  20. "url":"http://explorercanvas.googlecode.com/",
  21. "title":"Implementation for Internet Explorer"
  22. },
  23. {
  24. "url":"https://raw.github.com/phiggins42/has.js/master/detect/graphics.js#canvas",
  25. "title":"has.js test"
  26. }
  27. ],
  28. "bugs":[
  29. {
  30. "description":"The Android browser does not support clipping on HTML5 canvas. See the bug filed here: http://code.google.com/p/android/issues/detail?id=21099"
  31. },
  32. {
  33. "description":"Older versions of iOS did not support video as a source for the canvas `drawImage()`, though it does appear to work as of iOS 8 [test case](http://jsfiddle.net/zL8KC/)"
  34. },
  35. {
  36. "description":"Limits of `toDataURL()` for iOS:\r\n- The maximum size for decoded GIF, PNG, and TIFF images is 3 megapixels for devices with less than 256 MB RAM and 5 megapixels for devices with greater or equal than 256 MB RAM.\r\n- The maximum size for a canvas element is 3 megapixels for devices with less than 256 MB RAM and 5 megapixels for devices with greater or equal than 256 MB RAM.\r\n- JavaScript execution time is limited to 10 seconds for each top-level entry point."
  37. },
  38. {
  39. "description":"In IE 11 `canvas.toDataURL()` does not work if the canvas has images with data URI sources [see bug](https://connect.microsoft.com/IE/Feedback/Details/828416)"
  40. },
  41. {
  42. "description":"IE 10 canvas doesn't support `setLineDash` or `lineDashOffset` [see bug](https://social.msdn.microsoft.com/Forums/en-US/85007e72-90ad-4bd9-affd-9a24702219e6/canvasrenderingcontext2dsetlinedash-and-linedashoffset-missing?forum=winappswithhtml5) "
  43. },
  44. {
  45. "description":"IE and Edge does not support globalAlpha for drawImage of SVG graphics. [see bug](https://connect.microsoft.com/IE/feedback/details/1847897/globalalpha-ignored-when-drawing-svg-to-canvas) [see testcase](http://jsfiddle.net/p7b0wmcu/)"
  46. }
  47. ],
  48. "categories":[
  49. "Canvas",
  50. "HTML5"
  51. ],
  52. "stats":{
  53. "ie":{
  54. "5.5":"n",
  55. "6":"p",
  56. "7":"p",
  57. "8":"p",
  58. "9":"y",
  59. "10":"y",
  60. "11":"y"
  61. },
  62. "edge":{
  63. "12":"y",
  64. "13":"y",
  65. "14":"y"
  66. },
  67. "firefox":{
  68. "2":"a #1",
  69. "3":"a #1",
  70. "3.5":"a #1",
  71. "3.6":"y",
  72. "4":"y",
  73. "5":"y",
  74. "6":"y",
  75. "7":"y",
  76. "8":"y",
  77. "9":"y",
  78. "10":"y",
  79. "11":"y",
  80. "12":"y",
  81. "13":"y",
  82. "14":"y",
  83. "15":"y",
  84. "16":"y",
  85. "17":"y",
  86. "18":"y",
  87. "19":"y",
  88. "20":"y",
  89. "21":"y",
  90. "22":"y",
  91. "23":"y",
  92. "24":"y",
  93. "25":"y",
  94. "26":"y",
  95. "27":"y",
  96. "28":"y",
  97. "29":"y",
  98. "30":"y",
  99. "31":"y",
  100. "32":"y",
  101. "33":"y",
  102. "34":"y",
  103. "35":"y",
  104. "36":"y",
  105. "37":"y",
  106. "38":"y",
  107. "39":"y",
  108. "40":"y",
  109. "41":"y",
  110. "42":"y",
  111. "43":"y",
  112. "44":"y",
  113. "45":"y",
  114. "46":"y",
  115. "47":"y",
  116. "48":"y",
  117. "49":"y",
  118. "50":"y",
  119. "51":"y",
  120. "52":"y",
  121. "53":"y"
  122. },
  123. "chrome":{
  124. "4":"y",
  125. "5":"y",
  126. "6":"y",
  127. "7":"y",
  128. "8":"y",
  129. "9":"y",
  130. "10":"y",
  131. "11":"y",
  132. "12":"y",
  133. "13":"y",
  134. "14":"y",
  135. "15":"y",
  136. "16":"y",
  137. "17":"y",
  138. "18":"y",
  139. "19":"y",
  140. "20":"y",
  141. "21":"y",
  142. "22":"y",
  143. "23":"y",
  144. "24":"y",
  145. "25":"y",
  146. "26":"y",
  147. "27":"y",
  148. "28":"y",
  149. "29":"y",
  150. "30":"y",
  151. "31":"y",
  152. "32":"y",
  153. "33":"y",
  154. "34":"y",
  155. "35":"y",
  156. "36":"y",
  157. "37":"y",
  158. "38":"y",
  159. "39":"y",
  160. "40":"y",
  161. "41":"y",
  162. "42":"y",
  163. "43":"y",
  164. "44":"y",
  165. "45":"y",
  166. "46":"y",
  167. "47":"y",
  168. "48":"y",
  169. "49":"y",
  170. "50":"y",
  171. "51":"y",
  172. "52":"y",
  173. "53":"y",
  174. "54":"y",
  175. "55":"y",
  176. "56":"y",
  177. "57":"y"
  178. },
  179. "safari":{
  180. "3.1":"a #1",
  181. "3.2":"a #1",
  182. "4":"y",
  183. "5":"y",
  184. "5.1":"y",
  185. "6":"y",
  186. "6.1":"y",
  187. "7":"y",
  188. "7.1":"y",
  189. "8":"y",
  190. "9":"y",
  191. "9.1":"y",
  192. "10":"y",
  193. "TP":"y"
  194. },
  195. "opera":{
  196. "9":"y",
  197. "9.5-9.6":"y",
  198. "10.0-10.1":"y",
  199. "10.5":"y",
  200. "10.6":"y",
  201. "11":"y",
  202. "11.1":"y",
  203. "11.5":"y",
  204. "11.6":"y",
  205. "12":"y",
  206. "12.1":"y",
  207. "15":"y",
  208. "16":"y",
  209. "17":"y",
  210. "18":"y",
  211. "19":"y",
  212. "20":"y",
  213. "21":"y",
  214. "22":"y",
  215. "23":"y",
  216. "24":"y",
  217. "25":"y",
  218. "26":"y",
  219. "27":"y",
  220. "28":"y",
  221. "29":"y",
  222. "30":"y",
  223. "31":"y",
  224. "32":"y",
  225. "33":"y",
  226. "34":"y",
  227. "35":"y",
  228. "36":"y",
  229. "37":"y",
  230. "38":"y",
  231. "39":"y",
  232. "40":"y",
  233. "41":"y",
  234. "42":"y",
  235. "43":"y"
  236. },
  237. "ios_saf":{
  238. "3.2":"y",
  239. "4.0-4.1":"y",
  240. "4.2-4.3":"y",
  241. "5.0-5.1":"y",
  242. "6.0-6.1":"y",
  243. "7.0-7.1":"y",
  244. "8":"y",
  245. "8.1-8.4":"y",
  246. "9.0-9.2":"y",
  247. "9.3":"y",
  248. "10-10.1":"y"
  249. },
  250. "op_mini":{
  251. "all":"a #2"
  252. },
  253. "android":{
  254. "2.1":"a #1",
  255. "2.2":"a #1",
  256. "2.3":"a #1",
  257. "3":"y",
  258. "4":"y",
  259. "4.1":"y",
  260. "4.2-4.3":"y",
  261. "4.4":"y",
  262. "4.4.3-4.4.4":"y",
  263. "53":"y"
  264. },
  265. "bb":{
  266. "7":"y",
  267. "10":"y"
  268. },
  269. "op_mob":{
  270. "10":"y",
  271. "11":"y",
  272. "11.1":"y",
  273. "11.5":"y",
  274. "12":"y",
  275. "12.1":"y",
  276. "37":"y"
  277. },
  278. "and_chr":{
  279. "54":"y"
  280. },
  281. "and_ff":{
  282. "50":"y"
  283. },
  284. "ie_mob":{
  285. "10":"y",
  286. "11":"y"
  287. },
  288. "and_uc":{
  289. "11":"y"
  290. },
  291. "samsung":{
  292. "4":"y"
  293. }
  294. },
  295. "notes":"For screen readers, IE, Chrome & Firefox support the [accessible canvas element sub-DOM](http://www.paciellogroup.com/blog/2012/06/html5-canvas-accessibility-in-firefox-13/).\r\nFirefox & Chrome also support the drawfocus ring.",
  296. "notes_by_num":{
  297. "1":"Does not support `toDataURL()`",
  298. "2":"Opera Mini supports the canvas element, but is unable to play animations or run other more complex applications."
  299. },
  300. "usage_perc_y":93.49,
  301. "usage_perc_a":4.2,
  302. "ucprefix":false,
  303. "parent":"",
  304. "keywords":"toDataURL()",
  305. "ie_id":"canvas",
  306. "chrome_id":"5100084685438976",
  307. "firefox_id":"",
  308. "webkit_id":"",
  309. "shown":true
  310. }