css-crisp-edges.json 7.9 KB

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