srcset.json 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  1. {
  2. "title":"Srcset and sizes attributes",
  3. "description":"The `srcset` and `sizes` attributes on `img` (or `source`) elements allow authors to define various image resources and \"hints\" that assist a user agent to determine the most appropriate image source to display (e.g. high-resolution displays, small monitors, etc).",
  4. "spec":"https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-srcset",
  5. "status":"ls",
  6. "links":[
  7. {
  8. "url":"https://www.webkit.org/blog/2910/improved-support-for-high-resolution-displays-with-the-srcset-image-attribute/",
  9. "title":"Improved support for high-resolution displays with the srcset image attribute"
  10. },
  11. {
  12. "url":"https://ericportis.com/posts/2014/srcset-sizes/",
  13. "title":"Blog post on srcset & sizes"
  14. },
  15. {
  16. "url":"https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images",
  17. "title":"MDN: Responsive images"
  18. },
  19. {
  20. "url":"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img",
  21. "title":"MDN: <img> element"
  22. }
  23. ],
  24. "bugs":[
  25. {
  26. "description":"Edge versions 13, 14 and 15 intermittently display distorted images as soon as they encounter a srcset attribute, seemingly dependent on caching and network timing. [see bug](https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/7778808/)"
  27. }
  28. ],
  29. "categories":[
  30. "HTML5"
  31. ],
  32. "stats":{
  33. "ie":{
  34. "5.5":"n",
  35. "6":"n",
  36. "7":"n",
  37. "8":"n",
  38. "9":"n",
  39. "10":"n",
  40. "11":"n"
  41. },
  42. "edge":{
  43. "12":"a #2",
  44. "13":"n #3",
  45. "14":"n #3",
  46. "15":"n #3",
  47. "16":"y",
  48. "17":"y",
  49. "18":"y"
  50. },
  51. "firefox":{
  52. "2":"n",
  53. "3":"n",
  54. "3.5":"n",
  55. "3.6":"n",
  56. "4":"n",
  57. "5":"n",
  58. "6":"n",
  59. "7":"n",
  60. "8":"n",
  61. "9":"n",
  62. "10":"n",
  63. "11":"n",
  64. "12":"n",
  65. "13":"n",
  66. "14":"n",
  67. "15":"n",
  68. "16":"n",
  69. "17":"n",
  70. "18":"n",
  71. "19":"n",
  72. "20":"n",
  73. "21":"n",
  74. "22":"n",
  75. "23":"n",
  76. "24":"n",
  77. "25":"n",
  78. "26":"n",
  79. "27":"n",
  80. "28":"n",
  81. "29":"n",
  82. "30":"n",
  83. "31":"n",
  84. "32":"n d #1",
  85. "33":"n d #1",
  86. "34":"n d #1",
  87. "35":"n d #1",
  88. "36":"n d #1",
  89. "37":"n d #1",
  90. "38":"y",
  91. "39":"y",
  92. "40":"y",
  93. "41":"y",
  94. "42":"y",
  95. "43":"y",
  96. "44":"y",
  97. "45":"y",
  98. "46":"y",
  99. "47":"y",
  100. "48":"y",
  101. "49":"y",
  102. "50":"y",
  103. "51":"y",
  104. "52":"y",
  105. "53":"y",
  106. "54":"y",
  107. "55":"y",
  108. "56":"y",
  109. "57":"y",
  110. "58":"y",
  111. "59":"y",
  112. "60":"y",
  113. "61":"y",
  114. "62":"y",
  115. "63":"y",
  116. "64":"y",
  117. "65":"y",
  118. "66":"y",
  119. "67":"y",
  120. "68":"y"
  121. },
  122. "chrome":{
  123. "4":"n",
  124. "5":"n",
  125. "6":"n",
  126. "7":"n",
  127. "8":"n",
  128. "9":"n",
  129. "10":"n",
  130. "11":"n",
  131. "12":"n",
  132. "13":"n",
  133. "14":"n",
  134. "15":"n",
  135. "16":"n",
  136. "17":"n",
  137. "18":"n",
  138. "19":"n",
  139. "20":"n",
  140. "21":"n",
  141. "22":"n",
  142. "23":"n",
  143. "24":"n",
  144. "25":"n",
  145. "26":"n",
  146. "27":"n",
  147. "28":"n",
  148. "29":"n",
  149. "30":"n",
  150. "31":"n",
  151. "32":"n",
  152. "33":"n",
  153. "34":"a #2",
  154. "35":"a #2",
  155. "36":"a #2",
  156. "37":"a #2",
  157. "38":"y",
  158. "39":"y",
  159. "40":"y",
  160. "41":"y",
  161. "42":"y",
  162. "43":"y",
  163. "44":"y",
  164. "45":"y",
  165. "46":"y",
  166. "47":"y",
  167. "48":"y",
  168. "49":"y",
  169. "50":"y",
  170. "51":"y",
  171. "52":"y",
  172. "53":"y",
  173. "54":"y",
  174. "55":"y",
  175. "56":"y",
  176. "57":"y",
  177. "58":"y",
  178. "59":"y",
  179. "60":"y",
  180. "61":"y",
  181. "62":"y",
  182. "63":"y",
  183. "64":"y",
  184. "65":"y",
  185. "66":"y",
  186. "67":"y",
  187. "68":"y",
  188. "69":"y",
  189. "70":"y",
  190. "71":"y",
  191. "72":"y",
  192. "73":"y",
  193. "74":"y",
  194. "75":"y",
  195. "76":"y"
  196. },
  197. "safari":{
  198. "3.1":"n",
  199. "3.2":"n",
  200. "4":"n",
  201. "5":"n",
  202. "5.1":"n",
  203. "6":"n",
  204. "6.1":"n",
  205. "7":"n",
  206. "7.1":"a #2",
  207. "8":"a #2",
  208. "9":"y",
  209. "9.1":"y",
  210. "10":"y",
  211. "10.1":"y",
  212. "11":"y",
  213. "11.1":"y",
  214. "12":"y",
  215. "12.1":"y",
  216. "TP":"y"
  217. },
  218. "opera":{
  219. "9":"n",
  220. "9.5-9.6":"n",
  221. "10.0-10.1":"n",
  222. "10.5":"n",
  223. "10.6":"n",
  224. "11":"n",
  225. "11.1":"n",
  226. "11.5":"n",
  227. "11.6":"n",
  228. "12":"n",
  229. "12.1":"n",
  230. "15":"n",
  231. "16":"n",
  232. "17":"n",
  233. "18":"n",
  234. "19":"n",
  235. "20":"n",
  236. "21":"a #2",
  237. "22":"a #2",
  238. "23":"a #2",
  239. "24":"a #2",
  240. "25":"y",
  241. "26":"y",
  242. "27":"y",
  243. "28":"y",
  244. "29":"y",
  245. "30":"y",
  246. "31":"y",
  247. "32":"y",
  248. "33":"y",
  249. "34":"y",
  250. "35":"y",
  251. "36":"y",
  252. "37":"y",
  253. "38":"y",
  254. "39":"y",
  255. "40":"y",
  256. "41":"y",
  257. "42":"y",
  258. "43":"y",
  259. "44":"y",
  260. "45":"y",
  261. "46":"y",
  262. "47":"y",
  263. "48":"y",
  264. "49":"y",
  265. "50":"y",
  266. "51":"y",
  267. "52":"y",
  268. "53":"y",
  269. "54":"y",
  270. "55":"y",
  271. "56":"y",
  272. "57":"y",
  273. "58":"y"
  274. },
  275. "ios_saf":{
  276. "3.2":"n",
  277. "4.0-4.1":"n",
  278. "4.2-4.3":"n",
  279. "5.0-5.1":"n",
  280. "6.0-6.1":"n",
  281. "7.0-7.1":"n",
  282. "8":"a #2",
  283. "8.1-8.4":"a #2",
  284. "9.0-9.2":"y",
  285. "9.3":"y",
  286. "10.0-10.2":"y",
  287. "10.3":"y",
  288. "11.0-11.2":"y",
  289. "11.3-11.4":"y",
  290. "12.0-12.1":"y",
  291. "12.2":"y"
  292. },
  293. "op_mini":{
  294. "all":"n"
  295. },
  296. "android":{
  297. "2.1":"n",
  298. "2.2":"n",
  299. "2.3":"n",
  300. "3":"n",
  301. "4":"n",
  302. "4.1":"n",
  303. "4.2-4.3":"n",
  304. "4.4":"n",
  305. "4.4.3-4.4.4":"n",
  306. "67":"y"
  307. },
  308. "bb":{
  309. "7":"n",
  310. "10":"n"
  311. },
  312. "op_mob":{
  313. "10":"n",
  314. "11":"n",
  315. "11.1":"n",
  316. "11.5":"n",
  317. "12":"n",
  318. "12.1":"n",
  319. "46":"y"
  320. },
  321. "and_chr":{
  322. "71":"y"
  323. },
  324. "and_ff":{
  325. "64":"y"
  326. },
  327. "ie_mob":{
  328. "10":"n",
  329. "11":"n"
  330. },
  331. "and_uc":{
  332. "11.8":"y"
  333. },
  334. "samsung":{
  335. "4":"y",
  336. "5.0-5.4":"y",
  337. "6.2-6.4":"y",
  338. "7.2-7.4":"y",
  339. "8.2":"y"
  340. },
  341. "and_qq":{
  342. "1.2":"y"
  343. },
  344. "baidu":{
  345. "7.12":"y"
  346. }
  347. },
  348. "notes":"",
  349. "notes_by_num":{
  350. "1":"Can be enabled in Firefox by setting the about:config preference dom.image.srcset.enabled to true",
  351. "2":"Supports the subset of the syntax for resolution switching (using the `x` descriptor), but not the full syntax that can be used with `sizes` (using the `w` descriptor).",
  352. "3":"Intermittently displays distorted images due to bug present (see known issues)"
  353. },
  354. "usage_perc_y":91.6,
  355. "usage_perc_a":0.51,
  356. "ucprefix":false,
  357. "parent":"",
  358. "keywords":"srcset attribute",
  359. "ie_id":"imgsrcset",
  360. "chrome_id":"4644337115725824",
  361. "firefox_id":"",
  362. "webkit_id":"feature-srcset-w-descriptor-and-related-sizes-attribute,feature-srcset-x-descriptor",
  363. "shown":true
  364. }