暫無描述

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  1. {
  2. "title":"SVG (basic support)",
  3. "description":"Method of displaying basic Vector Graphics features using the embed or object elements. Refers to the SVG 1.1 spec.",
  4. "spec":"https://www.w3.org/TR/SVG/",
  5. "status":"rec",
  6. "links":[
  7. {
  8. "url":"https://en.wikipedia.org/wiki/Scalable_Vector_Graphics",
  9. "title":"Wikipedia"
  10. },
  11. {
  12. "url":"http://www.alistapart.com/articles/using-svg-for-flexible-scalable-and-fun-backgrounds-part-i",
  13. "title":"A List Apart article"
  14. },
  15. {
  16. "url":"http://svg-wow.org/",
  17. "title":"SVG showcase site"
  18. },
  19. {
  20. "url":"http://code.google.com/p/svgweb/",
  21. "title":"SVG Web: Flash-based polyfill"
  22. },
  23. {
  24. "url":"https://github.com/SVG-Edit/svgedit",
  25. "title":"Web-based SVG editor"
  26. },
  27. {
  28. "url":"https://raw.github.com/phiggins42/has.js/master/detect/graphics.js#svg",
  29. "title":"has.js test"
  30. }
  31. ],
  32. "bugs":[
  33. {
  34. "description":"Chrome 26 doesn't support the attribute `preserveAspectRatio=none`."
  35. },
  36. {
  37. "description":"SVG graphics look pixelated when zooming in or using scaled up images in Opera Mini & Opera Mobile 12.1-."
  38. },
  39. {
  40. "description":"IE9-Edge12, Safari 5.1-6, and UCWeb 11 do not support [referencing external files](https://css-tricks.com/svg-use-external-source/) via `<use xlink:href>`. Polyfills are available: [server-side inlining + snippet](https://codepen.io/hexalys/pen/epErZj/) - [script](https://github.com/jonathantneal/svg4everybody)"
  41. },
  42. {
  43. "description":"Chrome 48+ [no longer has support](https://www.chromestatus.com/feature/5708851034718208) for the `SVGPathSeg` interface. Polyfills are available: [original](https://github.com/progers/pathseg/blob/master/pathseg.js) - [SVG 2 draft-based](https://github.com/jarek-foksa/path-data-polyfill.js)"
  44. }
  45. ],
  46. "categories":[
  47. "SVG"
  48. ],
  49. "stats":{
  50. "ie":{
  51. "5.5":"n",
  52. "6":"p",
  53. "7":"p",
  54. "8":"p",
  55. "9":"y #2",
  56. "10":"y #2",
  57. "11":"y #2"
  58. },
  59. "edge":{
  60. "12":"y #2",
  61. "13":"y #2",
  62. "14":"y #2",
  63. "15":"y #2",
  64. "16":"y #2",
  65. "17":"y #2"
  66. },
  67. "firefox":{
  68. "2":"a",
  69. "3":"y",
  70. "3.5":"y",
  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. "54":"y",
  123. "55":"y",
  124. "56":"y",
  125. "57":"y",
  126. "58":"y",
  127. "59":"y",
  128. "60":"y",
  129. "61":"y"
  130. },
  131. "chrome":{
  132. "4":"y",
  133. "5":"y",
  134. "6":"y",
  135. "7":"y",
  136. "8":"y",
  137. "9":"y",
  138. "10":"y",
  139. "11":"y",
  140. "12":"y",
  141. "13":"y",
  142. "14":"y",
  143. "15":"y",
  144. "16":"y",
  145. "17":"y",
  146. "18":"y",
  147. "19":"y",
  148. "20":"y",
  149. "21":"y",
  150. "22":"y",
  151. "23":"y",
  152. "24":"y",
  153. "25":"y",
  154. "26":"y",
  155. "27":"y",
  156. "28":"y",
  157. "29":"y",
  158. "30":"y",
  159. "31":"y",
  160. "32":"y",
  161. "33":"y",
  162. "34":"y",
  163. "35":"y",
  164. "36":"y",
  165. "37":"y",
  166. "38":"y",
  167. "39":"y",
  168. "40":"y",
  169. "41":"y",
  170. "42":"y",
  171. "43":"y",
  172. "44":"y",
  173. "45":"y",
  174. "46":"y",
  175. "47":"y",
  176. "48":"y",
  177. "49":"y",
  178. "50":"y",
  179. "51":"y",
  180. "52":"y",
  181. "53":"y",
  182. "54":"y",
  183. "55":"y",
  184. "56":"y",
  185. "57":"y",
  186. "58":"y",
  187. "59":"y",
  188. "60":"y",
  189. "61":"y",
  190. "62":"y",
  191. "63":"y",
  192. "64":"y",
  193. "65":"y",
  194. "66":"y",
  195. "67":"y"
  196. },
  197. "safari":{
  198. "3.1":"a",
  199. "3.2":"y",
  200. "4":"y",
  201. "5":"y",
  202. "5.1":"y",
  203. "6":"y",
  204. "6.1":"y",
  205. "7":"y",
  206. "7.1":"y",
  207. "8":"y",
  208. "9":"y",
  209. "9.1":"y",
  210. "10":"y",
  211. "10.1":"y",
  212. "11":"y",
  213. "11.1":"y",
  214. "TP":"y"
  215. },
  216. "opera":{
  217. "9":"y",
  218. "9.5-9.6":"y",
  219. "10.0-10.1":"y",
  220. "10.5":"y",
  221. "10.6":"y",
  222. "11":"y",
  223. "11.1":"y",
  224. "11.5":"y",
  225. "11.6":"y",
  226. "12":"y",
  227. "12.1":"y",
  228. "15":"y",
  229. "16":"y",
  230. "17":"y",
  231. "18":"y",
  232. "19":"y",
  233. "20":"y",
  234. "21":"y",
  235. "22":"y",
  236. "23":"y",
  237. "24":"y",
  238. "25":"y",
  239. "26":"y",
  240. "27":"y",
  241. "28":"y",
  242. "29":"y",
  243. "30":"y",
  244. "31":"y",
  245. "32":"y",
  246. "33":"y",
  247. "34":"y",
  248. "35":"y",
  249. "36":"y",
  250. "37":"y",
  251. "38":"y",
  252. "39":"y",
  253. "40":"y",
  254. "41":"y",
  255. "42":"y",
  256. "43":"y",
  257. "44":"y",
  258. "45":"y",
  259. "46":"y",
  260. "47":"y",
  261. "48":"y",
  262. "49":"y",
  263. "50":"y",
  264. "51":"y",
  265. "52":"y"
  266. },
  267. "ios_saf":{
  268. "3.2":"y",
  269. "4.0-4.1":"y",
  270. "4.2-4.3":"y",
  271. "5.0-5.1":"y",
  272. "6.0-6.1":"y",
  273. "7.0-7.1":"y",
  274. "8":"y",
  275. "8.1-8.4":"y",
  276. "9.0-9.2":"y",
  277. "9.3":"y",
  278. "10.0-10.2":"y",
  279. "10.3":"y",
  280. "11.0-11.2":"y",
  281. "11.3":"y"
  282. },
  283. "op_mini":{
  284. "all":"y"
  285. },
  286. "android":{
  287. "2.1":"n",
  288. "2.2":"n",
  289. "2.3":"n",
  290. "3":"a #1",
  291. "4":"a #1",
  292. "4.1":"a #1",
  293. "4.2-4.3":"a #1",
  294. "4.4":"y",
  295. "4.4.3-4.4.4":"y",
  296. "62":"y"
  297. },
  298. "bb":{
  299. "7":"y",
  300. "10":"y"
  301. },
  302. "op_mob":{
  303. "10":"y",
  304. "11":"y",
  305. "11.1":"y",
  306. "11.5":"y",
  307. "12":"y",
  308. "12.1":"y",
  309. "37":"y"
  310. },
  311. "and_chr":{
  312. "64":"y"
  313. },
  314. "and_ff":{
  315. "57":"y"
  316. },
  317. "ie_mob":{
  318. "10":"y #2",
  319. "11":"y #2"
  320. },
  321. "and_uc":{
  322. "11.8":"y"
  323. },
  324. "samsung":{
  325. "4":"y",
  326. "5":"y",
  327. "6.2":"y"
  328. },
  329. "and_qq":{
  330. "1.2":"y"
  331. },
  332. "baidu":{
  333. "7.12":"y"
  334. }
  335. },
  336. "notes":"",
  337. "notes_by_num":{
  338. "1":"Partial support in Android 3 & 4 refers to not supporting masking.",
  339. "2":"IE9-11 desktop & mobile don't properly scale SVG files. [Adding height, width, viewBox, and CSS rules](https://codepen.io/tomByrer/pen/qEBbzw?editors=110) seem to be the best workaround."
  340. },
  341. "usage_perc_y":97.69,
  342. "usage_perc_a":0.3,
  343. "ucprefix":false,
  344. "parent":"",
  345. "keywords":"rect,circle,ellipse,line,polyline,polygon,defs,symbol,use,tspan,tref,textpath,stroke-dasharray,stroke-dashoffset",
  346. "ie_id":"",
  347. "chrome_id":"",
  348. "firefox_id":"",
  349. "webkit_id":"",
  350. "shown":true
  351. }