css-crisp-edges.json 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  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":"http://dev.w3.org/csswg/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":"Mozilla Developer Network (MDN) documentation - 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. },
  50. "firefox":{
  51. "2":"n",
  52. "3":"n",
  53. "3.5":"n",
  54. "3.6":"y x #3",
  55. "4":"y x #3",
  56. "5":"y x #3",
  57. "6":"y x #3",
  58. "7":"y x #3",
  59. "8":"y x #3",
  60. "9":"y x #3",
  61. "10":"y x #3",
  62. "11":"y x #3",
  63. "12":"y x #3",
  64. "13":"y x #3",
  65. "14":"y x #3",
  66. "15":"y x #3",
  67. "16":"y x #3",
  68. "17":"y x #3",
  69. "18":"y x #3",
  70. "19":"y x #3",
  71. "20":"y x #3",
  72. "21":"y x #3",
  73. "22":"y x #3",
  74. "23":"y x #3",
  75. "24":"y x #3",
  76. "25":"y x #3",
  77. "26":"y x #3",
  78. "27":"y x #3",
  79. "28":"y x #3",
  80. "29":"y x #3",
  81. "30":"y x #3",
  82. "31":"y x #3",
  83. "32":"y x #3",
  84. "33":"y x #3",
  85. "34":"y x #3",
  86. "35":"y x #3",
  87. "36":"y x #3",
  88. "37":"y x #3",
  89. "38":"y x #3",
  90. "39":"y x #3",
  91. "40":"y x #3",
  92. "41":"y x #3",
  93. "42":"y x #3",
  94. "43":"y x #3",
  95. "44":"y x #3",
  96. "45":"y x #3",
  97. "46":"y x #3",
  98. "47":"y x #3",
  99. "48":"y x #3",
  100. "49":"y x #3",
  101. "50":"y x #3",
  102. "51":"y x #3",
  103. "52":"y x #3",
  104. "53":"y x #3",
  105. "54":"y x #3",
  106. "55":"y x #3",
  107. "56":"y x #3",
  108. "57":"y x #3"
  109. },
  110. "chrome":{
  111. "4":"n",
  112. "5":"n",
  113. "6":"n",
  114. "7":"n",
  115. "8":"n",
  116. "9":"n",
  117. "10":"n",
  118. "11":"n",
  119. "12":"n",
  120. "13":"n",
  121. "14":"n",
  122. "15":"n",
  123. "16":"n",
  124. "17":"n",
  125. "18":"n",
  126. "19":"n",
  127. "20":"n",
  128. "21":"n",
  129. "22":"n",
  130. "23":"n",
  131. "24":"n",
  132. "25":"n",
  133. "26":"n",
  134. "27":"n",
  135. "28":"n",
  136. "29":"n",
  137. "30":"n",
  138. "31":"n",
  139. "32":"n",
  140. "33":"n",
  141. "34":"n",
  142. "35":"n",
  143. "36":"n",
  144. "37":"n",
  145. "38":"n",
  146. "39":"n",
  147. "40":"n",
  148. "41":"y #4",
  149. "42":"y #4",
  150. "43":"y #4",
  151. "44":"y #4",
  152. "45":"y #4",
  153. "46":"y #4",
  154. "47":"y #4",
  155. "48":"y #4",
  156. "49":"y #4",
  157. "50":"y #4",
  158. "51":"y #4",
  159. "52":"y #4",
  160. "53":"y #4",
  161. "54":"y #4",
  162. "55":"y #4",
  163. "56":"y #4",
  164. "57":"y #4",
  165. "58":"y #4",
  166. "59":"y #4",
  167. "60":"y #4",
  168. "61":"y #4",
  169. "62":"y #4",
  170. "63":"y #4"
  171. },
  172. "safari":{
  173. "3.1":"n",
  174. "3.2":"n",
  175. "4":"n",
  176. "5":"n",
  177. "5.1":"n",
  178. "6":"a x #1",
  179. "6.1":"a x #3 #6",
  180. "7":"a x #3 #6",
  181. "7.1":"a x #3 #6",
  182. "8":"a x #3 #6",
  183. "9":"a x #3 #6",
  184. "9.1":"a x #3 #6",
  185. "10":"y",
  186. "10.1":"y",
  187. "11":"y",
  188. "TP":"y"
  189. },
  190. "opera":{
  191. "9":"n",
  192. "9.5-9.6":"n",
  193. "10.0-10.1":"n",
  194. "10.5":"n",
  195. "10.6":"n",
  196. "11":"n",
  197. "11.1":"n",
  198. "11.5":"n",
  199. "11.6":"y x #3",
  200. "12":"y x #3",
  201. "12.1":"y x #3",
  202. "15":"n",
  203. "16":"n",
  204. "17":"n",
  205. "18":"n",
  206. "19":"n",
  207. "20":"n",
  208. "21":"n",
  209. "22":"n",
  210. "23":"n",
  211. "24":"n",
  212. "25":"n",
  213. "26":"n",
  214. "27":"n",
  215. "28":"y #4",
  216. "29":"y #4",
  217. "30":"y #4",
  218. "31":"y #4",
  219. "32":"y #4",
  220. "33":"y #4",
  221. "34":"y #4",
  222. "35":"y #4",
  223. "36":"y #4",
  224. "37":"y #4",
  225. "38":"y #4",
  226. "39":"y #4",
  227. "40":"y #4",
  228. "41":"y #4",
  229. "42":"y #4",
  230. "43":"y #4",
  231. "44":"y #4",
  232. "45":"y #4",
  233. "46":"y #4",
  234. "47":"y #4",
  235. "48":"y #4"
  236. },
  237. "ios_saf":{
  238. "3.2":"n",
  239. "4.0-4.1":"n",
  240. "4.2-4.3":"n",
  241. "5.0-5.1":"a x #1 #6",
  242. "6.0-6.1":"a x #1 #6",
  243. "7.0-7.1":"a x #3 #6",
  244. "8":"a x #3 #6",
  245. "8.1-8.4":"a x #3 #6",
  246. "9.0-9.2":"a x #3 #6",
  247. "9.3":"a x #3 #6",
  248. "10.0-10.2":"y",
  249. "10.3":"y",
  250. "11":"y"
  251. },
  252. "op_mini":{
  253. "all":"n"
  254. },
  255. "android":{
  256. "2.1":"n",
  257. "2.2":"n",
  258. "2.3":"n",
  259. "3":"n",
  260. "4":"n",
  261. "4.1":"n",
  262. "4.2-4.3":"n",
  263. "4.4":"n",
  264. "4.4.3-4.4.4":"n",
  265. "56":"y #4"
  266. },
  267. "bb":{
  268. "7":"n",
  269. "10":"a x #1 #6"
  270. },
  271. "op_mob":{
  272. "10":"n",
  273. "11":"n",
  274. "11.1":"n",
  275. "11.5":"n",
  276. "12":"y x #3",
  277. "12.1":"y x #3",
  278. "37":"y #4"
  279. },
  280. "and_chr":{
  281. "59":"y #4"
  282. },
  283. "and_ff":{
  284. "54":"y x #3"
  285. },
  286. "ie_mob":{
  287. "10":"a x #2 #5",
  288. "11":"a x #2 #5"
  289. },
  290. "and_uc":{
  291. "11.4":"a x #1 #6"
  292. },
  293. "samsung":{
  294. "4":"y #4",
  295. "5":"y #4"
  296. },
  297. "and_qq":{
  298. "1.2":"n"
  299. },
  300. "baidu":{
  301. "7.12":"y #4"
  302. }
  303. },
  304. "notes":"Note that prefixes apply to the value (e.g. `-moz-crisp-edges`), not the `image-rendering` property.",
  305. "notes_by_num":{
  306. "1":"Supported using the non-standard value `-webkit-optimize-contrast`",
  307. "2":"Internet Explorer accomplishes support using the non-standard declaration `-ms-interpolation-mode: nearest-neighbor`",
  308. "3":"Supports the `crisp-edges` value, but not `pixelated`.",
  309. "4":"Supports the `pixelated` value, but not `crisp-edges`.",
  310. "5":"Only works on `<img>`, not CSS backgrounds or `<canvas>`.",
  311. "6":"Only works on `<img>` and CSS backgrounds, _not_ `<canvas>`. "
  312. },
  313. "usage_perc_y":76.3,
  314. "usage_perc_a":14.37,
  315. "ucprefix":false,
  316. "parent":"",
  317. "keywords":"image-rendering,crisp-edges",
  318. "ie_id":"imagerendering",
  319. "chrome_id":"5118058116939776",
  320. "firefox_id":"",
  321. "webkit_id":"",
  322. "shown":true
  323. }