css-crisp-edges.json 7.6 KB

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