css-crisp-edges.json 6.0 KB

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