Aucune description

srcset.json 6.5KB

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