暂无描述

svg-fragment.json 6.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  1. {
  2. "title":"SVG fragment identifiers",
  3. "description":"Method of displaying only a part of an SVG image by defining a view ID or view box dimensions as the file's fragment identifier.",
  4. "spec":"https://www.w3.org/TR/SVG/linking.html#SVGFragmentIdentifiers",
  5. "status":"rec",
  6. "links":[
  7. {
  8. "url":"http://www.broken-links.com/2012/08/14/better-svg-sprites-with-fragment-identifiers/",
  9. "title":"Blog post"
  10. },
  11. {
  12. "url":"https://bugs.webkit.org/show_bug.cgi?id=91791",
  13. "title":"WebKit support bug"
  14. }
  15. ],
  16. "bugs":[
  17. {
  18. "description":"For the ID syntax, Chrome, Opera, and (older) Safari require the ID to be set on a `view` element."
  19. },
  20. {
  21. "description":"Currently does not work without `view` element for CSS background images in [Chrome](https://code.google.com/p/chromium/issues/detail?id=128055) and [Safari](https://bugs.webkit.org/show_bug.cgi?id=91790) (fixed in latest WebKit in June 2015)"
  22. },
  23. {
  24. "description":"For Blink/WebKit browsers: If a page already includes an SVG fragment referred to inside `<img>` on a page it may also work correctly for elements with a CSS `background-image` set with the same URL. Because of this, caniuse for a period of time considered these browsers to have full support."
  25. }
  26. ],
  27. "categories":[
  28. "SVG"
  29. ],
  30. "stats":{
  31. "ie":{
  32. "5.5":"n",
  33. "6":"n",
  34. "7":"n",
  35. "8":"n",
  36. "9":"y",
  37. "10":"y",
  38. "11":"y"
  39. },
  40. "edge":{
  41. "12":"y",
  42. "13":"y",
  43. "14":"y",
  44. "15":"y",
  45. "16":"y",
  46. "17":"y"
  47. },
  48. "firefox":{
  49. "2":"n",
  50. "3":"n",
  51. "3.5":"n",
  52. "3.6":"n",
  53. "4":"n",
  54. "5":"n",
  55. "6":"n",
  56. "7":"n",
  57. "8":"n",
  58. "9":"n",
  59. "10":"n",
  60. "11":"n",
  61. "12":"n",
  62. "13":"n",
  63. "14":"n",
  64. "15":"y",
  65. "16":"y",
  66. "17":"y",
  67. "18":"y",
  68. "19":"y",
  69. "20":"y",
  70. "21":"y",
  71. "22":"y",
  72. "23":"y",
  73. "24":"y",
  74. "25":"y",
  75. "26":"y",
  76. "27":"y",
  77. "28":"y",
  78. "29":"y",
  79. "30":"y",
  80. "31":"y",
  81. "32":"y",
  82. "33":"y",
  83. "34":"y",
  84. "35":"y",
  85. "36":"y",
  86. "37":"y",
  87. "38":"y",
  88. "39":"y",
  89. "40":"y",
  90. "41":"y",
  91. "42":"y",
  92. "43":"y",
  93. "44":"y",
  94. "45":"y",
  95. "46":"y",
  96. "47":"y",
  97. "48":"y",
  98. "49":"y",
  99. "50":"y",
  100. "51":"y",
  101. "52":"y",
  102. "53":"y",
  103. "54":"y",
  104. "55":"y",
  105. "56":"y",
  106. "57":"y",
  107. "58":"y",
  108. "59":"y",
  109. "60":"y",
  110. "61":"y"
  111. },
  112. "chrome":{
  113. "4":"n",
  114. "5":"n",
  115. "6":"n",
  116. "7":"n",
  117. "8":"n",
  118. "9":"n",
  119. "10":"n",
  120. "11":"n",
  121. "12":"n",
  122. "13":"n",
  123. "14":"n",
  124. "15":"n",
  125. "16":"n",
  126. "17":"n",
  127. "18":"n",
  128. "19":"n",
  129. "20":"n",
  130. "21":"n",
  131. "22":"n",
  132. "23":"n",
  133. "24":"n",
  134. "25":"n",
  135. "26":"n",
  136. "27":"n",
  137. "28":"n",
  138. "29":"n",
  139. "30":"n",
  140. "31":"n",
  141. "32":"n",
  142. "33":"n",
  143. "34":"n",
  144. "35":"n",
  145. "36":"a #1",
  146. "37":"a #1",
  147. "38":"a #1",
  148. "39":"a #1",
  149. "40":"a #1",
  150. "41":"a #1",
  151. "42":"a #1",
  152. "43":"a #1",
  153. "44":"a #1",
  154. "45":"a #1",
  155. "46":"a #1",
  156. "47":"a #1",
  157. "48":"a #1",
  158. "49":"a #1",
  159. "50":"y",
  160. "51":"y",
  161. "52":"y",
  162. "53":"y",
  163. "54":"y",
  164. "55":"y",
  165. "56":"y",
  166. "57":"y",
  167. "58":"y",
  168. "59":"y",
  169. "60":"y",
  170. "61":"y",
  171. "62":"y",
  172. "63":"y",
  173. "64":"y",
  174. "65":"y",
  175. "66":"y",
  176. "67":"y"
  177. },
  178. "safari":{
  179. "3.1":"n",
  180. "3.2":"n",
  181. "4":"n",
  182. "5":"n",
  183. "5.1":"n",
  184. "6":"n",
  185. "6.1":"n",
  186. "7":"n",
  187. "7.1":"a #1",
  188. "8":"a #1",
  189. "9":"n",
  190. "9.1":"n",
  191. "10":"n",
  192. "10.1":"n",
  193. "11":"n",
  194. "11.1":"y",
  195. "TP":"y"
  196. },
  197. "opera":{
  198. "9":"u",
  199. "9.5-9.6":"u",
  200. "10.0-10.1":"a",
  201. "10.5":"a",
  202. "10.6":"a",
  203. "11":"a",
  204. "11.1":"a",
  205. "11.5":"a",
  206. "11.6":"a",
  207. "12":"a",
  208. "12.1":"y",
  209. "15":"n",
  210. "16":"n",
  211. "17":"n",
  212. "18":"n",
  213. "19":"n",
  214. "20":"n",
  215. "21":"n",
  216. "22":"n",
  217. "23":"a #1",
  218. "24":"a #1",
  219. "25":"a #1",
  220. "26":"a #1",
  221. "27":"a #1",
  222. "28":"a #1",
  223. "29":"a #1",
  224. "30":"a #1",
  225. "31":"a #1",
  226. "32":"a #1",
  227. "33":"a #1",
  228. "34":"a #1",
  229. "35":"a #1",
  230. "36":"a #1",
  231. "37":"y",
  232. "38":"y",
  233. "39":"y",
  234. "40":"y",
  235. "41":"y",
  236. "42":"y",
  237. "43":"y",
  238. "44":"y",
  239. "45":"y",
  240. "46":"y",
  241. "47":"y",
  242. "48":"y",
  243. "49":"y",
  244. "50":"y",
  245. "51":"y",
  246. "52":"y"
  247. },
  248. "ios_saf":{
  249. "3.2":"n",
  250. "4.0-4.1":"n",
  251. "4.2-4.3":"n",
  252. "5.0-5.1":"n",
  253. "6.0-6.1":"n",
  254. "7.0-7.1":"n",
  255. "8":"a #1",
  256. "8.1-8.4":"a #1",
  257. "9.0-9.2":"n",
  258. "9.3":"n",
  259. "10.0-10.2":"n",
  260. "10.3":"n",
  261. "11.0-11.2":"n",
  262. "11.3":"y"
  263. },
  264. "op_mini":{
  265. "all":"y"
  266. },
  267. "android":{
  268. "2.1":"n",
  269. "2.2":"n",
  270. "2.3":"n",
  271. "3":"n",
  272. "4":"n",
  273. "4.1":"n",
  274. "4.2-4.3":"n",
  275. "4.4":"n",
  276. "4.4.3-4.4.4":"n",
  277. "62":"y"
  278. },
  279. "bb":{
  280. "7":"n",
  281. "10":"a #1"
  282. },
  283. "op_mob":{
  284. "10":"a",
  285. "11":"a",
  286. "11.1":"a",
  287. "11.5":"a",
  288. "12":"a",
  289. "12.1":"y",
  290. "37":"y"
  291. },
  292. "and_chr":{
  293. "64":"y"
  294. },
  295. "and_ff":{
  296. "57":"y"
  297. },
  298. "ie_mob":{
  299. "10":"y",
  300. "11":"y"
  301. },
  302. "and_uc":{
  303. "11.8":"y"
  304. },
  305. "samsung":{
  306. "4":"a #1",
  307. "5":"y",
  308. "6.2":"y"
  309. },
  310. "and_qq":{
  311. "1.2":"a #1"
  312. },
  313. "baidu":{
  314. "7.12":"a #1"
  315. }
  316. },
  317. "notes":"",
  318. "notes_by_num":{
  319. "1":"Partial support refers to support inside `<img>` but not as CSS `background-image`"
  320. },
  321. "usage_perc_y":80.67,
  322. "usage_perc_a":2.81,
  323. "ucprefix":false,
  324. "parent":"",
  325. "keywords":"fragments,sprite,svg,use",
  326. "ie_id":"",
  327. "chrome_id":"",
  328. "firefox_id":"",
  329. "webkit_id":"",
  330. "shown":true
  331. }