css-crisp-edges.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564
  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://w3c.github.io/csswg-drafts/css-images-3/#valdef-image-rendering-crisp-edges",
  5. "status":"cr",
  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":"https://developer.chrome.com/blog/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. "description":"Safari [had a bug](https://bugs.webkit.org/show_bug.cgi?id=193895) where `image-rendering: pixelated` is not supported for WebGL contexts."
  30. }
  31. ],
  32. "categories":[
  33. "CSS",
  34. "CSS3"
  35. ],
  36. "stats":{
  37. "ie":{
  38. "5.5":"n",
  39. "6":"n",
  40. "7":"a x #2 #5",
  41. "8":"a x #2 #5",
  42. "9":"a x #2 #5",
  43. "10":"a x #2 #5",
  44. "11":"a x #2 #5"
  45. },
  46. "edge":{
  47. "12":"n",
  48. "13":"n",
  49. "14":"n",
  50. "15":"n",
  51. "16":"n",
  52. "17":"n",
  53. "18":"n",
  54. "79":"y #4",
  55. "80":"y #4",
  56. "81":"y #4",
  57. "83":"y #4",
  58. "84":"y #4",
  59. "85":"y #4",
  60. "86":"y #4",
  61. "87":"y #4",
  62. "88":"y #4",
  63. "89":"y #4",
  64. "90":"y #4",
  65. "91":"y #4",
  66. "92":"y #4",
  67. "93":"y #4",
  68. "94":"y #4",
  69. "95":"y #4",
  70. "96":"y #4",
  71. "97":"y #4",
  72. "98":"y #4",
  73. "99":"y #4",
  74. "100":"y #4",
  75. "101":"y #4",
  76. "102":"y #4",
  77. "103":"y #4",
  78. "104":"y #4",
  79. "105":"y #4",
  80. "106":"y #4",
  81. "107":"y #4",
  82. "108":"y #4",
  83. "109":"y #4",
  84. "110":"y #4"
  85. },
  86. "firefox":{
  87. "2":"n",
  88. "3":"n",
  89. "3.5":"n",
  90. "3.6":"y x #3",
  91. "4":"y x #3",
  92. "5":"y x #3",
  93. "6":"y x #3",
  94. "7":"y x #3",
  95. "8":"y x #3",
  96. "9":"y x #3",
  97. "10":"y x #3",
  98. "11":"y x #3",
  99. "12":"y x #3",
  100. "13":"y x #3",
  101. "14":"y x #3",
  102. "15":"y x #3",
  103. "16":"y x #3",
  104. "17":"y x #3",
  105. "18":"y x #3",
  106. "19":"y x #3",
  107. "20":"y x #3",
  108. "21":"y x #3",
  109. "22":"y x #3",
  110. "23":"y x #3",
  111. "24":"y x #3",
  112. "25":"y x #3",
  113. "26":"y x #3",
  114. "27":"y x #3",
  115. "28":"y x #3",
  116. "29":"y x #3",
  117. "30":"y x #3",
  118. "31":"y x #3",
  119. "32":"y x #3",
  120. "33":"y x #3",
  121. "34":"y x #3",
  122. "35":"y x #3",
  123. "36":"y x #3",
  124. "37":"y x #3",
  125. "38":"y x #3",
  126. "39":"y x #3",
  127. "40":"y x #3",
  128. "41":"y x #3",
  129. "42":"y x #3",
  130. "43":"y x #3",
  131. "44":"y x #3",
  132. "45":"y x #3",
  133. "46":"y x #3",
  134. "47":"y x #3",
  135. "48":"y x #3",
  136. "49":"y x #3",
  137. "50":"y x #3",
  138. "51":"y x #3",
  139. "52":"y x #3",
  140. "53":"y x #3",
  141. "54":"y x #3",
  142. "55":"y x #3",
  143. "56":"y x #3",
  144. "57":"y x #3",
  145. "58":"y x #3",
  146. "59":"y x #3",
  147. "60":"y x #3",
  148. "61":"y x #3",
  149. "62":"y x #3",
  150. "63":"y x #3",
  151. "64":"y x #3",
  152. "65":"y #3",
  153. "66":"y #3",
  154. "67":"y #3",
  155. "68":"y #3",
  156. "69":"y #3",
  157. "70":"y #3",
  158. "71":"y #3",
  159. "72":"y #3",
  160. "73":"y #3",
  161. "74":"y #3",
  162. "75":"y #3",
  163. "76":"y #3",
  164. "77":"y #3",
  165. "78":"y #3",
  166. "79":"y #3",
  167. "80":"y #3",
  168. "81":"y #3",
  169. "82":"y #3",
  170. "83":"y #3",
  171. "84":"y #3",
  172. "85":"y #3",
  173. "86":"y #3",
  174. "87":"y #3",
  175. "88":"y #3",
  176. "89":"y #3",
  177. "90":"y #3",
  178. "91":"y #3",
  179. "92":"y #3",
  180. "93":"y",
  181. "94":"y",
  182. "95":"y",
  183. "96":"y",
  184. "97":"y",
  185. "98":"y",
  186. "99":"y",
  187. "100":"y",
  188. "101":"y",
  189. "102":"y",
  190. "103":"y",
  191. "104":"y",
  192. "105":"y",
  193. "106":"y",
  194. "107":"y",
  195. "108":"y",
  196. "109":"y",
  197. "110":"y",
  198. "111":"y",
  199. "112":"y"
  200. },
  201. "chrome":{
  202. "4":"n",
  203. "5":"n",
  204. "6":"n",
  205. "7":"n",
  206. "8":"n",
  207. "9":"n",
  208. "10":"n",
  209. "11":"n",
  210. "12":"n",
  211. "13":"n",
  212. "14":"n",
  213. "15":"n",
  214. "16":"n",
  215. "17":"n",
  216. "18":"n",
  217. "19":"n",
  218. "20":"n",
  219. "21":"n",
  220. "22":"n",
  221. "23":"n",
  222. "24":"n",
  223. "25":"n",
  224. "26":"n",
  225. "27":"n",
  226. "28":"n",
  227. "29":"n",
  228. "30":"n",
  229. "31":"n",
  230. "32":"n",
  231. "33":"n",
  232. "34":"n",
  233. "35":"n",
  234. "36":"n",
  235. "37":"n",
  236. "38":"n",
  237. "39":"n",
  238. "40":"n",
  239. "41":"y #4",
  240. "42":"y #4",
  241. "43":"y #4",
  242. "44":"y #4",
  243. "45":"y #4",
  244. "46":"y #4",
  245. "47":"y #4",
  246. "48":"y #4",
  247. "49":"y #4",
  248. "50":"y #4",
  249. "51":"y #4",
  250. "52":"y #4",
  251. "53":"y #4",
  252. "54":"y #4",
  253. "55":"y #4",
  254. "56":"y #4",
  255. "57":"y #4",
  256. "58":"y #4",
  257. "59":"y #4",
  258. "60":"y #4",
  259. "61":"y #4",
  260. "62":"y #4",
  261. "63":"y #4",
  262. "64":"y #4",
  263. "65":"y #4",
  264. "66":"y #4",
  265. "67":"y #4",
  266. "68":"y #4",
  267. "69":"y #4",
  268. "70":"y #4",
  269. "71":"y #4",
  270. "72":"y #4",
  271. "73":"y #4",
  272. "74":"y #4",
  273. "75":"y #4",
  274. "76":"y #4",
  275. "77":"y #4",
  276. "78":"y #4",
  277. "79":"y #4",
  278. "80":"y #4",
  279. "81":"y #4",
  280. "83":"y #4",
  281. "84":"y #4",
  282. "85":"y #4",
  283. "86":"y #4",
  284. "87":"y #4",
  285. "88":"y #4",
  286. "89":"y #4",
  287. "90":"y #4",
  288. "91":"y #4",
  289. "92":"y #4",
  290. "93":"y #4",
  291. "94":"y #4",
  292. "95":"y #4",
  293. "96":"y #4",
  294. "97":"y #4",
  295. "98":"y #4",
  296. "99":"y #4",
  297. "100":"y #4",
  298. "101":"y #4",
  299. "102":"y #4",
  300. "103":"y #4",
  301. "104":"y #4",
  302. "105":"y #4",
  303. "106":"y #4",
  304. "107":"y #4",
  305. "108":"y #4",
  306. "109":"y #4",
  307. "110":"y #4",
  308. "111":"y #4",
  309. "112":"y #4",
  310. "113":"y #4"
  311. },
  312. "safari":{
  313. "3.1":"n",
  314. "3.2":"n",
  315. "4":"n",
  316. "5":"n",
  317. "5.1":"n",
  318. "6":"a x #1",
  319. "6.1":"a x #3 #6",
  320. "7":"a x #3 #6",
  321. "7.1":"a x #3 #6",
  322. "8":"a x #3 #6",
  323. "9":"a x #3 #6",
  324. "9.1":"a x #3 #6",
  325. "10":"y",
  326. "10.1":"y",
  327. "11":"y",
  328. "11.1":"y",
  329. "12":"y",
  330. "12.1":"y",
  331. "13":"y",
  332. "13.1":"y",
  333. "14":"y",
  334. "14.1":"y",
  335. "15":"y",
  336. "15.1":"y",
  337. "15.2-15.3":"y",
  338. "15.4":"y",
  339. "15.5":"y",
  340. "15.6":"y",
  341. "16.0":"y",
  342. "16.1":"y",
  343. "16.2":"y",
  344. "16.3":"y",
  345. "16.4":"y",
  346. "TP":"y"
  347. },
  348. "opera":{
  349. "9":"n",
  350. "9.5-9.6":"n",
  351. "10.0-10.1":"n",
  352. "10.5":"n",
  353. "10.6":"n",
  354. "11":"n",
  355. "11.1":"n",
  356. "11.5":"n",
  357. "11.6":"y x #3",
  358. "12":"y x #3",
  359. "12.1":"y x #3",
  360. "15":"n",
  361. "16":"n",
  362. "17":"n",
  363. "18":"n",
  364. "19":"n",
  365. "20":"n",
  366. "21":"n",
  367. "22":"n",
  368. "23":"n",
  369. "24":"n",
  370. "25":"n",
  371. "26":"n",
  372. "27":"n",
  373. "28":"y #4",
  374. "29":"y #4",
  375. "30":"y #4",
  376. "31":"y #4",
  377. "32":"y #4",
  378. "33":"y #4",
  379. "34":"y #4",
  380. "35":"y #4",
  381. "36":"y #4",
  382. "37":"y #4",
  383. "38":"y #4",
  384. "39":"y #4",
  385. "40":"y #4",
  386. "41":"y #4",
  387. "42":"y #4",
  388. "43":"y #4",
  389. "44":"y #4",
  390. "45":"y #4",
  391. "46":"y #4",
  392. "47":"y #4",
  393. "48":"y #4",
  394. "49":"y #4",
  395. "50":"y #4",
  396. "51":"y #4",
  397. "52":"y #4",
  398. "53":"y #4",
  399. "54":"y #4",
  400. "55":"y #4",
  401. "56":"y #4",
  402. "57":"y #4",
  403. "58":"y #4",
  404. "60":"y #4",
  405. "62":"y #4",
  406. "63":"y #4",
  407. "64":"y #4",
  408. "65":"y #4",
  409. "66":"y #4",
  410. "67":"y #4",
  411. "68":"y #4",
  412. "69":"y #4",
  413. "70":"y #4",
  414. "71":"y #4",
  415. "72":"y #4",
  416. "73":"y #4",
  417. "74":"y #4",
  418. "75":"y #4",
  419. "76":"y #4",
  420. "77":"y #4",
  421. "78":"y #4",
  422. "79":"y #4",
  423. "80":"y #4",
  424. "81":"y #4",
  425. "82":"y #4",
  426. "83":"y #4",
  427. "84":"y #4",
  428. "85":"y #4",
  429. "86":"y #4",
  430. "87":"y #4",
  431. "88":"y #4",
  432. "89":"y #4",
  433. "90":"y #4",
  434. "91":"y #4",
  435. "92":"y #4",
  436. "93":"y #4",
  437. "94":"y #4",
  438. "95":"y #4"
  439. },
  440. "ios_saf":{
  441. "3.2":"n",
  442. "4.0-4.1":"n",
  443. "4.2-4.3":"n",
  444. "5.0-5.1":"a x #1 #6",
  445. "6.0-6.1":"a x #1 #6",
  446. "7.0-7.1":"a x #3 #6",
  447. "8":"a x #3 #6",
  448. "8.1-8.4":"a x #3 #6",
  449. "9.0-9.2":"a x #3 #6",
  450. "9.3":"a x #3 #6",
  451. "10.0-10.2":"y",
  452. "10.3":"y",
  453. "11.0-11.2":"y",
  454. "11.3-11.4":"y",
  455. "12.0-12.1":"y",
  456. "12.2-12.5":"y",
  457. "13.0-13.1":"y",
  458. "13.2":"y",
  459. "13.3":"y",
  460. "13.4-13.7":"y",
  461. "14.0-14.4":"y",
  462. "14.5-14.8":"y",
  463. "15.0-15.1":"y",
  464. "15.2-15.3":"y",
  465. "15.4":"y",
  466. "15.5":"y",
  467. "15.6":"y",
  468. "16.0":"y",
  469. "16.1":"y",
  470. "16.2":"y",
  471. "16.3":"y",
  472. "16.4":"y"
  473. },
  474. "op_mini":{
  475. "all":"n"
  476. },
  477. "android":{
  478. "2.1":"n",
  479. "2.2":"n",
  480. "2.3":"n",
  481. "3":"n",
  482. "4":"n",
  483. "4.1":"n",
  484. "4.2-4.3":"n",
  485. "4.4":"n",
  486. "4.4.3-4.4.4":"n",
  487. "109":"y #4"
  488. },
  489. "bb":{
  490. "7":"n",
  491. "10":"a x #1 #6"
  492. },
  493. "op_mob":{
  494. "10":"n",
  495. "11":"n",
  496. "11.1":"n",
  497. "11.5":"n",
  498. "12":"y x #3",
  499. "12.1":"y x #3",
  500. "73":"y #4"
  501. },
  502. "and_chr":{
  503. "110":"y #4"
  504. },
  505. "and_ff":{
  506. "110":"y"
  507. },
  508. "ie_mob":{
  509. "10":"a x #2 #5",
  510. "11":"a x #2 #5"
  511. },
  512. "and_uc":{
  513. "13.4":"y #4"
  514. },
  515. "samsung":{
  516. "4":"y #4",
  517. "5.0-5.4":"y #4",
  518. "6.2-6.4":"y #4",
  519. "7.2-7.4":"y #4",
  520. "8.2":"y #4",
  521. "9.2":"y #4",
  522. "10.1":"y #4",
  523. "11.1-11.2":"y #4",
  524. "12.0":"y #4",
  525. "13.0":"y #4",
  526. "14.0":"y #4",
  527. "15.0":"y #4",
  528. "16.0":"y #4",
  529. "17.0":"y #4",
  530. "18.0":"y #4",
  531. "19.0":"y #4",
  532. "20":"y #4"
  533. },
  534. "and_qq":{
  535. "13.1":"y #4"
  536. },
  537. "baidu":{
  538. "13.18":"y #4"
  539. },
  540. "kaios":{
  541. "2.5":"y #6",
  542. "3.0-3.1":"y"
  543. }
  544. },
  545. "notes":"Note that prefixes apply to the value (e.g. `-moz-crisp-edges`), not the `image-rendering` property.",
  546. "notes_by_num":{
  547. "1":"Supported using the non-standard value `-webkit-optimize-contrast`",
  548. "2":"Internet Explorer accomplishes support using the non-standard declaration `-ms-interpolation-mode: nearest-neighbor`",
  549. "3":"Supports the `crisp-edges` value, but not `pixelated`.",
  550. "4":"Supports the `pixelated` value, but not `crisp-edges`.",
  551. "5":"Only works on `<img>`, not CSS backgrounds or `<canvas>`.",
  552. "6":"Only works on `<img>` and CSS backgrounds, _not_ `<canvas>`. "
  553. },
  554. "usage_perc_y":96.52,
  555. "usage_perc_a":0.83,
  556. "ucprefix":false,
  557. "parent":"",
  558. "keywords":"image-rendering,crisp-edges",
  559. "ie_id":"imagerendering",
  560. "chrome_id":"5118058116939776",
  561. "firefox_id":"",
  562. "webkit_id":"",
  563. "shown":true
  564. }