css-crisp-edges.json 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360
  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. "63":"y x #3",
  117. "64":"y x #3",
  118. "65":"y #3",
  119. "66":"y #3"
  120. },
  121. "chrome":{
  122. "4":"n",
  123. "5":"n",
  124. "6":"n",
  125. "7":"n",
  126. "8":"n",
  127. "9":"n",
  128. "10":"n",
  129. "11":"n",
  130. "12":"n",
  131. "13":"n",
  132. "14":"n",
  133. "15":"n",
  134. "16":"n",
  135. "17":"n",
  136. "18":"n",
  137. "19":"n",
  138. "20":"n",
  139. "21":"n",
  140. "22":"n",
  141. "23":"n",
  142. "24":"n",
  143. "25":"n",
  144. "26":"n",
  145. "27":"n",
  146. "28":"n",
  147. "29":"n",
  148. "30":"n",
  149. "31":"n",
  150. "32":"n",
  151. "33":"n",
  152. "34":"n",
  153. "35":"n",
  154. "36":"n",
  155. "37":"n",
  156. "38":"n",
  157. "39":"n",
  158. "40":"n",
  159. "41":"y #4",
  160. "42":"y #4",
  161. "43":"y #4",
  162. "44":"y #4",
  163. "45":"y #4",
  164. "46":"y #4",
  165. "47":"y #4",
  166. "48":"y #4",
  167. "49":"y #4",
  168. "50":"y #4",
  169. "51":"y #4",
  170. "52":"y #4",
  171. "53":"y #4",
  172. "54":"y #4",
  173. "55":"y #4",
  174. "56":"y #4",
  175. "57":"y #4",
  176. "58":"y #4",
  177. "59":"y #4",
  178. "60":"y #4",
  179. "61":"y #4",
  180. "62":"y #4",
  181. "63":"y #4",
  182. "64":"y #4",
  183. "65":"y #4",
  184. "66":"y #4",
  185. "67":"y #4",
  186. "68":"y #4",
  187. "69":"y #4",
  188. "70":"y #4",
  189. "71":"y #4",
  190. "72":"y #4",
  191. "73":"y #4",
  192. "74":"y #4"
  193. },
  194. "safari":{
  195. "3.1":"n",
  196. "3.2":"n",
  197. "4":"n",
  198. "5":"n",
  199. "5.1":"n",
  200. "6":"a x #1",
  201. "6.1":"a x #3 #6",
  202. "7":"a x #3 #6",
  203. "7.1":"a x #3 #6",
  204. "8":"a x #3 #6",
  205. "9":"a x #3 #6",
  206. "9.1":"a x #3 #6",
  207. "10":"y",
  208. "10.1":"y",
  209. "11":"y",
  210. "11.1":"y",
  211. "12":"y",
  212. "TP":"y"
  213. },
  214. "opera":{
  215. "9":"n",
  216. "9.5-9.6":"n",
  217. "10.0-10.1":"n",
  218. "10.5":"n",
  219. "10.6":"n",
  220. "11":"n",
  221. "11.1":"n",
  222. "11.5":"n",
  223. "11.6":"y x #3",
  224. "12":"y x #3",
  225. "12.1":"y x #3",
  226. "15":"n",
  227. "16":"n",
  228. "17":"n",
  229. "18":"n",
  230. "19":"n",
  231. "20":"n",
  232. "21":"n",
  233. "22":"n",
  234. "23":"n",
  235. "24":"n",
  236. "25":"n",
  237. "26":"n",
  238. "27":"n",
  239. "28":"y #4",
  240. "29":"y #4",
  241. "30":"y #4",
  242. "31":"y #4",
  243. "32":"y #4",
  244. "33":"y #4",
  245. "34":"y #4",
  246. "35":"y #4",
  247. "36":"y #4",
  248. "37":"y #4",
  249. "38":"y #4",
  250. "39":"y #4",
  251. "40":"y #4",
  252. "41":"y #4",
  253. "42":"y #4",
  254. "43":"y #4",
  255. "44":"y #4",
  256. "45":"y #4",
  257. "46":"y #4",
  258. "47":"y #4",
  259. "48":"y #4",
  260. "49":"y #4",
  261. "50":"y #4",
  262. "51":"y #4",
  263. "52":"y #4",
  264. "53":"y #4",
  265. "54":"y #4",
  266. "55":"y #4",
  267. "56":"y #4",
  268. "57":"y #4"
  269. },
  270. "ios_saf":{
  271. "3.2":"n",
  272. "4.0-4.1":"n",
  273. "4.2-4.3":"n",
  274. "5.0-5.1":"a x #1 #6",
  275. "6.0-6.1":"a x #1 #6",
  276. "7.0-7.1":"a x #3 #6",
  277. "8":"a x #3 #6",
  278. "8.1-8.4":"a x #3 #6",
  279. "9.0-9.2":"a x #3 #6",
  280. "9.3":"a x #3 #6",
  281. "10.0-10.2":"y",
  282. "10.3":"y",
  283. "11.0-11.2":"y",
  284. "11.3-11.4":"y",
  285. "12.0-12.1":"y"
  286. },
  287. "op_mini":{
  288. "all":"n"
  289. },
  290. "android":{
  291. "2.1":"n",
  292. "2.2":"n",
  293. "2.3":"n",
  294. "3":"n",
  295. "4":"n",
  296. "4.1":"n",
  297. "4.2-4.3":"n",
  298. "4.4":"n",
  299. "4.4.3-4.4.4":"n",
  300. "67":"y #4"
  301. },
  302. "bb":{
  303. "7":"n",
  304. "10":"a x #1 #6"
  305. },
  306. "op_mob":{
  307. "10":"n",
  308. "11":"n",
  309. "11.1":"n",
  310. "11.5":"n",
  311. "12":"y x #3",
  312. "12.1":"y x #3",
  313. "46":"y #4"
  314. },
  315. "and_chr":{
  316. "70":"y #4"
  317. },
  318. "and_ff":{
  319. "63":"y x #3"
  320. },
  321. "ie_mob":{
  322. "10":"a x #2 #5",
  323. "11":"a x #2 #5"
  324. },
  325. "and_uc":{
  326. "11.8":"y"
  327. },
  328. "samsung":{
  329. "4":"y #4",
  330. "5":"y #4",
  331. "6.2":"y #4",
  332. "7.2":"y #4"
  333. },
  334. "and_qq":{
  335. "1.2":"n"
  336. },
  337. "baidu":{
  338. "7.12":"y #4"
  339. }
  340. },
  341. "notes":"Note that prefixes apply to the value (e.g. `-moz-crisp-edges`), not the `image-rendering` property.",
  342. "notes_by_num":{
  343. "1":"Supported using the non-standard value `-webkit-optimize-contrast`",
  344. "2":"Internet Explorer accomplishes support using the non-standard declaration `-ms-interpolation-mode: nearest-neighbor`",
  345. "3":"Supports the `crisp-edges` value, but not `pixelated`.",
  346. "4":"Supports the `pixelated` value, but not `crisp-edges`.",
  347. "5":"Only works on `<img>`, not CSS backgrounds or `<canvas>`.",
  348. "6":"Only works on `<img>` and CSS backgrounds, _not_ `<canvas>`. "
  349. },
  350. "usage_perc_y":86.45,
  351. "usage_perc_a":3.77,
  352. "ucprefix":false,
  353. "parent":"",
  354. "keywords":"image-rendering,crisp-edges",
  355. "ie_id":"imagerendering",
  356. "chrome_id":"5118058116939776",
  357. "firefox_id":"",
  358. "webkit_id":"",
  359. "shown":true
  360. }