css-supports-api.json 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. {
  2. "title":"CSS.supports() API",
  3. "description":"The CSS.supports() static methods returns a Boolean value indicating if the browser supports a given CSS feature, or not.",
  4. "spec":"http://dev.w3.org/csswg/css-conditional/#the-css-interface",
  5. "status":"cr",
  6. "links":[
  7. {
  8. "url":"https://developer.mozilla.org/en-US/docs/Web/API/CSS.supports",
  9. "title":"MDN Docs"
  10. },
  11. {
  12. "url":"http://jsbin.com/rimevilotari/1/edit",
  13. "title":"Demo (Chinese)"
  14. },
  15. {
  16. "url":"https://dev.opera.com/articles/native-css-feature-detection/",
  17. "title":"Native CSS Feature Detection via the @supports Rule"
  18. },
  19. {
  20. "url":"http://davidwalsh.name/css-supports",
  21. "title":"CSS @supports"
  22. },
  23. {
  24. "url":"http://blog.csdn.net/hfahe/article/details/8619480",
  25. "title":"Article (Chinese)"
  26. }
  27. ],
  28. "bugs":[
  29. ],
  30. "categories":[
  31. "DOM",
  32. "JS API"
  33. ],
  34. "stats":{
  35. "ie":{
  36. "5.5":"n",
  37. "6":"n",
  38. "7":"n",
  39. "8":"n",
  40. "9":"n",
  41. "10":"n",
  42. "11":"n"
  43. },
  44. "edge":{
  45. "12":"y",
  46. "13":"y",
  47. "14":"y"
  48. },
  49. "firefox":{
  50. "2":"n",
  51. "3":"n",
  52. "3.5":"n",
  53. "3.6":"n",
  54. "4":"n",
  55. "5":"n",
  56. "6":"n",
  57. "7":"n",
  58. "8":"n",
  59. "9":"n",
  60. "10":"n",
  61. "11":"n",
  62. "12":"n",
  63. "13":"n",
  64. "14":"n",
  65. "15":"n",
  66. "16":"n",
  67. "17":"n",
  68. "18":"n",
  69. "19":"n",
  70. "20":"n d",
  71. "21":"n d",
  72. "22":"n d",
  73. "23":"y",
  74. "24":"y",
  75. "25":"y",
  76. "26":"y",
  77. "27":"y",
  78. "28":"y",
  79. "29":"y",
  80. "30":"y",
  81. "31":"y",
  82. "32":"y",
  83. "33":"y",
  84. "34":"y",
  85. "35":"y",
  86. "36":"y",
  87. "37":"y",
  88. "38":"y",
  89. "39":"y",
  90. "40":"y",
  91. "41":"y",
  92. "42":"y",
  93. "43":"y",
  94. "44":"y",
  95. "45":"y",
  96. "46":"y",
  97. "47":"y",
  98. "48":"y",
  99. "49":"y",
  100. "50":"y",
  101. "51":"y",
  102. "52":"y",
  103. "53":"y"
  104. },
  105. "chrome":{
  106. "4":"n",
  107. "5":"n",
  108. "6":"n",
  109. "7":"n",
  110. "8":"n",
  111. "9":"n",
  112. "10":"n",
  113. "11":"n",
  114. "12":"n",
  115. "13":"n",
  116. "14":"n",
  117. "15":"n",
  118. "16":"n",
  119. "17":"n",
  120. "18":"n",
  121. "19":"n",
  122. "20":"n",
  123. "21":"n",
  124. "22":"n",
  125. "23":"n",
  126. "24":"n",
  127. "25":"n",
  128. "26":"n",
  129. "27":"n",
  130. "28":"y",
  131. "29":"y",
  132. "30":"y",
  133. "31":"y",
  134. "32":"y",
  135. "33":"y",
  136. "34":"y",
  137. "35":"y",
  138. "36":"y",
  139. "37":"y",
  140. "38":"y",
  141. "39":"y",
  142. "40":"y",
  143. "41":"y",
  144. "42":"y",
  145. "43":"y",
  146. "44":"y",
  147. "45":"y",
  148. "46":"y",
  149. "47":"y",
  150. "48":"y",
  151. "49":"y",
  152. "50":"y",
  153. "51":"y",
  154. "52":"y",
  155. "53":"y",
  156. "54":"y",
  157. "55":"y",
  158. "56":"y",
  159. "57":"y"
  160. },
  161. "safari":{
  162. "3.1":"n",
  163. "3.2":"n",
  164. "4":"n",
  165. "5":"n",
  166. "5.1":"n",
  167. "6":"n",
  168. "6.1":"n",
  169. "7":"n",
  170. "7.1":"n",
  171. "8":"n",
  172. "9":"y",
  173. "9.1":"y",
  174. "10":"y",
  175. "TP":"y"
  176. },
  177. "opera":{
  178. "9":"n",
  179. "9.5-9.6":"n",
  180. "10.0-10.1":"n",
  181. "10.5":"n",
  182. "10.6":"n",
  183. "11":"n",
  184. "11.1":"n",
  185. "11.5":"n",
  186. "11.6":"n",
  187. "12":"n",
  188. "12.1":"a #1",
  189. "15":"y",
  190. "16":"y",
  191. "17":"y",
  192. "18":"y",
  193. "19":"y",
  194. "20":"y",
  195. "21":"y",
  196. "22":"y",
  197. "23":"y",
  198. "24":"y",
  199. "25":"y",
  200. "26":"y",
  201. "27":"y",
  202. "28":"y",
  203. "29":"y",
  204. "30":"y",
  205. "31":"y",
  206. "32":"y",
  207. "33":"y",
  208. "34":"y",
  209. "35":"y",
  210. "36":"y",
  211. "37":"y",
  212. "38":"y",
  213. "39":"y",
  214. "40":"y",
  215. "41":"y",
  216. "42":"y",
  217. "43":"y"
  218. },
  219. "ios_saf":{
  220. "3.2":"n",
  221. "4.0-4.1":"n",
  222. "4.2-4.3":"n",
  223. "5.0-5.1":"n",
  224. "6.0-6.1":"n",
  225. "7.0-7.1":"n",
  226. "8":"n",
  227. "8.1-8.4":"n",
  228. "9.0-9.2":"y",
  229. "9.3":"y",
  230. "10-10.1":"y"
  231. },
  232. "op_mini":{
  233. "all":"a #1"
  234. },
  235. "android":{
  236. "2.1":"n",
  237. "2.2":"n",
  238. "2.3":"n",
  239. "3":"n",
  240. "4":"n",
  241. "4.1":"n",
  242. "4.2-4.3":"n",
  243. "4.4":"y",
  244. "4.4.3-4.4.4":"y",
  245. "53":"y"
  246. },
  247. "bb":{
  248. "7":"n",
  249. "10":"n"
  250. },
  251. "op_mob":{
  252. "10":"n",
  253. "11":"n",
  254. "11.1":"n",
  255. "11.5":"n",
  256. "12":"n",
  257. "12.1":"a #1",
  258. "37":"y"
  259. },
  260. "and_chr":{
  261. "54":"y"
  262. },
  263. "and_ff":{
  264. "50":"y"
  265. },
  266. "ie_mob":{
  267. "10":"n",
  268. "11":"n"
  269. },
  270. "and_uc":{
  271. "11":"n"
  272. },
  273. "samsung":{
  274. "4":"y"
  275. }
  276. },
  277. "notes":"See also [@supports in CSS](#feat=css-featurequeries)",
  278. "notes_by_num":{
  279. "1":"Partial support in Presto-based Opera browsers refers to using an older API (`window.supportsCSS`)"
  280. },
  281. "usage_perc_y":77.5,
  282. "usage_perc_a":4.26,
  283. "ucprefix":false,
  284. "parent":"",
  285. "keywords":"conditional",
  286. "ie_id":"conditionalrules",
  287. "chrome_id":"4993981813358592",
  288. "firefox_id":"",
  289. "webkit_id":"",
  290. "shown":true
  291. }