css-crisp-edges.json 12 KB

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