Ingen beskrivning

css-default-pseudo.json 6.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. {
  2. "title":":default CSS pseudo-class",
  3. "description":"The `:default` pseudo-class matches checkboxes and radio buttons which are checked by default, `<option>`s with the `selected` attribute, and the default submit button (if any) of a form.",
  4. "spec":"https://drafts.csswg.org/selectors-4/#the-default-pseudo",
  5. "status":"unoff",
  6. "links":[
  7. {
  8. "url":"https://html.spec.whatwg.org/multipage/scripting.html#selector-default",
  9. "title":"HTML specification for `:default`"
  10. },
  11. {
  12. "url":"https://developer.mozilla.org/en-US/docs/Web/CSS/:default",
  13. "title":"MDN Web Docs - CSS :default"
  14. },
  15. {
  16. "url":"https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/13311459--default-pseudo-class-from-selectors-level-4",
  17. "title":"MS Edge feature request on UserVoice"
  18. },
  19. {
  20. "url":"http://jsbin.com/hiyada/edit?html,css,output",
  21. "title":"JS Bin testcase"
  22. },
  23. {
  24. "url":"https://bugs.webkit.org/show_bug.cgi?id=156230",
  25. "title":"WebKit bug 156230 - `:default` CSS pseudo-class should match checkboxes+radios with a `checked` attribute"
  26. }
  27. ],
  28. "bugs":[
  29. ],
  30. "categories":[
  31. "CSS"
  32. ],
  33. "stats":{
  34. "ie":{
  35. "5.5":"n",
  36. "6":"n",
  37. "7":"n",
  38. "8":"n",
  39. "9":"n",
  40. "10":"n",
  41. "11":"n"
  42. },
  43. "edge":{
  44. "12":"n",
  45. "13":"n",
  46. "14":"n",
  47. "15":"n",
  48. "16":"n",
  49. "17":"n"
  50. },
  51. "firefox":{
  52. "2":"u",
  53. "3":"u",
  54. "3.5":"u",
  55. "3.6":"u",
  56. "4":"y",
  57. "5":"y",
  58. "6":"y",
  59. "7":"y",
  60. "8":"y",
  61. "9":"y",
  62. "10":"y",
  63. "11":"y",
  64. "12":"y",
  65. "13":"y",
  66. "14":"y",
  67. "15":"y",
  68. "16":"y",
  69. "17":"y",
  70. "18":"y",
  71. "19":"y",
  72. "20":"y",
  73. "21":"y",
  74. "22":"y",
  75. "23":"y",
  76. "24":"y",
  77. "25":"y",
  78. "26":"y",
  79. "27":"y",
  80. "28":"y",
  81. "29":"y",
  82. "30":"y",
  83. "31":"y",
  84. "32":"y",
  85. "33":"y",
  86. "34":"y",
  87. "35":"y",
  88. "36":"y",
  89. "37":"y",
  90. "38":"y",
  91. "39":"y",
  92. "40":"y",
  93. "41":"y",
  94. "42":"y",
  95. "43":"y",
  96. "44":"y",
  97. "45":"y",
  98. "46":"y",
  99. "47":"y",
  100. "48":"y",
  101. "49":"y",
  102. "50":"y",
  103. "51":"y",
  104. "52":"y",
  105. "53":"y",
  106. "54":"y",
  107. "55":"y",
  108. "56":"y",
  109. "57":"y",
  110. "58":"y",
  111. "59":"y",
  112. "60":"y",
  113. "61":"y"
  114. },
  115. "chrome":{
  116. "4":"u",
  117. "5":"u",
  118. "6":"u",
  119. "7":"u",
  120. "8":"u",
  121. "9":"u",
  122. "10":"u",
  123. "11":"u",
  124. "12":"u",
  125. "13":"u",
  126. "14":"u",
  127. "15":"a #1",
  128. "16":"a #1",
  129. "17":"a #1",
  130. "18":"a #1",
  131. "19":"a #1",
  132. "20":"a #1",
  133. "21":"a #1",
  134. "22":"a #1",
  135. "23":"a #1",
  136. "24":"a #1",
  137. "25":"a #1",
  138. "26":"a #1",
  139. "27":"a #1",
  140. "28":"a #1",
  141. "29":"a #1",
  142. "30":"a #1",
  143. "31":"a #1",
  144. "32":"a #1",
  145. "33":"a #1",
  146. "34":"a #1",
  147. "35":"a #1",
  148. "36":"a #1",
  149. "37":"a #1",
  150. "38":"a #1",
  151. "39":"a #1",
  152. "40":"a #1",
  153. "41":"a #1",
  154. "42":"a #1",
  155. "43":"a #1",
  156. "44":"a #1",
  157. "45":"a #1",
  158. "46":"a #1",
  159. "47":"a #1",
  160. "48":"a #1",
  161. "49":"a #1",
  162. "50":"a #1",
  163. "51":"y",
  164. "52":"y",
  165. "53":"y",
  166. "54":"y",
  167. "55":"y",
  168. "56":"y",
  169. "57":"y",
  170. "58":"y",
  171. "59":"y",
  172. "60":"y",
  173. "61":"y",
  174. "62":"y",
  175. "63":"y",
  176. "64":"y",
  177. "65":"y",
  178. "66":"y",
  179. "67":"y"
  180. },
  181. "safari":{
  182. "3.1":"u",
  183. "3.2":"u",
  184. "4":"u",
  185. "5":"u",
  186. "5.1":"a #1",
  187. "6":"a #1",
  188. "6.1":"a #1",
  189. "7":"a #1",
  190. "7.1":"a #1",
  191. "8":"a #1",
  192. "9":"a #1",
  193. "9.1":"a #1",
  194. "10":"a #1",
  195. "10.1":"y",
  196. "11":"y",
  197. "11.1":"y",
  198. "TP":"y"
  199. },
  200. "opera":{
  201. "9":"u",
  202. "9.5-9.6":"u",
  203. "10.0-10.1":"u",
  204. "10.5":"u",
  205. "10.6":"u",
  206. "11":"u",
  207. "11.1":"u",
  208. "11.5":"u",
  209. "11.6":"a #2",
  210. "12":"a #2",
  211. "12.1":"a #2",
  212. "15":"a #1",
  213. "16":"a #1",
  214. "17":"a #1",
  215. "18":"a #1",
  216. "19":"a #1",
  217. "20":"a #1",
  218. "21":"a #1",
  219. "22":"a #1",
  220. "23":"a #1",
  221. "24":"a #1",
  222. "25":"a #1",
  223. "26":"a #1",
  224. "27":"a #1",
  225. "28":"a #1",
  226. "29":"a #1",
  227. "30":"a #1",
  228. "31":"a #1",
  229. "32":"a #1",
  230. "33":"a #1",
  231. "34":"a #1",
  232. "35":"a #1",
  233. "36":"a #1",
  234. "37":"a #1",
  235. "38":"y",
  236. "39":"y",
  237. "40":"y",
  238. "41":"y",
  239. "42":"y",
  240. "43":"y",
  241. "44":"y",
  242. "45":"y",
  243. "46":"y",
  244. "47":"y",
  245. "48":"y",
  246. "49":"y",
  247. "50":"y",
  248. "51":"y",
  249. "52":"y"
  250. },
  251. "ios_saf":{
  252. "3.2":"u",
  253. "4.0-4.1":"u",
  254. "4.2-4.3":"u",
  255. "5.0-5.1":"u",
  256. "6.0-6.1":"u",
  257. "7.0-7.1":"a #1",
  258. "8":"a #1",
  259. "8.1-8.4":"a #1",
  260. "9.0-9.2":"a #1",
  261. "9.3":"a #1",
  262. "10.0-10.2":"a #1",
  263. "10.3":"y",
  264. "11.0-11.2":"y",
  265. "11.3":"y"
  266. },
  267. "op_mini":{
  268. "all":"a #2"
  269. },
  270. "android":{
  271. "2.1":"u",
  272. "2.2":"u",
  273. "2.3":"u",
  274. "3":"u",
  275. "4":"a #1",
  276. "4.1":"a #1",
  277. "4.2-4.3":"a #1",
  278. "4.4":"a #1",
  279. "4.4.3-4.4.4":"a #1",
  280. "62":"y"
  281. },
  282. "bb":{
  283. "7":"u",
  284. "10":"a #1"
  285. },
  286. "op_mob":{
  287. "10":"u",
  288. "11":"u",
  289. "11.1":"u",
  290. "11.5":"u",
  291. "12":"u",
  292. "12.1":"a #2",
  293. "37":"a #1"
  294. },
  295. "and_chr":{
  296. "64":"y"
  297. },
  298. "and_ff":{
  299. "57":"y"
  300. },
  301. "ie_mob":{
  302. "10":"n",
  303. "11":"n"
  304. },
  305. "and_uc":{
  306. "11.8":"a #1"
  307. },
  308. "samsung":{
  309. "4":"a #1",
  310. "5":"y",
  311. "6.2":"y"
  312. },
  313. "and_qq":{
  314. "1.2":"y"
  315. },
  316. "baidu":{
  317. "7.12":"n"
  318. }
  319. },
  320. "notes":"Whether `<option selected>` matches `:default` (per the spec) was not tested since `<select>`s and `<option>`s are generally not styleable, which makes it hard to formulate a test for this.",
  321. "notes_by_num":{
  322. "1":"Does not match `<input type=\"checkbox\" checked>` or `<input type=\"radio\" checked>`",
  323. "2":"Does not match the default submit button of a form"
  324. },
  325. "usage_perc_y":74.86,
  326. "usage_perc_a":17.75,
  327. "ucprefix":false,
  328. "parent":"",
  329. "keywords":":default,default",
  330. "ie_id":"",
  331. "chrome_id":"",
  332. "firefox_id":"",
  333. "webkit_id":"",
  334. "shown":true
  335. }