css-crisp-edges.json 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. {
  2. "title":"Crisp edges/pixelated images",
  3. "description":"Scales images with an algorithm that preserves edges and contrast, without smoothing colors or introducing blur. This is intended for images such as pixel art. Official values that accomplish this for the `image-rendering` property are `crisp-edges` and `pixelated`.",
  4. "spec":"https://drafts.csswg.org/css-images-3/#valdef-image-rendering-crisp-edges",
  5. "status":"unoff",
  6. "links":[
  7. {
  8. "url":"https://developer.mozilla.org/en-US/docs/Web/CSS/image-rendering",
  9. "title":"MDN Web Docs - CSS Image rendering"
  10. },
  11. {
  12. "url":"http://updates.html5rocks.com/2015/01/pixelated",
  13. "title":"HTML5Rocks article"
  14. },
  15. {
  16. "url":"https://bugzilla.mozilla.org/show_bug.cgi?id=856337",
  17. "title":"Firefox bug #856337: Implement image-rendering: pixelated"
  18. },
  19. {
  20. "url":"https://bugs.chromium.org/p/chromium/issues/detail?id=317991",
  21. "title":"Chrome bug #317991: Implement image-rendering:crisp-edges"
  22. }
  23. ],
  24. "bugs":[
  25. {
  26. "description":"`image-rendering:-webkit-optimize-contrast;` and `-ms-interpolation-mode:nearest-neighbor` do not affect CSS images."
  27. }
  28. ],
  29. "categories":[
  30. "CSS",
  31. "CSS3"
  32. ],
  33. "stats":{
  34. "ie":{
  35. "5.5":"n",
  36. "6":"n",
  37. "7":"a x #2 #5",
  38. "8":"a x #2 #5",
  39. "9":"a x #2 #5",
  40. "10":"a x #2 #5",
  41. "11":"a x #2 #5"
  42. },
  43. "edge":{
  44. "12":"n",
  45. "13":"n",
  46. "14":"n",
  47. "15":"n",
  48. "16":"n",
  49. "17":"n",
  50. "18":"n"
  51. },
  52. "firefox":{
  53. "2":"n",
  54. "3":"n",
  55. "3.5":"n",
  56. "3.6":"y x #3",
  57. "4":"y x #3",
  58. "5":"y x #3",
  59. "6":"y x #3",
  60. "7":"y x #3",
  61. "8":"y x #3",
  62. "9":"y x #3",
  63. "10":"y x #3",
  64. "11":"y x #3",
  65. "12":"y x #3",
  66. "13":"y x #3",
  67. "14":"y x #3",
  68. "15":"y x #3",
  69. "16":"y x #3",
  70. "17":"y x #3",
  71. "18":"y x #3",
  72. "19":"y x #3",
  73. "20":"y x #3",
  74. "21":"y x #3",
  75. "22":"y x #3",
  76. "23":"y x #3",
  77. "24":"y x #3",
  78. "25":"y x #3",
  79. "26":"y x #3",
  80. "27":"y x #3",
  81. "28":"y x #3",
  82. "29":"y x #3",
  83. "30":"y x #3",
  84. "31":"y x #3",
  85. "32":"y x #3",
  86. "33":"y x #3",
  87. "34":"y x #3",
  88. "35":"y x #3",
  89. "36":"y x #3",
  90. "37":"y x #3",
  91. "38":"y x #3",
  92. "39":"y x #3",
  93. "40":"y x #3",
  94. "41":"y x #3",
  95. "42":"y x #3",
  96. "43":"y x #3",
  97. "44":"y x #3",
  98. "45":"y x #3",
  99. "46":"y x #3",
  100. "47":"y x #3",
  101. "48":"y x #3",
  102. "49":"y x #3",
  103. "50":"y x #3",
  104. "51":"y x #3",
  105. "52":"y x #3",
  106. "53":"y x #3",
  107. "54":"y x #3",
  108. "55":"y x #3",
  109. "56":"y x #3",
  110. "57":"y x #3",
  111. "58":"y x #3",
  112. "59":"y x #3",
  113. "60":"y x #3",
  114. "61":"y x #3",
  115. "62":"y x #3"
  116. },
  117. "chrome":{
  118. "4":"n",
  119. "5":"n",
  120. "6":"n",
  121. "7":"n",
  122. "8":"n",
  123. "9":"n",
  124. "10":"n",
  125. "11":"n",
  126. "12":"n",
  127. "13":"n",
  128. "14":"n",
  129. "15":"n",
  130. "16":"n",
  131. "17":"n",
  132. "18":"n",
  133. "19":"n",
  134. "20":"n",
  135. "21":"n",
  136. "22":"n",
  137. "23":"n",
  138. "24":"n",
  139. "25":"n",
  140. "26":"n",
  141. "27":"n",
  142. "28":"n",
  143. "29":"n",
  144. "30":"n",
  145. "31":"n",
  146. "32":"n",
  147. "33":"n",
  148. "34":"n",
  149. "35":"n",
  150. "36":"n",
  151. "37":"n",
  152. "38":"n",
  153. "39":"n",
  154. "40":"n",
  155. "41":"y #4",
  156. "42":"y #4",
  157. "43":"y #4",
  158. "44":"y #4",
  159. "45":"y #4",
  160. "46":"y #4",
  161. "47":"y #4",
  162. "48":"y #4",
  163. "49":"y #4",
  164. "50":"y #4",
  165. "51":"y #4",
  166. "52":"y #4",
  167. "53":"y #4",
  168. "54":"y #4",
  169. "55":"y #4",
  170. "56":"y #4",
  171. "57":"y #4",
  172. "58":"y #4",
  173. "59":"y #4",
  174. "60":"y #4",
  175. "61":"y #4",
  176. "62":"y #4",
  177. "63":"y #4",
  178. "64":"y #4",
  179. "65":"y #4",
  180. "66":"y #4",
  181. "67":"y #4",
  182. "68":"y #4",
  183. "69":"y #4"
  184. },
  185. "safari":{
  186. "3.1":"n",
  187. "3.2":"n",
  188. "4":"n",
  189. "5":"n",
  190. "5.1":"n",
  191. "6":"a x #1",
  192. "6.1":"a x #3 #6",
  193. "7":"a x #3 #6",
  194. "7.1":"a x #3 #6",
  195. "8":"a x #3 #6",
  196. "9":"a x #3 #6",
  197. "9.1":"a x #3 #6",
  198. "10":"y",
  199. "10.1":"y",
  200. "11":"y",
  201. "11.1":"y",
  202. "TP":"y"
  203. },
  204. "opera":{
  205. "9":"n",
  206. "9.5-9.6":"n",
  207. "10.0-10.1":"n",
  208. "10.5":"n",
  209. "10.6":"n",
  210. "11":"n",
  211. "11.1":"n",
  212. "11.5":"n",
  213. "11.6":"y x #3",
  214. "12":"y x #3",
  215. "12.1":"y x #3",
  216. "15":"n",
  217. "16":"n",
  218. "17":"n",
  219. "18":"n",
  220. "19":"n",
  221. "20":"n",
  222. "21":"n",
  223. "22":"n",
  224. "23":"n",
  225. "24":"n",
  226. "25":"n",
  227. "26":"n",
  228. "27":"n",
  229. "28":"y #4",
  230. "29":"y #4",
  231. "30":"y #4",
  232. "31":"y #4",
  233. "32":"y #4",
  234. "33":"y #4",
  235. "34":"y #4",
  236. "35":"y #4",
  237. "36":"y #4",
  238. "37":"y #4",
  239. "38":"y #4",
  240. "39":"y #4",
  241. "40":"y #4",
  242. "41":"y #4",
  243. "42":"y #4",
  244. "43":"y #4",
  245. "44":"y #4",
  246. "45":"y #4",
  247. "46":"y #4",
  248. "47":"y #4",
  249. "48":"y #4",
  250. "49":"y #4",
  251. "50":"y #4",
  252. "51":"y #4",
  253. "52":"y #4"
  254. },
  255. "ios_saf":{
  256. "3.2":"n",
  257. "4.0-4.1":"n",
  258. "4.2-4.3":"n",
  259. "5.0-5.1":"a x #1 #6",
  260. "6.0-6.1":"a x #1 #6",
  261. "7.0-7.1":"a x #3 #6",
  262. "8":"a x #3 #6",
  263. "8.1-8.4":"a x #3 #6",
  264. "9.0-9.2":"a x #3 #6",
  265. "9.3":"a x #3 #6",
  266. "10.0-10.2":"y",
  267. "10.3":"y",
  268. "11.0-11.2":"y",
  269. "11.3":"y"
  270. },
  271. "op_mini":{
  272. "all":"n"
  273. },
  274. "android":{
  275. "2.1":"n",
  276. "2.2":"n",
  277. "2.3":"n",
  278. "3":"n",
  279. "4":"n",
  280. "4.1":"n",
  281. "4.2-4.3":"n",
  282. "4.4":"n",
  283. "4.4.3-4.4.4":"n",
  284. "62":"y #4"
  285. },
  286. "bb":{
  287. "7":"n",
  288. "10":"a x #1 #6"
  289. },
  290. "op_mob":{
  291. "10":"n",
  292. "11":"n",
  293. "11.1":"n",
  294. "11.5":"n",
  295. "12":"y x #3",
  296. "12.1":"y x #3",
  297. "37":"y #4"
  298. },
  299. "and_chr":{
  300. "66":"y #4"
  301. },
  302. "and_ff":{
  303. "57":"y x #3"
  304. },
  305. "ie_mob":{
  306. "10":"a x #2 #5",
  307. "11":"a x #2 #5"
  308. },
  309. "and_uc":{
  310. "11.8":"y"
  311. },
  312. "samsung":{
  313. "4":"y #4",
  314. "5":"y #4",
  315. "6.2":"y #4"
  316. },
  317. "and_qq":{
  318. "1.2":"n"
  319. },
  320. "baidu":{
  321. "7.12":"y #4"
  322. }
  323. },
  324. "notes":"Note that prefixes apply to the value (e.g. `-moz-crisp-edges`), not the `image-rendering` property.",
  325. "notes_by_num":{
  326. "1":"Supported using the non-standard value `-webkit-optimize-contrast`",
  327. "2":"Internet Explorer accomplishes support using the non-standard declaration `-ms-interpolation-mode: nearest-neighbor`",
  328. "3":"Supports the `crisp-edges` value, but not `pixelated`.",
  329. "4":"Supports the `pixelated` value, but not `crisp-edges`.",
  330. "5":"Only works on `<img>`, not CSS backgrounds or `<canvas>`.",
  331. "6":"Only works on `<img>` and CSS backgrounds, _not_ `<canvas>`. "
  332. },
  333. "usage_perc_y":86.51,
  334. "usage_perc_a":4.47,
  335. "ucprefix":false,
  336. "parent":"",
  337. "keywords":"image-rendering,crisp-edges",
  338. "ie_id":"imagerendering",
  339. "chrome_id":"5118058116939776",
  340. "firefox_id":"",
  341. "webkit_id":"",
  342. "shown":true
  343. }