css-crisp-edges.json 5.9 KB

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