srcset.json 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  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. },
  116. "chrome":{
  117. "4":"n",
  118. "5":"n",
  119. "6":"n",
  120. "7":"n",
  121. "8":"n",
  122. "9":"n",
  123. "10":"n",
  124. "11":"n",
  125. "12":"n",
  126. "13":"n",
  127. "14":"n",
  128. "15":"n",
  129. "16":"n",
  130. "17":"n",
  131. "18":"n",
  132. "19":"n",
  133. "20":"n",
  134. "21":"n",
  135. "22":"n",
  136. "23":"n",
  137. "24":"n",
  138. "25":"n",
  139. "26":"n",
  140. "27":"n",
  141. "28":"n",
  142. "29":"n",
  143. "30":"n",
  144. "31":"n",
  145. "32":"n",
  146. "33":"n",
  147. "34":"a #2",
  148. "35":"a #2",
  149. "36":"a #2",
  150. "37":"a #2",
  151. "38":"y",
  152. "39":"y",
  153. "40":"y",
  154. "41":"y",
  155. "42":"y",
  156. "43":"y",
  157. "44":"y",
  158. "45":"y",
  159. "46":"y",
  160. "47":"y",
  161. "48":"y",
  162. "49":"y",
  163. "50":"y",
  164. "51":"y",
  165. "52":"y",
  166. "53":"y",
  167. "54":"y",
  168. "55":"y",
  169. "56":"y",
  170. "57":"y",
  171. "58":"y",
  172. "59":"y",
  173. "60":"y",
  174. "61":"y",
  175. "62":"y",
  176. "63":"y",
  177. "64":"y",
  178. "65":"y",
  179. "66":"y",
  180. "67":"y",
  181. "68":"y",
  182. "69":"y"
  183. },
  184. "safari":{
  185. "3.1":"n",
  186. "3.2":"n",
  187. "4":"n",
  188. "5":"n",
  189. "5.1":"n",
  190. "6":"n",
  191. "6.1":"n",
  192. "7":"n",
  193. "7.1":"a #2",
  194. "8":"a #2",
  195. "9":"y",
  196. "9.1":"y",
  197. "10":"y",
  198. "10.1":"y",
  199. "11":"y",
  200. "11.1":"y",
  201. "TP":"y"
  202. },
  203. "opera":{
  204. "9":"n",
  205. "9.5-9.6":"n",
  206. "10.0-10.1":"n",
  207. "10.5":"n",
  208. "10.6":"n",
  209. "11":"n",
  210. "11.1":"n",
  211. "11.5":"n",
  212. "11.6":"n",
  213. "12":"n",
  214. "12.1":"n",
  215. "15":"n",
  216. "16":"n",
  217. "17":"n",
  218. "18":"n",
  219. "19":"n",
  220. "20":"n",
  221. "21":"a #2",
  222. "22":"a #2",
  223. "23":"a #2",
  224. "24":"a #2",
  225. "25":"y",
  226. "26":"y",
  227. "27":"y",
  228. "28":"y",
  229. "29":"y",
  230. "30":"y",
  231. "31":"y",
  232. "32":"y",
  233. "33":"y",
  234. "34":"y",
  235. "35":"y",
  236. "36":"y",
  237. "37":"y",
  238. "38":"y",
  239. "39":"y",
  240. "40":"y",
  241. "41":"y",
  242. "42":"y",
  243. "43":"y",
  244. "44":"y",
  245. "45":"y",
  246. "46":"y",
  247. "47":"y",
  248. "48":"y",
  249. "49":"y",
  250. "50":"y",
  251. "51":"y",
  252. "52":"y"
  253. },
  254. "ios_saf":{
  255. "3.2":"n",
  256. "4.0-4.1":"n",
  257. "4.2-4.3":"n",
  258. "5.0-5.1":"n",
  259. "6.0-6.1":"n",
  260. "7.0-7.1":"n",
  261. "8":"a #2",
  262. "8.1-8.4":"a #2",
  263. "9.0-9.2":"y",
  264. "9.3":"y",
  265. "10.0-10.2":"y",
  266. "10.3":"y",
  267. "11.0-11.2":"y",
  268. "11.3":"y"
  269. },
  270. "op_mini":{
  271. "all":"n"
  272. },
  273. "android":{
  274. "2.1":"n",
  275. "2.2":"n",
  276. "2.3":"n",
  277. "3":"n",
  278. "4":"n",
  279. "4.1":"n",
  280. "4.2-4.3":"n",
  281. "4.4":"n",
  282. "4.4.3-4.4.4":"n",
  283. "62":"y"
  284. },
  285. "bb":{
  286. "7":"n",
  287. "10":"n"
  288. },
  289. "op_mob":{
  290. "10":"n",
  291. "11":"n",
  292. "11.1":"n",
  293. "11.5":"n",
  294. "12":"n",
  295. "12.1":"n",
  296. "37":"y"
  297. },
  298. "and_chr":{
  299. "66":"y"
  300. },
  301. "and_ff":{
  302. "57":"y"
  303. },
  304. "ie_mob":{
  305. "10":"n",
  306. "11":"n"
  307. },
  308. "and_uc":{
  309. "11.8":"y"
  310. },
  311. "samsung":{
  312. "4":"y",
  313. "5":"y",
  314. "6.2":"y"
  315. },
  316. "and_qq":{
  317. "1.2":"y"
  318. },
  319. "baidu":{
  320. "7.12":"y"
  321. }
  322. },
  323. "notes":"",
  324. "notes_by_num":{
  325. "1":"Can be enabled in Firefox by setting the about:config preference dom.image.srcset.enabled to true",
  326. "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).",
  327. "3":"Intermittently displays distorted images due to bug present (see known issues)"
  328. },
  329. "usage_perc_y":88.66,
  330. "usage_perc_a":0.25,
  331. "ucprefix":false,
  332. "parent":"",
  333. "keywords":"srcset attribute",
  334. "ie_id":"imgsrcset",
  335. "chrome_id":"4644337115725824",
  336. "firefox_id":"",
  337. "webkit_id":"feature-srcset-w-descriptor-and-related-sizes-attribute,feature-srcset-x-descriptor",
  338. "shown":true
  339. }